From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: HTML Postamble is inside Content DIV Date: Tue, 03 May 2011 13:17:20 +0200 Message-ID: <80ei4gdoe7.fsf@somewhere.org> References: <80mxj8g0wl.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Jonathan, Jonathan BISSON wrote: > S=C3=A9bastien Vauban writes: >> After a couple of tests, I've observed that the postamble is forced to be >> included *inside* the div "content". >>=20 >> Proof on Line 1764... These are the ending tags of every HTML page: >>=20 >> #+begin_src emacs-lisp >> (unless body-only (insert "\n\n\n\n")) >> #+end_src >>=20 >> ... the closing referring to the opening of "content". >>=20 >> Shouldn't it make sense to be able to insert something *out of* the >> "content" div? > > I think so (and the same for preamble)! > > I rewrote org-export-as-html and did a custom org-publish-org-to-html to > call it, in order to get them out off the content div (you can look at a > first test on my webpage http://www.bjonnh.net). > It's easy to do it I can send you my file if you are interested. I think sharing the code here is always a good idea. However, I'd favor an approach commonly shared by others, ie by either: - moving the postamble out of the content DIV - adding an extra "environment" next to the content DIV, if the postamble m= ust stay where it currently is -- for historical or compliance reasons? (same applies for preamble) Any comment for others? Best regards, Seb --=20 S=C3=A9bastien Vauban