emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: how to export to latex with $ constructs rcsinfo
Date: Thu, 26 Jan 2023 12:22:18 +0100	[thread overview]
Message-ID: <87mt658rrp.fsf@mat.ucm.es> (raw)



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	other threads:[~2023-01-26 11:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26 11:22 Uwe Brauer [this message]
2023-01-26 11:35 ` how to export to latex with $ constructs rcsinfo Ruijie Yu via General discussions about Org-mode.
2023-01-26 11:59   ` Uwe Brauer
2023-01-26 12:06     ` Ihor Radchenko
2023-01-26 12:51       ` [SOLVED] (was: how to export to latex with $ constructs rcsinfo) Uwe Brauer
2023-01-26 12:08 ` how to export to latex with $ constructs rcsinfo Fraga, Eric
2023-01-26 12:50   ` Uwe Brauer

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=87mt658rrp.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.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).