emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Some %elements in org-html-postamble-format became too "generous


From: Nicolas Goaziou
Subject: Re: [O] Some %elements in org-html-postamble-format became too "generous"
Date: Sun, 07 Apr 2013 15:04:20 +0200

Hello,

Dieter Wilhelm <address@hidden> writes:

> before 8pre it was better possible to translate the Org/Emacs information in 
> the
> postamble.  If I'm using
>
>  ("fr" "<p class=\"author\">Auteur: %a (%e)</p>\n<p class=\"date\">Date
>  de la modification: %d </p>\n<p class=\"creator\">Produit par %c
>  </p>\n")
>
> The result looks like:
>
> Produit par Generated by Org mode 8.0-pre in Emacs 24.3.3
>
> which also contradicts the documentation string of
> org-html-postamble-format...

I fixed this. "%c" equals to `org-html-creator-string' (#+CREATOR:)
value. You are responsible for the translation.

> By the way, I think the creation Time (%T) capability of the postamble
> is rather pointless, could you please change it to the modification time
> or add something (like %C)? This would save the hassle of putting
> everywhere #+DATE: {{{modification-time(%Y-%m-%d)}}} into the files.
> One could just change the %d to %C...

I added %C.

> Moreover, I think the documentation string is not really precise about
> the creation time.  We have on Linux atime, mtime and ctime (Access,
> Modification and in effect the inode "Change" time), probably the modern
> file systems store additionally the "true Creation" time.

This was about the creation time of the /output/, which is, in fact, the
time of export. I changed the docstring to make it clear.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]