Re: [O] modify postamble in html export

2013-09-21 Thread Eric Abrahamsen
On 09/21/13 17:00 PM, pw wrote: > Le 21/09/2013 06:23, Eric Abrahamsen a écrit : >> Whoops, that's what I get for posting untested code... As Nicholas >> points out the function should take an argument, but in your simplest >> case you can ignore it: >> >> (defun my-org-html-postamble (plist) >>

Re: [O] modify postamble in html export

2013-09-21 Thread pw
Le 21/09/2013 06:23, Eric Abrahamsen a écrit : Whoops, that's what I get for posting untested code... As Nicholas points out the function should take an argument, but in your simplest case you can ignore it: (defun my-org-html-postamble (plist) (format "Last update : %s" (format-time-string "

Re: [O] modify postamble in html export

2013-09-20 Thread Eric Abrahamsen
pw writes: >> You can override the whole thing by re-defining the `org-html-postable' >> variable. Set it to a function which returns the string you want: >> >> (defun my-org-html-postamble () >> (format "Last update : %s" (format-time-string "%d %b %Y"))) >> >> (setq org-html-postamble 'my-org

Re: [O] modify postamble in html export

2013-09-20 Thread Nicolas Goaziou
Hello, pw writes: >> You can override the whole thing by re-defining the `org-html-postable' >> variable. Set it to a function which returns the string you want: >> >> (defun my-org-html-postamble () >> (format "Last update : %s" (format-time-string "%d %b %Y"))) >> >> (setq org-html-postamble

Re: [O] modify postamble in html export

2013-09-20 Thread pw
You can override the whole thing by re-defining the `org-html-postable' variable. Set it to a function which returns the string you want: (defun my-org-html-postamble () (format "Last update : %s" (format-time-string "%d %b %Y"))) (setq org-html-postamble 'my-org-html-postamble) I didn't test

Re: [O] modify postamble in html export

2013-09-19 Thread Eric Abrahamsen
pw writes: > Hi, > > I want to have a postamble in html with just the date (and without hours). > > I already delete other informations in the postamble with these > variables into my .emacs : > '(org-export-author-info nil) > '(org-export-creator-info nil) > '(org-html-validation-link nil) >

[O] modify postamble in html export

2013-09-19 Thread pw
Hi, I want to have a postamble in html with just the date (and without hours). I already delete other informations in the postamble with these variables into my .emacs : '(org-export-author-info nil) '(org-export-creator-info nil) '(org-html-validation-link nil) Now I have only the date le