* how to export to latex with $ constructs rcsinfo
@ 2023-01-26 11:22 Uwe Brauer
2023-01-26 11:35 ` Ruijie Yu via General discussions about Org-mode.
2023-01-26 12:08 ` how to export to latex with $ constructs rcsinfo Fraga, Eric
0 siblings, 2 replies; 7+ messages in thread
From: Uwe Brauer @ 2023-01-26 11:22 UTC (permalink / raw)
To: emacs-orgmode
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to export to latex with $ constructs rcsinfo
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.
2023-01-26 11:59 ` Uwe Brauer
2023-01-26 12:08 ` how to export to latex with $ constructs rcsinfo Fraga, Eric
1 sibling, 1 reply; 7+ messages in thread
From: Ruijie Yu via General discussions about Org-mode. @ 2023-01-26 11:35 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to export to latex with $ constructs rcsinfo
2023-01-26 11:35 ` Ruijie Yu via General discussions about Org-mode.
@ 2023-01-26 11:59 ` Uwe Brauer
2023-01-26 12:06 ` Ihor Radchenko
0 siblings, 1 reply; 7+ messages in thread
From: Uwe Brauer @ 2023-01-26 11:59 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
Hi
> 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.
Thanks but this is a misunderstanding. I need that construct *after*
=\begin{document}=
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to export to latex with $ constructs rcsinfo
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
0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2023-01-26 12:06 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>> 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.
>
> Thanks but this is a misunderstanding. I need that construct *after*
> =\begin{document}=
Then just use #+begin_export latex construct
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to export to latex with $ constructs rcsinfo
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.
@ 2023-01-26 12:08 ` Fraga, Eric
2023-01-26 12:50 ` Uwe Brauer
1 sibling, 1 reply; 7+ messages in thread
From: Fraga, Eric @ 2023-01-26 12:08 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
On Thursday, 26 Jan 2023 at 12:22, Uwe Brauer wrote:
> \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $
What if you protect this, as in
@@latex:\rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $@@
?
(untested)
--
: Eric S Fraga, with org release_9.6-204-g2f7052 in Emacs 30.0.50
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to export to latex with $ constructs rcsinfo
2023-01-26 12:08 ` how to export to latex with $ constructs rcsinfo Fraga, Eric
@ 2023-01-26 12:50 ` Uwe Brauer
0 siblings, 0 replies; 7+ messages in thread
From: Uwe Brauer @ 2023-01-26 12:50 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
>>> "FE" == Fraga, Eric <e.fraga@ucl.ac.uk> writes:
> On Thursday, 26 Jan 2023 at 12:22, Uwe Brauer wrote:
>> \rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $
> What if you protect this, as in
> @@latex:\rcsInfo $Id: manual-matlab-git.tex,v 2716 2023/01/26 10:48:53 oub Exp oub $@@
Thanks but that does not work!
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [SOLVED] (was: how to export to latex with $ constructs rcsinfo)
2023-01-26 12:06 ` Ihor Radchenko
@ 2023-01-26 12:51 ` Uwe Brauer
0 siblings, 0 replies; 7+ messages in thread
From: Uwe Brauer @ 2023-01-26 12:51 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
> Uwe Brauer <oub@mat.ucm.es> writes:
> Then just use #+begin_export latex construct
Thanks! That solved the problem
--
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/
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-01-26 12:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
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
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).