emacs-orgmode
[Top][All Lists]
Advanced

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

how to export to latex with $ constructs rcsinfo


From: Uwe Brauer
Subject: how to export to latex with $ constructs rcsinfo
Date: Thu, 26 Jan 2023 12:22:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)


Hi

I have the following org file example

#+LATEX_HEADER_EXTRA: \usepackage[scrpage2]{rcsinfo}
\makeatletter
\def\@rcsInfoFancyInfo{{\footnotesize%
\emph{\fcolorbox{black}{yellow}{Rev: \rcsInfoRevision,}
\rcsInfoOwner,
\rcsInfoLongDate,
\rcsInfoTime}}}
\makeatother
\rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $ 


Some text


And I would like to export that to LaTeX but I need 
the string 
$Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp 

Unchanged, but I always obtain 

\$Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $ 

Putting it in a src block does not help since I obtain than the verbatim
environment.

Any idea what to do?

Thanks

Uwe Brauer 

-- 
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/




reply via email to

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