emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: srinivas <sp_us@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Additional Export options
Date: Sat, 13 Mar 2010 15:02:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100313T152018-84@post.gmane.org> (raw)

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.

             reply	other threads:[~2010-03-13 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-13 15:02 srinivas [this message]
2010-03-16 15:00 ` Additional Export options srinivas
2010-03-19 17:53 ` Carsten Dominik

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=loom.20100313T152018-84@post.gmane.org \
    --to=sp_us@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /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).