On Friday 21 January 2005 06:58, Tzafrir Cohen wrote: > 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. >
Actually, I am very fond of Docbook/XML. While being verbose, it is powerful and translates to a great deal of other formats easily, and produces perfectly valid output. As opposed to LaTeX, it is known that DocBook is not the only thing that can understand DocBook. (as it is not Turing-complete, and well-formed). I use DocBook/XML for all of my serious large-scope English-only documents. DocBook/XML main problem is that it (or at least its back-ends) don't support BiDi well, making it unusable for Hebrew or mixed Hebrew-English documents. If this was better, I would have used it for Hebrew documents as well. > As for the convertor, latex2html was not available as a debian package > on my system (non-fre?) so I tried some others. > Why not install it manually? Regards, Shlomi Fish > 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. -- --------------------------------------------------------------------- Shlomi Fish [EMAIL PROTECTED] Homepage: http://www.shlomifish.org/ Knuth is not God! It took him two days to build the Roman Empire. ================================================================= 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]