emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chao Lu <loochao.list@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org 8.0 -- Export postamble
Date: Sat, 22 Jun 2013 18:05:37 -0400	[thread overview]
Message-ID: <CAD54YEYH=+gpBMH9AXv2_pCfd8y5gtSemvuz=Z=NJCaZdV0JAQ@mail.gmail.com> (raw)


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

             reply	other threads:[~2013-06-23  1:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-22 22:05 Chao Lu [this message]
2013-06-27 14:00 ` Org 8.0 -- Export postamble Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD54YEYH=+gpBMH9AXv2_pCfd8y5gtSemvuz=Z=NJCaZdV0JAQ@mail.gmail.com' \
    --to=loochao.list@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).