From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f] Date: Wed, 6 Jan 2010 09:55:58 +0100 Message-ID: <433A0F65-83C4-4881-945F-46A9BC3E660B@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-2022-JP; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSSP6-0001di-63 for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 04:42:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSSP1-0001dC-Da for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 04:42:11 -0500 Received: from [199.232.76.173] (port=40537 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSSP1-0001d9-78 for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 04:42:07 -0500 Received: from ey-out-1920.google.com ([74.125.78.148]:41783) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSSP0-00051P-Pr for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 04:42:06 -0500 Received: by ey-out-1920.google.com with SMTP id 4so2403168eyg.34 for ; Wed, 06 Jan 2010 01:42:05 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: kazuo fujimoto Cc: emacs-orgmode@gnu.org 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 . > Package: Org-mode version 6.33f > > > -------------------------------------------------------- > kazuo fujimoto > 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