From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [patch] Re: HTML Postamble is inside Content DIV Date: Fri, 22 Jul 2011 05:05:35 +0530 Message-ID: <81pql35hrs.fsf@gmail.com> References: <80mxj8g0wl.fsf@somewhere.org> <80ei4gdoe7.fsf@somewhere.org> <801uzeu2b6.fsf@somewhere.org> <808vslr5ox.fsf@somewhere.org> <0903D18D-AB13-430D-81EF-93421BDB7D01@ulb.ac.be> <80y60iumbh.fsf@somewhere.org> <8039ih6x7f.fsf@somewhere.org> <4CE89955-F7C1-4708-A149-F60AB482E4DE@ulb.ac.be> <80r55j9x9z.fsf_-_@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk2mp-0004In-9J for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 19:36:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qk2mn-00057I-4F for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 19:36:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:33211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk2mm-000570-Ro for emacs-orgmode@gnu.org; Thu, 21 Jul 2011 19:36:09 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qk2mh-0006UH-0q for emacs-orgmode@gnu.org; Fri, 22 Jul 2011 01:36:03 +0200 In-Reply-To: <80r55j9x9z.fsf_-_@somewhere.org> (Sebastien Vauban's message of "Thu, 21 Jul 2011 22:47:04 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org "Sebastien Vauban" writes: > Hi Pierre, Bastien et al., > > Pierre de Buyl wrote: >> Le 8 juil. 11 =E0 09:36, Sebastien Vauban a =E9crit : >>>> Here is thus my proposition for a better div-structured HTML. >>>> >>>> There are only four parts required in the HTML for all the magic to wo= rk >>>> with the CSS: >>>> >>>> - The first part is a container div ("content", by default) that >>>> surrounds >>>> everything. >>>> >>>> - Inside that are three more parts: >>>> + a preamble (in a div, if the user wants it), >>>> + a div "body" and >>>> + a postamble (in a div, if the user wants it). >>> >>> Any objection for applying this patch? >> >> Not at all. > > After off-line discussion with Bastien, here is the updated proposition -- > and patch! > > There is no global DIV anymore directly inside the body, as there is alre= ady > (in CSS) a virtual DIV called "#body"... > > Inside the "body" tags, 3 DIV: > > - "preamble" (useful for adding a static menu, outside of the "content" D= IV) > - "content" (by default, see "org-export-html-content-div") > - "postamble" > > Preamble and postamble DIV are only inserted if they're not void. > > The "content" DIV (name free to be customized) will always be inserted. > > Any comment or objection? Specifically can it do this: http://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00524.html I think having
is significant for org-s5 (though I haven't verified it). What the org-s5 use-case emphasizes is that the user should have the flexibility to add attributes of his own choosing to the div element and not merely the name of the id tag. I see that there has been a lot of ping-ponging around this area for a while now and you now seem to have a new proposal at hand. Your patch seems to be touching Bastien's commit pursuant to my above request [1]. I don't understand or use html or org-s5. I hope the proposal here is the final one :-). Please make Eric Schulte a respondent or reviewer for this patch (from org-s5 side of things) and insist on a feedback from him before committing.. ps: I would desire that any changes to org-html.el also need to be ported to org-lparse.el and (or) org-xhtml.el. Jambunathan K. > > Best regards, > Seb Footnotes:=20 [1] I was not happy with Bastien's change which I felt was ignoring the core of my proposal) --=20