Re: [Orgmode] Bug and feature request in HTML export

2009-02-10 Thread Carsten Dominik


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/john_maynard/k44g/k44g.html 
">http://etext.library.adelaide.edu.au/k/keynes/johnmaynardsub>/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



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Bug and feature request in HTML export

2009-02-10 Thread Rasmus Pank Roulund
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:





Forside


Eksempler






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/john_maynard/k44g/k44g.html";>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



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode