Re: [O] Result from evaluation of code in Title or footer (fancyhdr)?

2016-05-03 Thread Rainer M Krug
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

Re: [O] Result from evaluation of code in Title or footer (fancyhdr)?

2016-05-03 Thread Rainer M Krug
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: > >

Re: [O] Result from evaluation of code in Title or footer (fancyhdr)?

2016-05-02 Thread Sharon Kimble
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

Re: [O] Result from evaluation of code in Title or footer (fancyhdr)?

2016-05-02 Thread Eric S Fraga
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'

[O] Result from evaluation of code in Title or footer (fancyhdr)?

2016-05-02 Thread Rainer M Krug
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