From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Result from evaluation of code in Title or footer (fancyhdr)? Date: Mon, 02 May 2016 15:41:14 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axE6c-0000tV-Cv for emacs-orgmode@gnu.org; Mon, 02 May 2016 09:41:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axE6Q-0006gV-GT for emacs-orgmode@gnu.org; Mon, 02 May 2016 09:41:40 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:53332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axE6Q-0006cg-7A for emacs-orgmode@gnu.org; Mon, 02 May 2016 09:41:34 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi I have a DESCRIPTION file, in which I store the version of the document, which I extract with the following code: =2D-8<---------------cut here---------------start------------->8--- src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION} =2D-8<---------------cut here---------------end--------------->8--- At the moment, I have one Header, which contains the version. =2D-8<---------------cut here---------------start------------->8--- * Version src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION} :pape= r: :PROPERTIES: :header-args: :exports results :header-args+: :tangle no :END: Version src_sh{sed -n '/^Version: /s///p' ./DESCRIPTION} =2D-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 =2D-=20 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: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXJ1kAAAoJENvXNx4PUvmCwRYIANcIUNRAc6U3LFO5pcQXfDj6 oJ+PgmZCgkip3blzNJNKjZp8aQaye62lHUtZEeqQMA+16ipaLVnBjcmKB/80MSAw fu8MM5XL+ad6+cDlkWWiLzIjO4sZRTyofzJadAy0sI7aHnsFt+huf0q2NRKwH0nE ZdKnr7SN8JJ1+XHn/XJsbKysUreMux3YkmeL27pVJsZGBmQ8XuD6upUpzz1351VX nrFSYqOP0cDgJr+SCHCP+3Cc4uwea43dnLYNaq8GohtH30/v7m0nPPHXHtEH/gW3 KyXwDzxLFNCUxB3VrZozulodsqtQRVukLBSNQYvebPJ/qMH8UnP5PVp4s3QVcYE= =lefy -----END PGP SIGNATURE----- --=-=-=--