emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Error when exporting to LaTeX
@ 2010-01-13 22:54 Sébastien Vauban
  2010-01-14 11:15 ` Sébastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-01-13 22:54 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi all,

Here a problem when exporting such a file:

--8<---------------cut here---------------start------------->8---
#+MACRO: sp1 \rule{0.52cm}{0.7pt}
#+MACRO: rest {\leavevmode \leaders \hrule height 0.7pt\hfill} \\

\clearpage{}

Nombre de la escuela de idiomas: {{{rest}}}
Nombre y apellidos del estudiante: {{{rest}}}
Nombre y apellidos del profesor o de la profesora: {{{rest}}}
Día(s) de la semana que tiene clase y de qué hora a qué hora:
--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---
\clearpage{}

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\} \\
Nombre y apellidos del profesor o de la profesora: {\leavevmode \leaders \hrule height 0.7pt\hfill\} \\
Día(s) de la semana que tiene clase y de qué hora a qué hora:
--8<---------------cut here---------------end--------------->8---

Notice the backslash in front of the final accolade.

Any help?

Best regards,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-20 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-13 22:54 Error when exporting to LaTeX Sébastien Vauban
2010-01-14 11:15 ` Sébastien Vauban
2010-01-15  7:04   ` Carsten Dominik
2010-01-18 12:43     ` Sébastien Vauban
2010-01-20 13:37       ` Sébastien Vauban
2010-03-20 14:59       ` Carsten Dominik

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).