followup, as the thread came up anyway

On Tue, Jan 18, 2005 at 02:08:56PM +0200, Tzafrir Cohen wrote:
> On Tue, Jan 18, 2005 at 07:15:42AM +0200, [EMAIL PROTECTED] wrote:
> 
> > Maxim's suggestion on using html for the draft seems interesting.
> > It's a long time I am looking for a good pretext to learn writing
> > HTML (without that, I lack the motivation to persevere).
> 
> There are a number of filters that conver plain text with "markup" to
> HTML or RTF. Check the latex->html route or the wiki/pod route. 

I lately needed to write an FAQ html document as HTML. I figured that I
liked the structure that LaTeX gives me. I wrote a simple \quest macro
that formats the question (a subsection), labels it, and gives it an
optional "long version". So my document looks like:

\quest{label}{Why is there A}
{When I run B after C has been stopped, why do I get A?}

Naturally I defined logical markup for everything. e.g: 
\newcommand{\pathname}[1]{\mbox{\texttt{#1}}}

With hyperref I can add external links. I rather not use
convertor-specific jargon if I can avoid it. hyperref is well-suported.

Docbook and XML formats always seem to nme as over-verbose. 

As for the convertor, latex2html was not available as a debian package
on my system (non-fre?) so I tried some others.

The one I most liked was something called hevea, written on ocaml. It
can easily generate clean html output. Works well. The only way to
remove its footer, though, is using a (empty?) footer include file.

But I eventually had a little thing I could not tweak it to do (don't
remember exactly what), so I tried some others. The one I ended up using
in the end is tex4ht .

A bit uglier than hevea, and the html code is not as good, but happened
to be just what I needed.

-- 
Tzafrir Cohen         | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage                       | a Mutt's  
[EMAIL PROTECTED] |                                    |  best
ICQ# 16849755         | Space reserved for other protocols | friend

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to