emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* escaping of #+TEXT lines: \vspace vs \vspace*
@ 2011-03-23  4:07 Eric Abrahamsen
  2011-03-23  9:00 ` Eric S Fraga
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2011-03-23  4:07 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

In a certain org file I put this line into the export options:

#+begin_src org-mode
#+TEXT: \vspace*{0.5in}
#+end_src

The starred version is necessary, obviously, since this comes before any
text, and LaTeX will ignore a plain old \vspace{} in those cases.

This currently gets escaped as \vspace*\{0.5in\}, which keeps it from
working. I noticed that regular \vspace{} is not escaped, so I went
looking in org-latex.el, but can't begin to figure out which regexp in
which function is protecting the unstarred version, but not the starred
version.

Is this fixable?

Thanks!
Eric

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

end of thread, other threads:[~2011-03-23 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23  4:07 escaping of #+TEXT lines: \vspace vs \vspace* Eric Abrahamsen
2011-03-23  9:00 ` Eric S Fraga
2011-03-23 10:28   ` [PATCH] Protect starred commands in LaTeX export correctly Lawrence Mitchell
2011-03-23 11:28     ` Eric Abrahamsen
2011-03-23 14:05     ` [Accepted] " Bastien Guerry
2011-03-23 14:11     ` [PATCH] " Eric S Fraga
2011-03-23 14:16     ` Bastien

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