Re: latex paragraph export
Andre, Thanks for your reply. It finally occurred to me to look at the html source produced by latex2html (view source while displayed by browser) The header info contained a reference to a stylesheet. This turned out to be an external file with an extension of .css (cascading style sheets) that was generated by latex2html. I hunted around on the net and found specs for css files. Was able to solve the problem! For indented paragraphs with no line skips in html display generated by latex2html: P {text-indent: 2em} P {margin-top: 0em} add the above 2 commands to the filename.css file created automatically by latex2html Probably there is some style or other that would cause this to happen, but I can't find it or figure out how latex2html references it. How pdflatex figures it out is a mystery. tth blows up on me, so it may work fine; I don't know. My novel goes up tomorrow, worldwide (love the net), at: http://home.maine.rr.com/wetterau John
Re: latex paragraph export
> Lyx 1.1.3 is producing great PS output with indented paragraphs and no > line skip between them. Pdflatex produces the same output in PDF format > (indented paragraphs with no line skip). > Latex2html, however, takes the same .tex file that was used by pdflatex > and produces html code with no paragraph indents and with a line skip > between each paragraph. Well, HTML does not know anything about displaying by itself. It just says 'start a new paragraph'. How this shows up on your display depends on your browser. So it's actually neither a LyX nor a HTML 'problem'. > Have been through the latex2html docs and mail list archives and can > find no switch or way to control this. The .tex file also has no indents > and line skips, so latex2html seems to be converting it exactly. Yet > pdflatex takes the same input and produces indented PDF code. How does > it know to do this, while latex2html doesn't? There are \parskip and \parindent macros, probably defined in the .cls you use. Over here e.g. the defaults \parskip ~ 1ex and \parindent = 0 are quite common, and that's what you get when you use 'german'. (In LyX you can switch between the two by Layout->Document->Separation->Skip/Indent, but that's of no help for you, since you have already chosen 'Indent'...) > Any ideas? There must be a simple answer, but after a day of screwing > around I've been unable to find it. If you really, really need to 'fix' your html, you could try to add indentation by protected spaces (try to replace every by - but that's an awful hack. Andre' -- Andre' Poenitz .. [EMAIL PROTECTED]
latex paragraph export
Lyx 1.1.3 is producing great PS output with indented paragraphs and no line skip between them. Pdflatex produces the same output in PDF format (indented paragraphs with no line skip). Latex2html, however, takes the same .tex file that was used by pdflatex and produces html code with no paragraph indents and with a line skip between each paragraph. Have been through the latex2html docs and mail list archives and can find no switch or way to control this. The .tex file also has no indents and line skips, so latex2html seems to be converting it exactly. Yet pdflatex takes the same input and produces indented PDF code. How does it know to do this, while latex2html doesn't? Any ideas? There must be a simple answer, but after a day of screwing around I've been unable to find it. Thanks, John P.S. when this problem is solved, anyone who wishes to read my novel "Joe Burke's Last Stand" can, at: http://home.maine.rr.com/wetterau