[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Result from evaluation of code in Title or footer (fancyhdr)?
From: |
Rainer M Krug |
Subject: |
[O] Result from evaluation of code in Title or footer (fancyhdr)? |
Date: |
Mon, 02 May 2016 15:41:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin) |
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 here---------------end--------------->8---
At the moment, I have one Header, which contains the version.
--8<---------------cut here---------------start------------->8---
* Version src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION} :paper:
:PROPERTIES:
:header-args: :exports results
:header-args+: :tangle no
:END:
Version src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION}
--8<---------------cut here---------------end--------------->8---
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)?
Thanks,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: address@hidden
Skype: RMkrug
PGP: 0x0F52F982
signature.asc
Description: PGP signature
- [O] Result from evaluation of code in Title or footer (fancyhdr)?,
Rainer M Krug <=