[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Section between #+latex: declarations not converted during expor
From: |
Nick Dokos |
Subject: |
Re: [O] Section between #+latex: declarations not converted during export |
Date: |
Sun, 13 Mar 2011 15:59:57 -0400 |
Matt Lundin <address@hidden> wrote:
> In the following example...
>
> * Testing
> #+latex: \custommacro{%
> [[http:www.google.com][Google]]
> /The quick brown fox./
> #+latex: }
>
> ...the lines between the latex declarations are not exported:
>
> \section{Testing}
> \label{sec-1}
>
> \custommacro{%
> [[http:www.google.com][Google]]
> /The quick brown fox./
> }
>
> I would expect this behavior with "#+begin_latex:...#+end_latex", but
> not with "#+latex".
>
The opening brace in the `#+ latex:' line confuses something.
My usual workaround is to fake a closing brace in the comment:
--8<---------------cut here---------------start------------->8---
* Testing
#+latex: \custommacro{% fake it out }
[[http:www.google.com][Google]]
/The quick brown fox./
#+latex: }
--8<---------------cut here---------------end--------------->8---
which produces
--8<---------------cut here---------------start------------->8---
\section{Testing}
\label{sec-1}
\custommacro{% fake it out }
\href{http:www.google.com}{Google}
\emph{The quick brown fox.}
}
--8<---------------cut here---------------end--------------->8---
Nick