From: Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to export to latex with $ constructs rcsinfo
Date: Thu, 26 Jan 2023 19:35:49 +0800 [thread overview]
Message-ID: <sdvcz71ed5g.fsf@fw.net.yu> (raw)
In-Reply-To: <87mt658rrp.fsf@mat.ucm.es>
Uwe Brauer <oub@mat.ucm.es> writes:
> 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
Hello,
IIUC, #+latex_header{,_extra} only handles the single line it is on.
Therefore, you will have to prefix "#+latex_header_extra:" for each line
you want to have in LaTeX verbatim.
Best,
RY
next prev parent reply other threads:[~2023-01-26 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 11:22 how to export to latex with $ constructs rcsinfo Uwe Brauer
2023-01-26 11:35 ` Ruijie Yu via General discussions about Org-mode. [this message]
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=sdvcz71ed5g.fsf@fw.net.yu \
--to=emacs-orgmode@gnu.org \
--cc=oub@mat.ucm.es \
--cc=ruijie@netyu.xyz \
/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).