Eric S Fraga <e.fr...@ucl.ac.uk> writes:

> Luke Crook <l...@balooga.com> writes:
>
>> I tried creating a custom class and then tried creating a custom style.  But 
>> I found the easiest to be the following;
>>
>>
>> #+AUTHOR: <author>
>> #+LATEX_HEADER: \newcommand{\orgauthor}{<author>}
>
> [...]
>
>> Works very well, apart from the duplication of author, email, date etc.
>
> You could always use the new command in the org directive, assuming you
> only use LaTeX export:
>
> #+LATEX_HEADER: \newcommand{\orgauthor}{<author>}
> #+AUTHOR: \orgauthor
>
> This would avoid duplication.

I've used this snip to recover such fields

\makeatletter
\let\Title\@title
\let\Author\@author
\let\Date\@date
\makeatother


Obviously, this is only good for LaTeX. 

-- 
There are known knowns; there are things we know that we know


Reply via email to