From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Pank Roulund Subject: Bug and feature request in HTML export Date: Tue, 10 Feb 2009 22:06:40 +0100 Message-ID: <82wsbyatnj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWzok-0001g7-Lx for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 16:06:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWzok-0001fp-0M for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 16:06:54 -0500 Received: from [199.232.76.173] (port=44142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWzoj-0001fh-Mt for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 16:06:53 -0500 Received: from main.gmane.org ([80.91.229.2]:47246 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWzoi-00022P-GC for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 16:06:53 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWzof-00074n-JS for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 21:06:49 +0000 Received: from port293.ds1-aboes.adsl.cybercity.dk ([212.242.226.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 21:06:49 +0000 Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 21:06:49 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, There seems to be a bug in HTML export. I am using Org for making a (fancy) web site. I define the top menu via a list which is made fancy via CSS. The Org file looks like this: #+HTML:
- [[file:index.org][Forside]] - [[file:eksempler.org][Eksempler]] #+HTML:
The corrosponding HTML code looks like this: Thus, when I try to validate the site it gets errors! It should look like ... I tried to insert a comment (#) after the list but Org still ended div before ul. I also have a couple of feature request/bug reports for html export: First: it would be nice if one could specify the location of the title similar to the [TABLE-OF-CONTENTS] option. At the moment it seems to always be placed in the top of the page, which might not be desirable. Second: I do not know if this is a feature, but * Heading (i.e. a first level heading) is marked as a

heading. It should probably be

. At least one should be able to define it as a

heading. Third (bug): Sometimes links are rendered wrong: [[http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html]] is rendered as http://etext.library.adelaide.edu.au/k/keynes/johnmaynard/k44g/k44g.html notice the -tags! Forth: Sometimes it is desirable to be able to #+HTML in links and titles. This is not possible. For example: #+TITLE: #+HTML: TEX or [[http://scripts.sil.org/xetex][ #+HTML: XƎTeX ]] Thanks, Rasmus From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug and feature request in HTML export Date: Tue, 10 Feb 2009 23:53:23 +0100 Message-ID: <8A8BB431-CFF6-4F82-99FA-C2B84AF4C067@uva.nl> References: <82wsbyatnj.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LX1Tt-00075V-Um for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:53:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LX1Ts-00074z-76 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:53:29 -0500 Received: from [199.232.76.173] (port=55474 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LX1Ts-00074w-2J for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:53:28 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:64894) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LX1Tr-0005he-H5 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 17:53:27 -0500 Received: by ewy13 with SMTP id 13so231755ewy.18 for ; Tue, 10 Feb 2009 14:53:26 -0800 (PST) In-Reply-To: <82wsbyatnj.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Pank Roulund Cc: emacs-orgmode@gnu.org On Feb 10, 2009, at 10:06 PM, Rasmus Pank Roulund wrote: > Hello, > There seems to be a bug in HTML export. > I am using Org for making a (fancy) web site. > I define the top menu via a list which is made fancy via CSS. > > The Org file looks like this: > > #+HTML:
> > - [[file:index.org][Forside]] > - [[file:eksempler.org][Eksempler]] > > #+HTML:
Org cannot know that you do want to end the list here, the HTML insertion might be part of the list. I do not know how to fix this. > > I also have a couple of feature request/bug reports for html export: > > First: it would be nice if one could specify the location of the title > similar to the [TABLE-OF-CONTENTS] option. At the moment it seems to > always be placed in the top of the page, which might not be desirable. It seems to me quite reasonable to put it at the top of the page. Don't forget that Org is not a full HTML editor, it just tried to do a good job at converting your file. > Second: I do not know if this is a feature, but * Heading (i.e. a > first > level heading) is marked as a

heading. It should probably be >

. At least one should be able to define it as a

heading. See `org-export-html-toplevel-nlevel', and also see http://orgmode.org/worg/org-tutorials/org-customize.php > Third (bug): Sometimes links are rendered wrong: > [[http://etext.library.adelaide.edu.au/k/keynes/john_maynard/k44g/k44g.html > ]] > is rendered as http://etext.library.adelaide.edu.au/k/keynes/johnmaynard sub>/k44g/k44g.html > notice the -tags! You do not have a recent version of Org-mode. Please always try the latest version before reporting bugs. > Forth: Sometimes it is desirable to be able to #+HTML in links and > titles. This is not possible. > For example: > #+TITLE: #+HTML: TEX > or > [[http://scripts.sil.org/xetex][ > #+HTML: XƎTeX > ]] This is not supported currently, and I am not sure we will get there. For this specific case you will get away with #+TITLE: @T@E@X@ However, if you need this much or more control, maybe Muse will be a better option. - Carsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Pank Roulund Subject: Re: Bug and feature request in HTML export Date: Wed, 11 Feb 2009 00:17:43 +0100 Message-ID: <82iqnhevag.fsf@gmail.com> References: <82wsbyatnj.fsf@gmail.com> <8A8BB431-CFF6-4F82-99FA-C2B84AF4C067@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LX1rc-0007qg-T6 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 18:18:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LX1ra-0007pU-CA for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 18:17:59 -0500 Received: from [199.232.76.173] (port=44453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LX1ra-0007pN-8w for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 18:17:58 -0500 Received: from main.gmane.org ([80.91.229.2]:52392 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LX1rY-0008Az-Qt for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 18:17:58 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LX1rU-0003gu-6U for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 23:17:52 +0000 Received: from port293.ds1-aboes.adsl.cybercity.dk ([212.242.226.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 23:17:52 +0000 Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 23:17:52 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: Hello, > Org cannot know that you do want to end the list here, the HTML > insertion might be part of the list. > > I do not know how to fix this. I see your point. But if i have a lot of blank lines it probably should not be included. Somehow one needs to signal to Org that this is not part of the list. The most obvious signal seems to be a lot of blank lines, or does that solution contain undesirable sideeffects? > It seems to me quite reasonable to put it at the top of the page. Sure, but it might be useful to have the title several places on the site. Sometimes it might be useful to place it elsewhere than the top. > Don't forget that Org is not a full HTML editor, it just tried to do a > good job at converting your file. I know :-) But it is still the best HTML "editor"/parser I have used in a looong time! The publish feature is fantanstic. Good job BTW! > You do not have a recent version of Org-mode. Please always try the > latest version before reporting bugs. I have 6.22b but the page had not been refreshed with the new version. Sorry! > This is not supported currently, and I am not sure we will get there. Maybe one day :-) > For this specific case you will get away with ... Thanks! > However, if you need this much or more control, maybe Muse will be a > better option. Org rocks. 'Nuff said :-) BTW: Is it possible make part of a word italicized. I.e. Ti/k/Z where the 'k' is italicized? Thanks for Org. -Rasmus From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Bug and feature request in HTML export Date: Wed, 11 Feb 2009 01:51:51 +0100 Message-ID: <87zlgt4wyg.fsf@kassiopeya.MSHEIMNETZ> References: <82wsbyatnj.fsf@gmail.com> <8A8BB431-CFF6-4F82-99FA-C2B84AF4C067@uva.nl> <82iqnhevag.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LX3HT-0007iI-MR for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 19:48:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LX3HR-0007i4-Qu for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 19:48:47 -0500 Received: from [199.232.76.173] (port=41156 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LX3HR-0007i1-L6 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 19:48:45 -0500 Received: from mail.gmx.net ([213.165.64.20]:57626) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LX3HR-0006Sr-09 for emacs-orgmode@gnu.org; Tue, 10 Feb 2009 19:48:45 -0500 In-Reply-To: <82iqnhevag.fsf@gmail.com> (Rasmus Pank Roulund's message of "Wed, 11 Feb 2009 00:17:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Pank Roulund Cc: emacs-orgmode@gnu.org Rasmus Pank Roulund writes: > Carsten Dominik writes: > > Hello, > >> Org cannot know that you do want to end the list here, the HTML >> insertion might be part of the list. >> >> I do not know how to fix this. > I see your point. But if i have a lot of blank lines it probably should > not be included. Somehow one needs to signal to Org that this is not > part of the list. The most obvious signal seems to be a lot of blank > lines, or does that solution contain undesirable sideeffects? M-x customize-variable RET org-empty-line-terminates-plain-lists will do what you need. Regards, -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Pank Roulund Subject: Re: Bug and feature request in HTML export Date: Thu, 12 Feb 2009 19:17:47 +0100 Message-ID: <82zlgrikok.fsf@gmail.com> References: <82wsbyatnj.fsf@gmail.com> <8A8BB431-CFF6-4F82-99FA-C2B84AF4C067@uva.nl> <82iqnhevag.fsf@gmail.com> <87zlgt4wyg.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXg8T-0007XX-2U for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 13:18:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXg8R-0007XE-3z for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 13:18:04 -0500 Received: from [199.232.76.173] (port=51322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXg8R-0007XB-1B for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 13:18:03 -0500 Received: from main.gmane.org ([80.91.229.2]:35413 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXg8Q-0007g4-NY for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 13:18:02 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LXg8L-00056j-5j for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 18:17:57 +0000 Received: from port293.ds1-aboes.adsl.cybercity.dk ([212.242.226.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Feb 2009 18:17:57 +0000 Received: from rasmus.pank by port293.ds1-aboes.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Feb 2009 18:17:57 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello Sebastian, > M-x customize-variable RET org-empty-line-terminates-plain-lists > will do what you need. Thank you so much. It worked like a charm. Have a nice weekend. Cheers, Rasmus