emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Gauland <mikelygee@no8wireless.co.nz>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: [new exporter] Date format string not handled for	LaTeX	export
Date: Tue, 30 Oct 2012 22:18:11 +1300	[thread overview]
Message-ID: <508F9B53.40600@no8wireless.co.nz> (raw)
In-Reply-To: <87mwz4ph3a.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

On 30/10/12 20:14, Nicolas Goaziou wrote:
> This is {{{time(...)}}}, not {{{date(...)}}}.
>
> {{{date(%c)}}} is another macro that is replaced with the #+DATE: value
> during export. Since you try to replace #+DATE: value with itself, you
> dive into an inf loop.

I think I understand what's going on now, but I'm still at a loss as to
how to get the date I want. Can I tell the exporter that the date on the
document should be derived from the current time (or the last
modification time), formatted a particular way? For example, I can use
this macro to put the current time in my document:

    {{{time(%Y-%m-%d %H:%M)}}}

How can I set #+DATE to get an equivalent result?

Thanks for your help.

Kind regards,
Mike



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 897 bytes --]

  parent reply	other threads:[~2012-10-30  9:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29  3:41 [new exporter] Date format string not handled for LaTeX export Michael Gauland
2012-10-29 13:04 ` Nicolas Goaziou
2012-10-29 21:25   ` Michael Gauland
2012-10-29 21:46     ` Nicolas Goaziou
2012-10-29 22:55       ` Michael Gauland
2012-10-29 23:05         ` Nick Dokos
2012-10-30  7:14           ` Nicolas Goaziou
2012-10-30  8:29             ` Achim Gratz
2012-10-30  9:27               ` Nicolas Goaziou
2012-10-30  9:18             ` Michael Gauland [this message]
2012-10-30  9:29               ` Nicolas Goaziou
2012-10-30 16:43                 ` Michael Gauland
2012-10-30 17:25                   ` Nick Dokos
2012-10-30 18:01                     ` Nicolas Goaziou
2012-10-30 22:24                       ` Michael Gauland
2012-10-30 18:48                 ` Eric S Fraga
2012-10-30 20:13                   ` Nicolas Goaziou
2012-10-30  8:58           ` Eric S Fraga

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=508F9B53.40600@no8wireless.co.nz \
    --to=mikelygee@no8wireless.co.nz \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --cc=nicholas.dokos@hp.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 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).