Hi Finn,
On 15/08/2010, at 9:59 PM, Finn Aarup Nielsen <[email protected]> wrote:
> Hi Pat,
>
> On Sun, 15 Aug 2010, Ross Moore wrote:
>
>> That last statement Is not quite true. The CSS language can be used to add
>> extra information about detailed layouts for items on a webpage. When
>> LaTeX2HTML was written, the CSS specifications were in rather early stages
>> of development, and not well supported by web browsers. Nevertheless, there
>> is a mechanism to add CSS rules using LaTeX2HTML. You can learn about it in
>> the book The LaTeX Web Companion. It requires you to adjust your LaTeX
>> source somewhat, and/or edit .CSS files after the translation has been done.
>> These are things which do not happen automatically.
>
>
> Adding the line:
>
> body { line-height: 2; }
>
> ... to the generated .css file seems to do the trick.
This will affect everything in the generated HTML pages.
Though the number 2 need not be best.
In LaTeX a stretch of 1.5 is frequently used for double-spacing.
> Ideally latex2html would handle this case.
Better would be applying the rule to paragraphs only, thus avoiding headings.
For example:
> P { line-height: 1.5 }
But even this may be too much, if the double-spacing is needed only with
certain parts of the document. That requires defining a class of paragraph.
This is where it is best done with user input, via the extra macros discussed
in the LaTeX Web Companion.
> /Finn
Hope this helps,
Ross
_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html