From: Daniel Clemente <n142857@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: variables to get the export date and other export data
Date: Wed, 22 Apr 2009 10:17:01 +0200 [thread overview]
Message-ID: <87hc0h9k76.fsf@CPU107.opentrends.net> (raw)
In-Reply-To: <61B49341-159B-4EA7-A9FC-A4F0A6582D99@gmail.com> (Carsten Dominik's message of "Wed, 15 Apr 2009 17:02:05 +0200")
El dc, abr 15 2009, Carsten Dominik va escriure:
>> just like [TABLE-OF-CONTENTS] inserts the table of contents, are there other
>> variables which will be translated on export? For instance [EXPORT-DATE] to
>> get the export date, [VERSION] for the Org version, [FILE-NAME] for this
>> file's name, …
> If you make me a complete list of what you'd like to have, I
> can add them to the macros.
I actually only miss the export date, but after seeing for instance what txt2tags (another markup syntax) provides, I think this will cover most needs:
- export date (that is, current date). So that you can say „Page updated on 22/4/2009“. txt2tags for instance has %%date and %%date(format-string), as in %%date(%d-%m-%Y)
- file modification time; useful for instance if you export *all* pages frequently (then the export date would be the same for all even for unmodified pages)
- input file name; useful to say „See the Org source for this page: blabla.org“. It can also have a format string to select whether you want the extension, the full path, etc.
- output file name; only to say „This is page blabla.html“.
- table of contents
> I don't want to add more [NAME],
> I don't think it is "strange" enough.
Better use longer words like [EXPORT-FILE-NAME], or more Org-like syntax.
Is there other metainformation that people need at export time?
Org version? User name? File attributes?
-- Daniel
next prev parent reply other threads:[~2009-04-22 8:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 19:08 variables to get the export date and other export data Daniel Clemente
2009-04-15 15:02 ` Carsten Dominik
2009-04-22 8:17 ` Daniel Clemente [this message]
2009-05-11 20:46 ` 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=87hc0h9k76.fsf@CPU107.opentrends.net \
--to=n142857@gmail.com \
--cc=carsten.dominik@gmail.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).