From: Carsten Dominik <carsten.dominik@gmail.com>
To: srinivas <sp_us@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Additional Export options
Date: Fri, 19 Mar 2010 18:53:02 +0100 [thread overview]
Message-ID: <33340412-08AC-4AAB-8E19-A593CC6020C4@gmail.com> (raw)
In-Reply-To: <loom.20100313T152018-84@post.gmane.org>
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
prev parent reply other threads:[~2010-03-19 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-13 15:02 Additional Export options srinivas
2010-03-16 15:00 ` srinivas
2010-03-19 17:53 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33340412-08AC-4AAB-8E19-A593CC6020C4@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sp_us@yahoo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.