[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Bug and feature request in HTML export

From: Rasmus Pank Roulund
Subject: [Orgmode] Bug and feature request in HTML export
Date: Tue, 10 Feb 2009 22:06:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

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: <div id="topbar">

      - [[file:index.org][Forside]]
      - [[file:eksempler.org][Eksempler]]

    #+HTML: </div>

The corrosponding HTML code looks like this:

    <div id="navbar">

    <a href="index.html">Forside</a>
    <a href="eksempler.html">Eksempler</a>


Thus, when I try to validate the site it gets errors! It should look

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 <h2> heading. It should probably be
<h1>. At least one should be able to define it as a <h1> heading.

Third (bug): Sometimes links are rendered wrong: 
 is rendered as <a 
 notice the <sub>-tags!

Forth: Sometimes it is desirable to be able to #+HTML in links and
titles. This is not possible.
For example:
 #+TITLE:      #+HTML: <span class="latex">T<sub>E</sub>X</span>
#+HTML: <span class="latex">X<sub>&#398;</sub>T<sub>e</sub>X</span>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]