emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: Latex newline string "\\" in subtree export properties [9.3.3 (


From: Nicolas Goaziou
Subject: Re: Bug: Latex newline string "\\" in subtree export properties [9.3.3 (release_9.3.3-405-g817c0c @ /home/flare/.emacs.d/lisp/org-mode/lisp/)]
Date: Sat, 16 May 2020 19:01:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

Flareriderdash <address@hidden> writes:

> When exporting to latex from within an org subtree with properties like
> EXPORT_AUTHOR set in a way to extend latex title capabilities
> (i.e. adding instructor and institutional affiliation, ref
> [[https://en.wikibooks.org/wiki/LaTeX/Title_Creation]]) the "\\" string
> within the org property gets escaped to "$\backslash$\" during
> export. Latex then doesn't treat this as a newline, deviating from
> expected behaviour
>
> This is the org property that is used during latex export
>
> #+BEGIN_EXAMPLE
>
> :EXPORT_AUTHOR: Gabriel S. X. Smith\\ CMST220\\ Professor Voso
>
> #+END_EXAMPLE
>
>
> This is the expected org to latex conversion
>
> #+BEGIN_EXAMPLE
>
> \author{Gabriel S. X. Smith\\ CMST220\\ Professor Voso}
>
> #+END_EXAMPLE

No, this is not the expected conversion. AUTHOR, like TITLE, expects Org
syntax, not LaTeX.

You could write, e.g.,

  :EXPORT_AUTHOR: Gabriel S. X. Smith@@latex:\\@@ CMST220@@latex:\\@@ Professor 
Voso

Regards,

-- 
Nicolas Goaziou



reply via email to

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