From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M 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 Message-ID: <87hbi01oou.fsf@noorul.maa.corp.collab.net> References: <4C875799.8000104@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=40059 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtITi-00075c-3K for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 07:06:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtITd-0005CI-2e for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 07:06:09 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:47092) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtITc-0005Bx-Ow for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 07:06:05 -0400 Received: by pzk33 with SMTP id 33so4141429pzk.0 for ; Wed, 08 Sep 2010 04:06:03 -0700 (PDT) In-Reply-To: <4C875799.8000104@gmail.com> (Rainer M. Krug's message of "Wed, 08 Sep 2010 11:30:01 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode Rainer M Krug 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