all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)]
@ 2013-01-29 13:34 Michael Armbrecht
  2013-01-30  9:30 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Armbrecht @ 2013-01-29 13:34 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

* Re: Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)]
  2013-01-29 13:34 Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)] Michael Armbrecht
@ 2013-01-30  9:30 ` Bastien
  2013-01-30 15:15   ` Michael Armbrecht
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-01-30  9:30 UTC (permalink / raw)
  To: Michael Armbrecht; +Cc: emacs-orgmode

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

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

* Re: Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)]
  2013-01-30  9:30 ` Bastien
@ 2013-01-30 15:15   ` Michael Armbrecht
  2013-01-31 10:31     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Armbrecht @ 2013-01-30 15:15 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- 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 --]

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

* Re: Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)]
  2013-01-30 15:15   ` Michael Armbrecht
@ 2013-01-31 10:31     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-01-31 10:31 UTC (permalink / raw)
  To: Michael Armbrecht; +Cc: emacs-orgmode

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

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

end of thread, other threads:[~2013-01-31 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29 13:34 Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)] Michael Armbrecht
2013-01-30  9:30 ` Bastien
2013-01-30 15:15   ` Michael Armbrecht
2013-01-31 10:31     ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.