From mboxrd@z Thu Jan 1 00:00:00 1970 From: srinivas Subject: Additional Export options Date: Sat, 13 Mar 2010 15:02:00 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqSr4-0001VE-6O for emacs-orgmode@gnu.org; Sat, 13 Mar 2010 10:02:18 -0500 Received: from [140.186.70.92] (port=40859 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqSr1-0001Un-Mg for emacs-orgmode@gnu.org; Sat, 13 Mar 2010 10:02:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NqSr0-0004pY-O9 for emacs-orgmode@gnu.org; Sat, 13 Mar 2010 10:02:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:33060) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqSr0-0004pC-Hz for emacs-orgmode@gnu.org; Sat, 13 Mar 2010 10:02:14 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NqSqx-0000wb-Ut for emacs-orgmode@gnu.org; Sat, 13 Mar 2010 16:02:12 +0100 Received: from ip68-111-64-190.oc.oc.cox.net ([68.111.64.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Mar 2010 16:02:11 +0100 Received: from sp_us by ip68-111-64-190.oc.oc.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Mar 2010 16:02:11 +0100 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: emacs-orgmode@gnu.org I have a few questions (or possible requests) regarding the export/publish capability. 1) Is there a way to get the buffer name or file name to be output as a keyword? I would like to know the source file used to publish the content. This would result in the filename being part of the post-amble along with author nfo and creation date. For example: #+OPTION: filename:t 2) Is there a way to set a pattern for export file name? For example, if my org file is called project-notes.org, when publishing notes on a given date, I would like to have the flexiblity to name the output file using a pattern such as -YYYY-MM-DD--NTS., where YYYY-MM-DD is the export date. This could be specified in an option. For example: #+EXPORT_OPTION: output: ---NTS. PS. I have seen a thread where this was briefly discussed using options as drawer properties - :EXPORT_DATE:. In this scenario the export date was hard coded. I want to have the flexibility to use the actual publish instead of hard coding it.