[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Result from evaluation of code in Title or footer (fancyhdr)?
From: |
Rainer M Krug |
Subject: |
Re: [O] Result from evaluation of code in Title or footer (fancyhdr)? |
Date: |
Tue, 03 May 2016 12:00:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin) |
Eric S Fraga <address@hidden> writes:
> On Monday, 2 May 2016 at 13:41, Rainer M Krug wrote:
>
> [...]
>
>> Is there a way, that I can have this dynamically in the Title of the
>> document, or in a footer after LaTeX export (using fancyhdr)?
>
> Maybe something along these lines:
>
> @@latex:\rfoot{@@ Version src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION}
> @@latex:}@@
>
> immediately after the first headline? Assumes fancyhdr.
Thanks - I am combining this with Sharon's suggestion.
Very nice,
Rainer
--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
signature.asc
Description: PGP signature