emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f]
@ 2010-01-05  4:40 kazuo fujimoto
  2010-01-06  8:55 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: kazuo fujimoto @ 2010-01-05  4:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi, there,

I tried to commnet out following figure environment as follow.

#+BEGIN_COMMNET
#BEGIN_LaTeX
\begin{figure}
\begin{center}
 \includegraphics[scale=0.7]{./Figs/fig-ut-MOJI.eps}
 \caption{Dips town name}
 \label{MOJI-disp}
 \end{center}
\end{figure}
#END_LaTeX
#+end_COMMNET

But results of Export to LaTeX  was verbatim the figure environment as
following:

\begin{verbatim}
#BEGIN_LaTeX
\begin{figure}
\begin{center}
 \includegraphics[scale=0.7]{./Figs/fig-ut-MOJI.eps}
 \caption{Disp town name)を表示させる}
 \label{MOJI-disp}
 \end{center}
\end{figure}
#END_LaTeX
\end{verbatim}

Thank you for your advice.

kazuo

Emacs  : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-12-14 on BREPNB
modified by Zhang Wei <id.brep@gmail.com>.
Package: Org-mode version 6.33f


--------------------------------------------------------
kazuo fujimoto <fujimoto at sakushin-u.ac.jp>
Sakushin Gakuin University, Faculty of Human & Culture
http://www.sakushin-u.ac.jp/~fujimoto
PGP:D664 D542 D578 5B39  BB2E 50AA 6FEC 2FE7
--------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f]
  2010-01-05  4:40 Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f] kazuo fujimoto
@ 2010-01-06  8:55 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-01-06  8:55 UTC (permalink / raw)
  To: kazuo fujimoto; +Cc: emacs-orgmode


On Jan 5, 2010, at 5:40 AM, kazuo fujimoto wrote:

> Hi, there,
>
> I tried to commnet out following figure environment as follow.
>
> #+BEGIN_COMMNET
> #BEGIN_LaTeX
> \begin{figure}
> \begin{center}
> \includegraphics[scale=0.7]{./Figs/fig-ut-MOJI.eps}
> \caption{Dips town name}
> \label{MOJI-disp}
> \end{center}
> \end{figure}
> #END_LaTeX
> #+end_COMMNET

First of all, the keyword is COMMENT, not COMMNET.

Second, there was a bug in the code which could make the comment  
processing
fail if you are not using upper case like END_COMMENT.  I have fixed  
this issue.

Third, this is missing in the docs:  COMMENT blocks are currently  
processed by
org-exp-blocks.el, which turns it into EXAMPLES, and this is really  
what you
might be seeing here, not sure.  If you prefer comments to work as  
advertised
in the documentation, customize the variable `org-export-blocks' and  
remove the
entry about comments.

- Carsten

>
> But results of Export to LaTeX  was verbatim the figure environment as
> following:
>
> \begin{verbatim}
> #BEGIN_LaTeX
> \begin{figure}
> \begin{center}
> \includegraphics[scale=0.7]{./Figs/fig-ut-MOJI.eps}
> \caption{Disp town name)を表示させる}
> \label{MOJI-disp}
> \end{center}
> \end{figure}
> #END_LaTeX
> \end{verbatim}
>
> Thank you for your advice.
>
> kazuo
>
> Emacs  : GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
> of 2008-12-14 on BREPNB
> modified by Zhang Wei <id.brep@gmail.com>.
> Package: Org-mode version 6.33f
>
>
> --------------------------------------------------------
> kazuo fujimoto <fujimoto at sakushin-u.ac.jp>
> Sakushin Gakuin University, Faculty of Human & Culture
> http://www.sakushin-u.ac.jp/~fujimoto
> PGP:D664 D542 D578 5B39  BB2E 50AA 6FEC 2FE7
> --------------------------------------------------------
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-06  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05  4:40 Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f] kazuo fujimoto
2010-01-06  8:55 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).