[-- Attachment #1: Type: text/plain, Size: 3381 bytes --] Hi list, since v7.9 it seems that the author email (as in #+EMAIL:) is not part of the postamble any more when exporting an org-file to HTML -- although the %e is still part of the "org-export-html-postamble-format." Michael Emacs : GNU Emacs 24.2.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4) of 2012-10-10 on build20 Package: Org-mode version 7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!) current state: ============== (setq org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-log-done 'time org-confirm-shell-link-function 'yes-or-no-p org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local))) (lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local))) org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-font-lock) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-first-hook '(org-beamer-initialize-open-trackers) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-html-postamble-format '(("en" "<p class=\"author\">Author: %a %e</p>\n<p class=\"date\">Date: %d</p>\n<p class=\"creator\">Generated by %c</p>\n<p class=\"xhtml-validation\">%v</p>\n") ) org-babel-load-languages '((emacs-lisp . t) (ditaa . t)) org-agenda-files '("~/Dokumente/BES - Projekte/SiemensMed/RTS H Transition/Project Tasks and Actions.org" "~/Dokumente/bes_wissenslücken.org<http://xn--bes_wissenslcken-uzb.org>" "~/Dokumente/bel_rampup.org" "~/Dokumente/BES - Projekte/SiemensMed/rtsh_transition.org" "~/Dropbox/Global_Todo.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-export-preprocess-after-blockquote-hook '(org-export-odt-preprocess-latex-fragments) ) -- Michael I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals. - Sir Winston Churchill [-- Attachment #2: Type: text/html, Size: 4035 bytes --]
Hi Michael,
Michael Armbrecht <michael.armbrecht@gmail.com> writes:
> since v7.9 it seems that the author email (as in #+EMAIL:) is not
> part of the postamble any more when exporting an org-file to HTML
> --
> although the %e is still part of the
> "org-export-html-postamble-format."
The default value of `org-export-html-postamble' is 'auto.
The docstring says:
When set to 'auto, discard `org-export-html-postamble-format' and
honor `org-export-author/email/creator-info' variables.
Apparently you didn't not change `org-export-html-postamble' so your
value of `org-export-html-postamble-format' is ignored.
The default value of org-export-email-info is nil, so you need to set
it to `t' in order to include email info (or email:t in the #+OPTION
line.)
HTH,
--
Bastien
[-- Attachment #1: Type: text/plain, Size: 490 bytes --] Hi Bastien, On 30 January 2013 10:30, Bastien <bzg@altern.org> wrote: > Apparently you didn't not change `org-export-html-postamble' so your > value of `org-export-html-postamble-format' is ignored. > > The default value of org-export-email-info is nil, so you need to set > it to `t' in order to include email info (or email:t in the #+OPTION > line.) Aaah. Apparently I didn't understand the doc correctly :/ In fact, I like the #+OPTIONS way best. Thanks for your help. -- Michael [-- Attachment #2: Type: text/html, Size: 895 bytes --]
Hi Michael,
Michael Armbrecht <michael.armbrecht@gmail.com> writes:
> Aaah. Apparently I didn't understand the doc correctly :/
> In fact, I like the #+OPTIONS way best.
Well, the docstring of org-export-html-post/preamble-format
"forgot" to mention that org-export-html-post/preamble needs
to be `t' so that these variables have any effect.
I just pushed this change, thanks!
--
Bastien