* Org 8.0 -- Export postamble
@ 2013-06-22 22:05 Chao Lu
2013-06-27 14:00 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Chao Lu @ 2013-06-22 22:05 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1365 bytes --]
Dear list,
I'm trying to play with ox-html settings, for the :html-postamble I got a
working one which is:
(defvar lch-ox-html-postamble "<div id='hosted'><table><tr><td><a href='
http://www.gnu.org/software/emacs/'><img src='./theme/emacs-logo.png'
alt='Emacs' title ='Powered by GNU/Emacs' style='width:30px;'/></a></td>
<td><a href='http://orgmode.org/'><img src='./theme/org-logo-unicorn.png'
alt='Org' title='Powered by Emacs Org-mode'
style='width:30px;'/></a></td><td><a href='http://www.princeton.edu'><img
src='./theme/PUTiger-logo.gif' alt='Princeton' title='Hosted by Princeton'
style='width:30px;'/></a></td></tr></table></div>")
then put
("public-notes"
;; :author nil
:base-directory ,org-source-dir
:base-extension "org"
:recursive t
:publishing-function org-html-publish-to-html
:publishing-directory ,pub-html-dir
:headline-levels 4
:section-numbers nil
:footnotes t
:language "utf-8"
:auto-sitemap t
:sitemap-filename "Sitemap.org"
:sitemap-title "LooChao's Homepage"
:auto-preamble t
:auto-postamble t
:html-head ,lch-ox-html-head
* :html-postamble ,lch-ox-html-postamble*
:style-include-default nil
)
But the problem is this will *override the default postabmle, how to keep
both?* Please see the attached picture for a better description.
Thanks!
Chao
[-- Attachment #1.2: Type: text/html, Size: 2859 bytes --]
[-- Attachment #2: org-postamble.png --]
[-- Type: image/png, Size: 110826 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Org 8.0 -- Export postamble
2013-06-22 22:05 Org 8.0 -- Export postamble Chao Lu
@ 2013-06-27 14:00 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-06-27 14:00 UTC (permalink / raw)
To: Chao Lu; +Cc: emacs-orgmode
Hi Chao,
Chao Lu <loochao.list@gmail.com> writes:
> But the problem is this will override the default postabmle, how to
> keep both? Please see the attached picture for a better description.
Well, you can't concatenate the default postamble and a custom one.
Maybe you can simply right a function that emulates this?
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-27 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-22 22:05 Org 8.0 -- Export postamble Chao Lu
2013-06-27 14:00 ` Bastien
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).