[texhax] Using hevea

Steve Revilak steve at srevilak.net
Tue Sep 13 03:30:37 CEST 2011


>I am trying to learn how to blog, and most things I write about
>emacs in HTML mode is fine.  I can then cut and paste from emacs
>to the "editor" the blog has.
>
>This last document started getting complex, and among other things
>I thought a Table of Contents would be useful.  Manually making
>the ToC and keeping it in sink with the evolving structure of the
>document got to be a pain.  Time to investigate LaTeX to HTML.

Gordon,

Since you're already using emacs to compose your blog posts, you might
consider trying org-mode [1].  Org-mode can convert an
outline-structured text document to HTML (or LaTeX), and it can
generate a TOC for your documents.


[1] http://orgmode.org/

Steve




>I started with tex4ht.  It seems to be too interested in
>presentation, and most of the structure seems to be in the
>attributes of tags.  And way too many <div> and <span> for me to
>work with.  I then tried hevea, and it seems workable.
>
>Hevea doesn't seem to know anything about hyperref.  So, I am
>getting warnings about underscores and improper anchors, but that
>is editable.  The biggest annoyance seems to be tables.  While you
>can define a table in HTML that only has a body, the HTML
>definition allows for HEAD, BODY and FOOTER.  And in LaTeX, a
>table only has content.  So, every table will need polishing.
>Which is fine, I might even be able to figure out how to get perl
>to rewrite the HTML to do this.
>
>This note is not a complaint.  It is an observation.  Hopefully it
>helps others.  It may be that I haven't found the best solution
>yet.  And advice along that line is also welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20110912/155469e1/attachment.bin>


More information about the texhax mailing list