From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Wed, 27 Jul 2011 19:33:01 +0200 Message-ID: <87pqkvpr1u.fsf@altern.org> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> <4524.1311625834@alphaville.americas.hpqcorp.net> <87oc0ihwvk.fsf@gnu.org> <80bowhxlpz.fsf@somewhere.org> <87mxg1ozgc.fsf@gnu.org> <87vcupdobh.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm7yN-0001HG-Q8 for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 13:32:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm7yM-0006Iu-D4 for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 13:32:43 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm7yM-0006IV-4Z for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 13:32:42 -0400 Received: by wwf22 with SMTP id 22so1319858wwf.30 for ; Wed, 27 Jul 2011 10:32:40 -0700 (PDT) In-Reply-To: <87vcupdobh.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 26 Jul 2011 18:00:34 +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: Achim Gratz Cc: emacs-orgmode@gnu.org Hi Achim and Sebastian, Achim Gratz writes: > Bastien writes: >> I fail to understand why an additional
>> should break Sebastian's tool. >> > > For starters, the title now resides in the preamble, but the script > looks for it in content. This error is easily fixed, but I don't know > if it has further repercussions. Mhh... I tried to patch org-info-src.js with this fix, to recompile it (and get org-info.js). I copied the result here: http://orgmode.org/org-info2.js Then setting this path in `org-infojs-options', I tried various ways of getting a working HTML file, with the new div structure, but with no good result. I have taken the simplest road for now: I've put the title back in the "content" div and removed it from the default preamble -- although you can still add it in the preamble. I think it's better since it doesn't break people's configuration when using org-info.js. For such changes about the HTML structure, I need to better sync with Sebastian to see how org-info.js can be updated and/or more flexible. For example "content" is hardcoded in org-info.js and is not anymore in org-html.el, so this might lead to troubles. Thanks for your input so far, -- Bastien