emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Error when exporting to LaTeX
Date: Thu, 14 Jan 2010 12:15:05 +0100	[thread overview]
Message-ID: <87zl4hj5ty.fsf@mundaneum.com> (raw)
In-Reply-To: 876375d3aj.fsf@mundaneum.com

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



_______________________________________________
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

  reply	other threads:[~2010-01-14 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 22:54 Error when exporting to LaTeX Sébastien Vauban
2010-01-14 11:15 ` Sébastien Vauban [this message]
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

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=87zl4hj5ty.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /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).