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