emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Noorul Islam K M <noorul@noorul.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Version number via inline source in header of exported html and pdf? and Custom export name?
Date: Wed, 08 Sep 2010 16:34:33 +0530	[thread overview]
Message-ID: <87hbi01oou.fsf@noorul.maa.corp.collab.net> (raw)
In-Reply-To: <4C875799.8000104@gmail.com> (Rainer M. Krug's message of "Wed, 08 Sep 2010 11:30:01 +0200")

Rainer M Krug <r.m.krug@gmail.com> writes:

> Hi
>
> two questions:
>
> 1) is it possible to add the result of an inline code snipet (in my case
> the SVN revision number) into the title or subtitle of a document (as in
> e.g. the org manual)?
> At the moment, I am putting it into the first header, which works, but
> is not so nice.
>

You can use svn propset to set svn:keywords for the files.

For example add something like this into the org file.

* This file is of revision $Rev$

and then use the following command

svn propset svn:keywords "Rev" orgfile.org

then commit the file this will update the file with something like this

* This file is of revision $Rev: 304 $

Similarly you can include lots of SVN information. Check out.

http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Thanks and Regards
Noorul

  reply	other threads:[~2010-09-08 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-08  9:30 Version number via inline source in header of exported html and pdf? and Custom export name? Rainer M Krug
2010-09-08 11:04 ` Noorul Islam K M [this message]
2010-09-08 11:19   ` 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=87hbi01oou.fsf@noorul.maa.corp.collab.net \
    --to=noorul@noorul.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /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).