Nicolas Goaziou gmail.com> writes:
>
> Hello,
>
> Nick Dokos hp.com> writes:
> > Works for me.
>
> I also get a correct date with it, even with a minimal set-up.
Well, this is embarassing. I tackled it fresh, after a cup of coffee (for me)
and a re-start (emacs), and it's working. User err
Eric S Fraga writes:
> The problem with the inf-loop now makes sense but the documentation
> implies otherwise:
>
> ,
> | Also,
> | `{{{date(FORMAT)}}}' and `{{{modification-time(FORMAT)}}}' refer to
> | current date time and to the modification time of the file being
> `
I changed the d
Nicolas Goaziou writes:
> Michael Gauland writes:
>> How can I set #+DATE to get an equivalent result?
>
> Doesn't
>
>#+DATE: {{{time(%Y-%m-%d %H:%M)}}}
Works perfectly fine for me. And thanks for the explanation of the
cause of the inf-loop!
The problem with the inf-loop now makes sense
Hello,
Nick Dokos writes:
> Michael Gauland wrote:
>
>> On 30/10/12 22:29, Nicolas Goaziou wrote:
>> > Doesn't
>> >
>> >#+DATE: {{{time(%Y-%m-%d %H:%M)}}}
>> >
>> > get you what you expect?
>>
>> That gives me an empty date string.
>>
>
> Works for me.
I also get a correct date with it,
Michael Gauland wrote:
> On 30/10/12 22:29, Nicolas Goaziou wrote:
> > Doesn't
> >
> >#+DATE: {{{time(%Y-%m-%d %H:%M)}}}
> >
> > get you what you expect?
>
> That gives me an empty date string.
>
Works for me.
Nick
PS Re: the infinite loop with date() - D'oh! That's what I get by mindles
On 30/10/12 22:29, Nicolas Goaziou wrote:
> Doesn't
>
>#+DATE: {{{time(%Y-%m-%d %H:%M)}}}
>
> get you what you expect?
That gives me an empty date string.
signature.asc
Description: OpenPGP digital signature
Nick Dokos writes:
> With a minimal file, I get a cpu pegged at 100% with no end in
> sight. Setting debug-on-quit and C-g gives me the following backtrace.
I get this same problem (100% cpu) if I use the date macro in the #+DATE
line; I don't get this if I use the modification-time macro instead
Michael Gauland writes:
> 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 exampl
Hello,
Achim Gratz writes:
> Nicolas Goaziou writes:
>> {{{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.
>
> Which raises the question if this shouldn't be detected and prev
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
Nicolas Goaziou writes:
> {{{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.
Which raises the question if this shouldn't be detected and prevented,
at least if direct recursion is
Hello,
Nick Dokos writes:
> Michael Gauland wrote:
>
>> Nicolas Goaziou gmail.com> writes:
>>
>> > I just tried with a minimal init and it worked. Could you send the
>> > example you're trying to export?
>>
>> The file is below. With a minimal init, I get the error "Symbol's function
>> defi
Michael Gauland wrote:
> Nicolas Goaziou gmail.com> writes:
>
> > I just tried with a minimal init and it worked. Could you send the
> > example you're trying to export?
>
> The file is below. With a minimal init, I get the error "Symbol's function
> definition is void: org-macro-initialize-te
Nicolas Goaziou gmail.com> writes:
> I just tried with a minimal init and it worked. Could you send the
> example you're trying to export?
The file is below. With a minimal init, I get the error "Symbol's function
definition is void: org-macro-initialize-templates'. If I use my full .emacs
file,
Michael Gauland writes:
> Nicolas Goaziou gmail.com> writes:
>> On the other hand, you have a hard-coded macro to solve this problem:
>>
>> #+DATE: {{{time(%c)}}}
>>
>> It will work across every back-end (but you need the latest Org version,
>> since I recently to fixed a bug related to it).
Nicolas Goaziou gmail.com> writes:
> On the other hand, you have a hard-coded macro to solve this problem:
>
> #+DATE: {{{time(%c)}}}
>
> It will work across every back-end (but you need the latest Org version,
> since I recently to fixed a bug related to it).
Thanks--that will do nicely. Unf
Hello,
Michael Gauland writes:
> When I provide a format string to the #+DATE: option, the old LaTeX exporter
> correctly uses it to format the current date; the new exporter just uses the
> format string for the date.
I wasn't aware of that "feature". Though, I don't like it: it is fragile
for
When I provide a format string to the #+DATE: option, the old LaTeX exporter
correctly uses it to format the current date; the new exporter just uses the
format string for the date.
The new HTML exporter does not have this problem.
18 matches
Mail list logo