this ?
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 "
gt;Date: %d\n%c\nclass=\"xhtml-validation\">%v"))
So I changed it to (with the idea to change the string format (%s) later
if working) :
'(("en"Last update: %s"))
(which add to my .emacs : '(org-html-postamble-format (quote (("en" "class=\"date\">Last update: %s"
But it does not change at all the postamble ""Created: 2013-09-19 jeu.
14:09"".
So I'm stuck!
pw
is not working (and I have no idea how to put the "Last update :").
Could you indicate me how to achieve this. An issue is also I don't want
to put this date format in all org-mode (I want to keep the default
format for task and other stuff).
bye
pw
e and how can I remove it ?
pw
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
...
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
t
sible string.
Thanks for taking the time to read my newbie questions.
pw
---
;; org-mode publishing
(setq org-publish-project-alist
'(("org-notes"
:base-directory "~/site/org/"
:base-extension "org"
:publishing-directory "
;
:base-extension "css\\|js\\|png\\|jpg\\|pdf\\|mp3\\|ogg"
:publishing-directory "~/site/public_html/"
:recursive t
:publishing-function org-publish-attachment
)
("site" :components ("org-notes" "org-static"
---
Any ideas ?
pw
and, so, make people getting wrong.
pw
;org-publish)" I have another error :
"org-publish-file: Symbol's function definition is void:
org-publish-org-to-html"
Adding "(require 'ox-publish)" doesn't change anything.
pw
;
:base-extension "css\\|js\\|png\\|jpg\\|pdf\\|mp3\\|ogg"
:publishing-directory "~/site/public_html/"
:recursive t
:publishing-function org-publish-attachment
)
("site" :components ("org-notes" "org-static"
---
Any ideas ?
pw
10 matches
Mail list logo