Hi,
the facilities you are asking for do not exist. You can use the macro
{{{input-file}}}
to get the source file name, and there are similar macros for
modification-time, time, and date, and you can specify the format for
time and date.
This is not well documented, but the release notes for 6.24 talk about
this.
- Carsten
On Mar 13, 2010, at 4:02 PM, srinivas wrote:
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 <filename>-YYYY-MM-DD-<author>-NTS.<ext>,
where YYYY-MM-DD is the export date.
This could be specified in an option. For example:
#+EXPORT_OPTION: output: <filename>-<export-date>-<author>-NTS.<ext>
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.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode