emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Error when exporting to LaTeX


From: Sébastien Vauban
Subject: [Orgmode] Re: Error when exporting to LaTeX
Date: Thu, 14 Jan 2010 12:15:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi all,

Sébastien Vauban wrote:
>
> Here a problem when exporting such a file:
>
--8<---------------cut here---------------start------------->8---
#+MACRO: rest {\leavevmode \leaders \hrule height 0.7pt\hfill} \\

Nombre de la escuela de idiomas: {{{rest}}}
Nombre y apellidos del estudiante: {{{rest}}}
--8<---------------cut here---------------end--------------->8---
>
> The `rest' macro is for filling the rest of the current line with an
> horizontal rule.
>
> It needs to be enclosed between accolades.
>
> Though, it wrongly gets translated into:
>
--8<---------------cut here---------------start------------->8---
Nombre de la escuela de idiomas: {\leavevmode \leaders \hrule height 
0.7pt\hfill\} \\
Nombre y apellidos del estudiante: {\leavevmode \leaders \hrule height 
0.7pt\hfill\} \\
--8<---------------cut here---------------end--------------->8---
>
> Notice the backslash in front of the final accolade.

I tried a workaround, using replacement constructions for the accolades:
- \bgroup ... \egroup
- \begingroup ... \endgroup

Though they are correctly translated, they don't provide the required result:
the horizontal filling rules just don't show up!

Any idea how to circumvent this?

Best regards,
  Seb

-- 
Sébastien Vauban





reply via email to

[Prev in Thread] Current Thread [Next in Thread]