emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-html-postamble: %d empty date
@ 2015-11-13 20:20 Manuel Koell
  2015-11-13 22:08 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Koell @ 2015-11-13 20:20 UTC (permalink / raw)
  To: org-mode mailing list

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

I set up a publishing project including a custom postamble :html-postamble
"Date: %d, Last modification: %C". When I export this file The %d date is
empty. From `C-h v org-html-postamble-format` I got the info about the
available elements to use:

```
  %t stands for the title.
  %s stands for the subtitle.
  %a stands for the author's name.
  %e stands for the author's email.
  %d stands for the date.
  %c will be replaced by `org-html-creator-string'.
  %v will be replaced by `org-html-validation-link'.
  %T will be replaced by the export time.
  %C will be replaced by the last modification time.
```

I tried to set both, :html-postamble and :html-postamble-format. Which date
is meant with the %d variable? Do I've to set it manually? I thought %d
will output the creation date of the file itself and %C the last updated
time (btw I get german weekdays and idk why & how to change).

[-- Attachment #2: Type: text/html, Size: 1027 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-html-postamble: %d empty date
  2015-11-13 20:20 org-html-postamble: %d empty date Manuel Koell
@ 2015-11-13 22:08 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-11-13 22:08 UTC (permalink / raw)
  To: Manuel Koell; +Cc: org-mode mailing list

Hello,

Manuel Koell <man.koell@gmail.com> writes:

> I set up a publishing project including a custom postamble :html-postamble
> "Date: %d, Last modification: %C". When I export this file The %d date is
> empty. From `C-h v org-html-postamble-format` I got the info about the
> available elements to use:
>
> ```
>   %t stands for the title.
>   %s stands for the subtitle.
>   %a stands for the author's name.
>   %e stands for the author's email.
>   %d stands for the date.
>   %c will be replaced by `org-html-creator-string'.
>   %v will be replaced by `org-html-validation-link'.
>   %T will be replaced by the export time.
>   %C will be replaced by the last modification time.
> ```
>
> I tried to set both, :html-postamble and :html-postamble-format. Which date
> is meant with the %d variable? Do I've to set it manually?


%d is the date as defined in DATE keyword.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-13 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-13 20:20 org-html-postamble: %d empty date Manuel Koell
2015-11-13 22:08 ` Nicolas Goaziou

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).