From mboxrd@z Thu Jan 1 00:00:00 1970 From: Renger van Nieuwkoop Subject: Org-Mode Homepage error Date: Mon, 25 Jul 2011 19:33:40 +0000 Message-ID: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_2152B3DFC552DE47A0A36CCC93D735310439FF32mx01ecoplanloca_" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlQuV-0002JW-LS for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:33:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlQuU-0003Gj-Kh for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:33:51 -0400 Received: from mail.zimi.ch ([212.103.73.165]:53478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlQuS-0003Ga-CV for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:33:50 -0400 Content-Language: de-DE 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: "emacs-orgmode@gnu.org" --_000_2152B3DFC552DE47A0A36CCC93D735310439FF32mx01ecoplanloca_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi The hyperlinks on the left of the change page (http://orgmode.org/Changes.h= tml) do not work (Firefox and Chrome). Renger _________________________ --_000_2152B3DFC552DE47A0A36CCC93D735310439FF32mx01ecoplanloca_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi
The hyperlinks on the left of the change page (http://orgmode.org/Changes.htm= l) do not work (Firefox and Chrome).
Renger
 
_________________________
 
 
--_000_2152B3DFC552DE47A0A36CCC93D735310439FF32mx01ecoplanloca_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Markert Subject: Re: Org-Mode Homepage error Date: Mon, 25 Jul 2011 21:42:22 +0200 Message-ID: <874o2ai1up.fsf@googlemail.com> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlR2t-00067g-8Q for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:42:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlR2s-0005Pi-4Y for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:42:31 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:32842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlR2r-0005Om-W8 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 15:42:30 -0400 Received: by fxd18 with SMTP id 18so7815003fxd.39 for ; Mon, 25 Jul 2011 12:42:28 -0700 (PDT) In-Reply-To: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> (Renger van Nieuwkoop's message of "Mon, 25 Jul 2011 19:33:40 +0000") 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: Renger van Nieuwkoop Cc: "emacs-orgmode@gnu.org" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, On 25 Jul 2011, Renger van Nieuwkoop wrote: > Hi The hyperlinks on the left of the change page > (http://orgmode.org/Changes.html) do not work (Firefox and Chrome). I can't confirm if by "on the left" you mean the scrollable panel that links to anchors on the page. Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOLcceAAoJEHHMVUK0UjKVeewP/RbxlLIe30Z7wfSLwzHWpuhH GpPDsAJhbBDzJTXkCsQBcVDuuUu4lkUCmtAgArVMdlhWEDwCTO56fuKRClCM+rkg RSS4Pf2kObSk/cJel4SA9vAPKrbGtWpxQgVpGL2Ku5Ip8yT2KIS0KbqgFVqnVo0g zW/3o2MNOpsoiuWbpkbSULZeFtIvQk47Y9CECtDJXl9trN0/k0+hqeHHqA00L+gM iq0PPZCiPpIPBZLmZbC3BM529rwYIlsXVgK0Ll1R3NYhaJBjzHlqJ1ShQxjSG8TX 9PJLDAlM4drU8rrKO8Pl21AllrReRd/bKE9e+NFo2NUqzEkUJEWzOBkTFUFyIJcl GHsqH7XtNM/IZgznt2KCCFs3RcTVBGScoa8k4TDSjghajzy70lA2tDiILakd5NCl cRFn+IEn3lNU/fX/NB7vJ2kn1oQGs/RJZd3EnKSQ50+QM2k967DpxSOojfVhdfwO QJey6NzXstV2vhFY4BmMQjjR2kHiTnR9IrXy8L2YNR+EeOJ+WrVOjIVXE2URXnQO maux7y3bVQxG9HzjUvaOTwOoR/YOh3lyjQAuu0AWk1qkYBJVvr+QGUkOvm8PqrST rxQHCKqLyT5zOZhofMwAFgvi28QNcl5QCcVAFX8OB4LELrCVnCRTL9pwf9rCi286 xIvowyrco6JLRqbpR1ry =vt71 -----END PGP SIGNATURE----- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Markert Subject: Re: Org-Mode Homepage error Date: Mon, 25 Jul 2011 22:10:14 +0200 Message-ID: <87sjpuglzt.fsf@googlemail.com> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> <2152B3DFC552DE47A0A36CCC93D735310439FF7D@mx01.ecoplan.local> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRTq-0007cd-M7 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlRTp-0003RD-JZ for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:10:22 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:35820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRTp-0003R5-B9 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:10:21 -0400 Received: by fxd18 with SMTP id 18so7843819fxd.39 for ; Mon, 25 Jul 2011 13:10:20 -0700 (PDT) In-Reply-To: <2152B3DFC552DE47A0A36CCC93D735310439FF7D@mx01.ecoplan.local> (Renger van Nieuwkoop's message of "Mon, 25 Jul 2011 19:52:32 +0000") 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: Renger van Nieuwkoop Cc: emacs-orgmode@gnu.org =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 25 Jul 2011, Renger van Nieuwkoop wrote: > Yes, for example if I click on for example "Version 7.5" I still see > the xhtml message from 7.6. Nothing changes. Please CC the mailing list on followups. The problem only with javascript. Once it's disabled all works. Michael > -----Original Message----- > From: Michael Markert [mailto:markert.michael@googlemail.com]=20 > Sent: Monday, July 25, 2011 9:42 PM > To: Renger van Nieuwkoop > Cc: emacs-orgmode@gnu.org > Subject: Re: Org-Mode Homepage error > > Hi, > > On 25 Jul 2011, Renger van Nieuwkoop wrote: >> Hi The hyperlinks on the left of the change page >> (http://orgmode.org/Changes.html) do not work (Firefox and Chrome). > > I can't confirm if by "on the left" you mean the scrollable panel that > links to anchors on the page. > > Michael =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJOLc2mAAoJEHHMVUK0UjKVPSoQAMdZhh4VBPS0ZSMxDTTpXeO0 l/M0M4XyHOXmTHPBBngQfZrM6Dr+cp29yG76k/hBmEJRYIE9mzvJ+TdMWHul/Zdb 9f/CZ54orqpu72pFMb/3NpE8Q7E0rhdAQG+ffJFnJXHJWNBYy2vIJHtafE574Cz/ Mimsathdi2bFahevPS/DhgKnllTJI33AxQ6CvKIfaVXjPZcV6EUjRkg7kdAsYFg1 lNnoVzxJ3qAIviMwbiHu//Uw3rH97I8nfw/wf+mH8YcykpiDZW0BTYJFw6S4tnmp C4p/ld9c2PNaoRB8SG+B24MBKH604nQ/0qu8b2drOHD1N053ZuB1+CFAUpZEs4Xd 5h38R+56hg+Emfv7pEpBIuh9s1eTxyn5bRPjQZf9Tdz3UfX08NqEk3yS7rreI/Fh 02FBsdytfiD5OZriuIxgjGLH+WFvfPA2bcoTbDQwLAnuSCwb/lE1AcMAzFc8hiEh RDYEVkJYV0zp9I1kskji+rw2mLp8KYZdPchanhL3zU/Fwi/C4n7P8sMEyrewrhDS vGf9/FUosIaMaSoZDURLLSMvkY14gf9UQuxObmkLtSesXTeRVKz2sN2mQKqSCebS Cawuxr3wFVBwvkGWvKbgWEIZnf8Am3wtaWhCruWN7TtDFE+SOUPLwRHW/RHCgzcA mJmxfz5MIN2CTg1oxP3t =3D5x3h =2D----END PGP SIGNATURE----- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Org-Mode Homepage error Date: Mon, 25 Jul 2011 22:26:23 +0200 Message-ID: <80d3gy6r9s.fsf@somewhere.org> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Renger and Michael, Michael Markert wrote: > On 25 Jul 2011, Renger van Nieuwkoop wrote: >> Hi The hyperlinks on the left of the change page >> (http://orgmode.org/Changes.html) do not work (Firefox and Chrome). > > I can't confirm if by "on the left" you mean the scrollable panel that links > to anchors on the page. I confirm that nothing happens when clicking on the links in the left sidebar of the above mentioned page -- though my Firefox is not blocking JavaScript. Best regards, Seb -- Sebastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org-Mode Homepage error Date: Mon, 25 Jul 2011 16:30:34 -0400 Message-ID: <4524.1311625834@alphaville.americas.hpqcorp.net> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRol-0006sr-DI for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:32:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlRok-0007eh-6g for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:31:59 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:22770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlRoj-0007dF-N8 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 16:31:57 -0400 In-Reply-To: Message from Michael Markert of "Mon, 25 Jul 2011 21:42:22 +0200." <874o2ai1up.fsf@googlemail.com> 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: Michael Markert Cc: Renger van Nieuwkoop , nicholas.dokos@hp.com, "emacs-orgmode@gnu.org" Michael Markert wrote: > Hi, > > On 25 Jul 2011, Renger van Nieuwkoop wrote: > > Hi The hyperlinks on the left of the change page > > (http://orgmode.org/Changes.html) do not work (Firefox and Chrome). > > I can't confirm if by "on the left" you mean the scrollable panel that > links to anchors on the page. > > Michael I see the same thing as Renger: there may be links on the left, but the page itself seems empty except for title, date, author, org version and the HTML validation link - in particular, no anchors. If I look at Page Source I can see everything, so somehow the outline-containers have become invisible for me. I ran firebug and got this error ,---- | b.CI is null | [Break On This Error] b.HI=(b.HI+1)%50;}b.SKIP_H=false;b.CI....[a.HI]){var b=parseInt(a.H[a.HI][0]); `---- on line 172 of org-info.js, but I don't know if this is real or a red herring. Also when the pointer hovers over e.g. "Older changes" i.e. the last link in the scrollable list, the echo area (lower left where the link is shown) shows: javascript:org_html_manager.go(278) but clicking does nothing (except pop up another instance of the above error in the firebug console). HTH, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Mon, 25 Jul 2011 23:29:51 +0200 Message-ID: <87oc0ihwvk.fsf@gnu.org> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> <4524.1311625834@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlSjO-0002xk-JR for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlSjN-0003VS-F8 for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:30:30 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:49320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlSjN-0003VN-5S for emacs-orgmode@gnu.org; Mon, 25 Jul 2011 17:30:29 -0400 Received: by wyg36 with SMTP id 36so3741326wyg.0 for ; Mon, 25 Jul 2011 14:30:28 -0700 (PDT) In-Reply-To: <4524.1311625834@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Mon, 25 Jul 2011 16:30:34 -0400") 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: nicholas.dokos@hp.com Cc: Renger van Nieuwkoop , "emacs-orgmode@gnu.org" , Michael Markert Hi all and Sebastian, thanks for signaling this problem -- I fixed it on the server. This commit creates problems when exporting using org-info.js: http://orgmode.org/w/?p=org-mode.git;a=commit;h=2f1fbc58be1dc48621217d666da7bc46c3c5d84e This is no real surprise, as the commit changes the underlying div structure of an HTML page produced by Org... Sebastian, what would be need to make org-info.js compatible with both the old HTML structure and the new one, which is:
(With the "preamble"/"content"/"postamble" strings being defined in the variable `org-export-html-divs'.) If that's too complicate, perhaps we can enforce another structure for divs. Thanks for your time! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Org-Mode Homepage error Date: Tue, 26 Jul 2011 14:36:24 +0200 Message-ID: <80bowhxlpz.fsf@somewhere.org> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> <4524.1311625834@alphaville.americas.hpqcorp.net> <87oc0ihwvk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Bastien, Bastien wrote: > thanks for signaling this problem -- I fixed it on the server. > > This commit creates problems when exporting using org-info.js: > > http://orgmode.org/w/?p=org-mode.git;a=commit;h=2f1fbc58be1dc48621217d666da7bc46c3c5d84e > > This is no real surprise, as the commit changes the underlying > div structure of an HTML page produced by Org... > > Sebastian, what would be need to make org-info.js compatible > with both the old HTML structure and the new one, which is: > > >
>
> >
>
> >
>
> > > (With the "preamble"/"content"/"postamble" strings being defined > in the variable `org-export-html-divs'.) > > If that's too complicate, perhaps we can enforce another structure > for divs. I fear this is above my current capability. I tried to understand that code for a while, but never succeeded (in a reasonable time) to, and never could simplify it as I wanted (to use it for my own). Of course, this is mainly due because of my inexperience in good tools to test and debug JS, and to my lack of knowledge of that language. But, what did you do to fix the problem? The current structure of the HTML page looks good, and follows the above skeleton (except there is no preamble). So, everything looks right to me? Best regards, Seb -- Sebastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Tue, 26 Jul 2011 17:04:35 +0200 Message-ID: <87mxg1ozgc.fsf@gnu.org> References: <2152B3DFC552DE47A0A36CCC93D735310439FF32@mx01.ecoplan.local> <874o2ai1up.fsf@googlemail.com> <4524.1311625834@alphaville.americas.hpqcorp.net> <87oc0ihwvk.fsf@gnu.org> <80bowhxlpz.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QljBE-0001Gc-4u for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 11:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QljB7-0002tH-74 for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 11:04:20 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:42629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QljB7-0002t7-06 for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 11:04:13 -0400 Received: by wwi14 with SMTP id 14so2281907wwi.0 for ; Tue, 26 Jul 2011 08:04:12 -0700 (PDT) In-Reply-To: <80bowhxlpz.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 26 Jul 2011 14:36:24 +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: emacs-orgmode@gnu.org Hi Sébastien, "Sebastien Vauban" writes: > I fear this is above my current capability. I tried to understand that code > for a while, but never succeeded (in a reasonable time) to, and never could > simplify it as I wanted (to use it for my own). Of course, this is mainly due > because of my inexperience in good tools to test and debug JS, and to my lack > of knowledge of that language. > > But, what did you do to fix the problem? Well, I re-published Worg using an older version of org. > The current structure of the HTML page looks good, and follows the > above skeleton (except there is no preamble). So, everything looks > right to me? No. The current HTML structure breaks compatibility with Sebastian's tool. As this is a severe bug, any help on finding a way to fix this is more than welcome... Can you sum up how the div structure changes? What was the structure before and what is it now? I fail to understand why an additional
should break Sebastian's tool. Thanks :) -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org-Mode Homepage error Date: Tue, 26 Jul 2011 18:00:34 +0200 Message-ID: <87vcupdobh.fsf@Rainer.invalid> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlk41-0008Tb-Th for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 12:01:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qlk3x-0006Ga-Ac for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 12:00:57 -0400 Received: from lo.gmane.org ([80.91.229.12]:56295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlk3w-0006Fn-O5 for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 12:00:53 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qlk3u-0001m7-BE for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 18:00:50 +0200 Received: from p57aaccf8.dip.t-dialin.net ([87.170.204.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2011 18:00:50 +0200 Received: from Stromeko by p57aaccf8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Jul 2011 18:00:50 +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: emacs-orgmode@gnu.org 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. --8<---------------cut here---------------start------------->8--- diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js index 2e49e9c..33faaac 100644 --- a/code/org-info-js/org-info-src.js +++ b/code/org-info-js/org-info-src.js @@ -522,6 +522,14 @@ var org_html_manager = { } else { // be backward compatible t.BODY = document.getElementsByTagName("body")[0]; }} + t.PREA = document.getElementById("preamble"); + t.POST = document.getElementById("postamble"); + if(null == t.PREA) { + t.PREA = t.BODY; + } + if(null == t.POST) { + t.POST = t.BODY; + } if(! t.WINDOW) { t.WINDOW = document.createElement("div"); t.WINDOW.style.marginBottom = "40px"; @@ -738,7 +746,7 @@ var org_html_manager = { // Move the title into the first visible section. // TODO: show title above everything if FIXED_TOC !!! - t.TITLE = t.BODY.getElementsByTagName("h1")[0]; + t.TITLE = t.PREA.getElementsByTagName("h1")[0]; if(t.INNER_TITLE && !t.FIXED_TOC && t.VIEW != t.SLIDE_VIEW) { t.INNER_TITLE = t.TITLE.cloneNode(true); /* TODO: this is still based on wrong behaviour of browsers (same id for two elements) --8<---------------cut here---------------end--------------->8--- Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Org-Mode Homepage error Date: Tue, 26 Jul 2011 23:19:49 +0200 Message-ID: <80y5zkwxhm.fsf@somewhere.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; charset=us-ascii 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 Achim and Bastien, Achim Gratz wrote: > 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. Good catch! FYI, the title has always been in the preamble. See lines 354--381 in org-html.el: #+begin_src emacs-lisp (defcustom org-export-html-preamble t "Non-nil means insert a preamble in HTML export. When `t', insert a string as defined by one of the formatting strings in `org-export-html-preamble-format'. When set to a string, this string overrides `org-export-html-preamble-format'. When set to a function, apply this function and insert the returned string. The function takes the property list of export options as its only argument. Setting :html-preamble in publishing projects will take precedence over this variable." :group 'org-export-html :type '(choice (const :tag "No preamble" nil) (const :tag "Default preamble" t) (string :tag "Custom formatting string") (function :tag "Function (must return a string)"))) (defcustom org-export-html-preamble-format '(("en" "

%t

")) "The format for the HTML preamble. %t stands for the title. If you need to use a \"%\" character, you need to escape it like that: \"%%\"." :group 'org-export-html :type 'string) #+end_src The difference I introduced is that -- when present -- the preamble (whatever its contents) is wrapped inside a "preamble" DIV. I did not change the fact that the title was part of the preamble. Though, we can wonder if it makes sense to put the title as part of the preamble. But I guess there is a good reason for it(TM). Best regards, Seb -- Sebastien Vauban 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org-Mode Homepage error Date: Thu, 28 Jul 2011 20:49:15 +0200 Message-ID: <87hb66fdg4.fsf@Rainer.invalid> 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> <87pqkvpr1u.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmVeL-0007u9-Il for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 14:49:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmVeK-0006cV-7K for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 14:49:37 -0400 Received: from lo.gmane.org ([80.91.229.12]:36722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmVeK-0006cP-2J for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 14:49:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QmVeI-0002O7-HC for emacs-orgmode@gnu.org; Thu, 28 Jul 2011 20:49:34 +0200 Received: from p57aab37d.dip.t-dialin.net ([87.170.179.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Jul 2011 20:49:34 +0200 Received: from Stromeko by p57aab37d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Jul 2011 20:49: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: emacs-orgmode@gnu.org Bastien writes: > 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 didn't have time to check if the change survives the minify script and was out the last two days. The unminified version did work on the Worg writeup from Sebastian Rose. Since he appears not to have responded to this thread so far I'll try to check what the issue with the minified version might be. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org-Mode Homepage error Date: Sun, 31 Jul 2011 19:42:16 +0200 Message-ID: <87r556uz2f.fsf@Rainer.invalid> 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> <87pqkvpr1u.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qna25-0001nL-LJ for emacs-orgmode@gnu.org; Sun, 31 Jul 2011 13:42:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qna23-0005FW-R4 for emacs-orgmode@gnu.org; Sun, 31 Jul 2011 13:42:33 -0400 Received: from lo.gmane.org ([80.91.229.12]:42037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qna23-0005FP-Hm for emacs-orgmode@gnu.org; Sun, 31 Jul 2011 13:42:31 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qna21-000838-7e for emacs-orgmode@gnu.org; Sun, 31 Jul 2011 19:42:29 +0200 Received: from p57aacf0f.dip.t-dialin.net ([87.170.207.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2011 19:42:29 +0200 Received: from Stromeko by p57aacf0f.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2011 19:42:29 +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: emacs-orgmode@gnu.org Bastien writes: > 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 That is the same file I have produced myself now. > 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. Could you be more specific what is a "no good result"? I've been generating the index.html in org-info-js and it now works without error for me. I've even found a simpler patch that is based on the class of the title heading so that it is found regardless of its position in preamble or content: --8<---------------cut here---------------start------------->8--- Diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js index 2e49e9c..b521c50 100644 --- a/code/org-info-js/org-info-src.js +++ b/code/org-info-js/org-info-src.js @@ -738,7 +738,7 @@ var org_html_manager = { // Move the title into the first visible section. // TODO: show title above everything if FIXED_TOC !!! - t.TITLE = t.BODY.getElementsByTagName("h1")[0]; + t.TITLE = document.getElementsByClassName("title")[0]; if(t.INNER_TITLE && !t.FIXED_TOC && t.VIEW != t.SLIDE_VIEW) { t.INNER_TITLE = t.TITLE.cloneNode(true); /* TODO: this is still based on wrong behaviour of browsers (same id for two elements) --8<---------------cut here---------------end--------------->8--- It seems that there may be an implicit assumption that the title is in the same DIV as the content. This seems to work OK in FF5 and Konqueror 4.6.5 (WebKit), however it may break in other browsers. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Tue, 16 Aug 2011 22:10:44 +0200 Message-ID: <8739h1i0cb.fsf@gnu.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> <87pqkvpr1u.fsf@altern.org> <87r556uz2f.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtPxg-0004j2-1d for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 16:10:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtPxd-0003ba-AV for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 16:10:08 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:51594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtPxd-0003aJ-2E for emacs-orgmode@gnu.org; Tue, 16 Aug 2011 16:10:05 -0400 Received: by wyi11 with SMTP id 11so229203wyi.0 for ; Tue, 16 Aug 2011 13:10:04 -0700 (PDT) In-Reply-To: <87r556uz2f.fsf@Rainer.invalid> (Achim Gratz's message of "Sun, 31 Jul 2011 19:42:16 +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, CC'ing Sebastian in case he can have a look. Achim Gratz writes: > Could you be more specific what is a "no good result"? Well, the HTML page was empty -- same error than with the unpatched version of org-info.js. > I've been > generating the index.html in org-info-js and it now works without error > for me. I've even found a simpler patch that is based on the class > of the title heading so that it is found regardless of its position in > preamble or content: > > Diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js > index 2e49e9c..b521c50 100644 > --- a/code/org-info-js/org-info-src.js > +++ b/code/org-info-js/org-info-src.js > @@ -738,7 +738,7 @@ var org_html_manager = { > > // Move the title into the first visible section. > // TODO: show title above everything if FIXED_TOC !!! > - t.TITLE = t.BODY.getElementsByTagName("h1")[0]; > + t.TITLE = document.getElementsByClassName("title")[0]; > if(t.INNER_TITLE && !t.FIXED_TOC && t.VIEW != t.SLIDE_VIEW) { > t.INNER_TITLE = t.TITLE.cloneNode(true); > /* TODO: this is still based on wrong behaviour of browsers (same id for two elements) If you're confident this works with this structure:

Title

...
then I will apply the patch (with a ChangeLog!) Thanks, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org-Mode Homepage error Date: Wed, 17 Aug 2011 17:58:23 +0200 Message-ID: <871uwk9gio.fsf@Rainer.invalid> 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> <87pqkvpr1u.fsf@altern.org> <87r556uz2f.fsf@Rainer.invalid> <8739h1i0cb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtiVx-0006iu-1z for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 11:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtiVu-0005lK-Fo for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 11:58:45 -0400 Received: from lo.gmane.org ([80.91.229.12]:58195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtiVu-0005lF-5o for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 11:58:42 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QtiVs-0003ie-8l for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 17:58:40 +0200 Received: from p57aac99b.dip.t-dialin.net ([87.170.201.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Aug 2011 17:58:40 +0200 Received: from Stromeko by p57aac99b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Aug 2011 17:58:40 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Bastien writes: > Well, the HTML page was empty -- same error than with the unpatched > version of org-info.js. Fetching a stale copy from cache perhaps? I did all my testing locally and changed things around to make sure it would really load the version I just created... > If you're confident this works with this structure: > >
>

Title

>
> >
> ... >
> > then I will apply the patch (with a ChangeLog!) That works for me in Firefox6 and Konqueror (both KHTML and WebKit mode) in both the minified and the source version. I've used the latest version of yuicompressor (2.4.6 instead of 2.4.2), but that should not make a difference. Proper patch attached. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Find-title-differently-to-allow-it-to-reside-in-prea.patch >From 55fd3d1b7f82460e28d8fcc50c6ea0eb41197fef Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Wed, 17 Aug 2011 17:49:56 +0200 Subject: [PATCH] Find title differently to allow it to reside in preamble * org-info-src.js: find the title heading via it's class property instead of relying on it to be the first heading in div content TINYCHANGE --- code/org-info-js/org-info-src.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js index 2e49e9c..b521c50 100644 --- a/code/org-info-js/org-info-src.js +++ b/code/org-info-js/org-info-src.js @@ -738,7 +738,7 @@ var org_html_manager = { // Move the title into the first visible section. // TODO: show title above everything if FIXED_TOC !!! - t.TITLE = t.BODY.getElementsByTagName("h1")[0]; + t.TITLE = document.getElementsByClassName("title")[0]; if(t.INNER_TITLE && !t.FIXED_TOC && t.VIEW != t.SLIDE_VIEW) { t.INNER_TITLE = t.TITLE.cloneNode(true); /* TODO: this is still based on wrong behaviour of browsers (same id for two elements) -- 1.7.6 --=-=-= Content-Type: text/plain Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Wed, 17 Aug 2011 18:18:31 +0200 Message-ID: <8739h0nh9k.fsf@gnu.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> <87pqkvpr1u.fsf@altern.org> <87r556uz2f.fsf@Rainer.invalid> <8739h1i0cb.fsf@gnu.org> <871uwk9gio.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtioV-00053J-8G for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtioT-0001WL-LR for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:17:55 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:63321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtioT-0001WD-B7 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:17:53 -0400 Received: by fxg9 with SMTP id 9so933011fxg.0 for ; Wed, 17 Aug 2011 09:17:52 -0700 (PDT) In-Reply-To: <871uwk9gio.fsf@Rainer.invalid> (Achim Gratz's message of "Wed, 17 Aug 2011 17:58:23 +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, Achim Gratz writes: > Fetching a stale copy from cache perhaps? Ah, yes, perhaps. >>From 55fd3d1b7f82460e28d8fcc50c6ea0eb41197fef Mon Sep 17 00:00:00 2001 > From: Achim Gratz > Date: Wed, 17 Aug 2011 17:49:56 +0200 > Subject: [PATCH] Find title differently to allow it to reside in preamble > > * org-info-src.js: find the title heading via it's class property instead of > relying on it to be the first heading in div content Thanks for this -- it does not apply, though. Make sure you pulled the lastest version of Worg, see commit cd473c26: cd473c26 * Test update of org-infojs This was a test I did. Since the version of org-info-js in Worg is *not* the version on http://orgmode.org/ changes here do not affect org-info-js users. Let me know, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org-Mode Homepage error Date: Wed, 17 Aug 2011 18:50:08 +0200 Message-ID: <87sjp07zjz.fsf@Rainer.invalid> 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> <87pqkvpr1u.fsf@altern.org> <87r556uz2f.fsf@Rainer.invalid> <8739h1i0cb.fsf@gnu.org> <871uwk9gio.fsf@Rainer.invalid> <8739h0nh9k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtjKE-0007OX-04 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:50:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtjKA-0000gC-J1 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:50:41 -0400 Received: from lo.gmane.org ([80.91.229.12]:50930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtjKA-0000g3-7y for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 12:50:38 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QtjK4-0004z7-La for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 18:50:32 +0200 Received: from p57aac99b.dip.t-dialin.net ([87.170.201.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Aug 2011 18:50:32 +0200 Received: from Stromeko by p57aac99b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Aug 2011 18:50:32 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Bastien writes: > Thanks for this -- it does not apply, though. Make sure you > pulled the lastest version of Worg, see commit cd473c26: > > cd473c26 * Test update of org-infojs > > This was a test I did. Since the version of org-info-js in Worg is > *not* the version on http://orgmode.org/ changes here do not affect > org-info-js users. Here's the new patch. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Find-title-differently-to-allow-it-to-reside-in-prea.patch >From 2c962fc8edbec789c7e259d0a334601638755463 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Wed, 17 Aug 2011 17:49:56 +0200 Subject: [PATCH] Find title differently to allow it to reside in preamble * org-info-src.js: find the title heading via it's class property instead of relying on it to be the first heading in div content TINYCHANGE --- code/org-info-js/org-info-src.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js index 33faaac..59833f8 100644 --- a/code/org-info-js/org-info-src.js +++ b/code/org-info-js/org-info-src.js @@ -746,7 +746,7 @@ var org_html_manager = { // Move the title into the first visible section. // TODO: show title above everything if FIXED_TOC !!! - t.TITLE = t.PREA.getElementsByTagName("h1")[0]; + t.TITLE = document.getElementsByClassName("title")[0]; if(t.INNER_TITLE && !t.FIXED_TOC && t.VIEW != t.SLIDE_VIEW) { t.INNER_TITLE = t.TITLE.cloneNode(true); /* TODO: this is still based on wrong behaviour of browsers (same id for two elements) -- 1.7.6 --=-=-= Content-Type: text/plain Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Org-Mode Homepage error Date: Thu, 18 Aug 2011 09:02:03 +0200 Message-ID: <87wrebdwyc.fsf@gnu.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> <87pqkvpr1u.fsf@altern.org> <87r556uz2f.fsf@Rainer.invalid> <8739h1i0cb.fsf@gnu.org> <871uwk9gio.fsf@Rainer.invalid> <8739h0nh9k.fsf@gnu.org> <87sjp07zjz.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtwbW-0002EA-6j for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 03:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtwbU-00055B-LG for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 03:01:26 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtwbU-000557-FH for emacs-orgmode@gnu.org; Thu, 18 Aug 2011 03:01:24 -0400 Received: by wyi11 with SMTP id 11so1385078wyi.0 for ; Thu, 18 Aug 2011 00:01:23 -0700 (PDT) In-Reply-To: <87sjp07zjz.fsf@Rainer.invalid> (Achim Gratz's message of "Wed, 17 Aug 2011 18:50:08 +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 Achim Gratz writes: > Here's the new patch. Applied, thanks! -- Bastien