emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Result from evaluation of code in Title or footer (fancyhdr)?
Date: Tue, 03 May 2016 12:00:33 +0200	[thread overview]
Message-ID: <m2a8k7lav2.fsf@krugs.de> (raw)
In-Reply-To: <87bn4o744l.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 2 May 2016 18:37:30 +0100")

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Eric S Fraga <e.fraga@ucl.ac.uk> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  reply	other threads:[~2016-05-03 10:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e8153a2bafe64021838b4173602ff31b@DB5PR01MB1895.eurprd01.prod.exchangelabs.com>
2016-05-02 17:37 ` Result from evaluation of code in Title or footer (fancyhdr)? Eric S Fraga
2016-05-03 10:00   ` Rainer M Krug [this message]
2016-05-02 13:41 Rainer M Krug
2016-05-02 17:58 ` Sharon Kimble
2016-05-03 10:00   ` Rainer M Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2a8k7lav2.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).