Sharon Kimble writes:
> Rainer M Krug writes:
>
>> Hi
>>
>> I have a DESCRIPTION file, in which I store the version of the document,
>> which I extract with the following code:
>>
>> src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION}
>>
>
> Have you
Eric S Fraga 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:
>
>
Rainer M Krug writes:
> Hi
>
> I have a DESCRIPTION file, in which I store the version of the document,
> which I extract with the following code:
>
> src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION}
>
Have you looked at the latex package 'mversion'? I use it and have it
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'
Hi
I have a DESCRIPTION file, in which I store the version of the document,
which I extract with the following code:
--8<---cut here---start->8---
src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION}
--8<---cut