[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Re: Section between #+latex: declarations not converted during expor
From: |
Matt Lundin |
Subject: |
[O] Re: Section between #+latex: declarations not converted during export |
Date: |
Mon, 14 Mar 2011 08:56:26 -0400 |
User-agent: |
Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> 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:
>>
> The opening brace in the `#+ latex:' line confuses something.
> My usual workaround is to fake a closing brace in the comment:
>
> * Testing
> #+latex: \custommacro{% fake it out }
> [[http:www.google.com][Google]]
> /The quick brown fox./
> #+latex: }
>
>
> which produces
>
> \section{Testing}
> \label{sec-1}
>
> \custommacro{% fake it out }
> \href{http:www.google.com}{Google}
> \emph{The quick brown fox.}
> }
Thanks for the tip! It's simple enough to add an extra parenthesis
there.
Best,
Matt