emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: kazuo fujimoto <fujimoto@sakushin-u.ac.jp>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f]
Date: Wed, 6 Jan 2010 09:55:58 +0100	[thread overview]
Message-ID: <433A0F65-83C4-4881-945F-46A9BC3E660B@gmail.com> (raw)
In-Reply-To: <b8f0f8911001042040h7a3f1756kfb743b12f9e1eb60@mail.gmail.com>


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

      reply	other threads:[~2010-01-06  9:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05  4:40 Bug: #+BEGIN_COMMENT turn to \begin{verbatim} [6.33f] kazuo fujimoto
2010-01-06  8:55 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=433A0F65-83C4-4881-945F-46A9BC3E660B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fujimoto@sakushin-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).