On Fri, Sep 06, 2002 at 09:56:58PM +1000, Kathryn Andersen wrote: > I have some HTML files, I want to import into LyX (well, you might guess > that from the subject line). The route I am using is to use > gnuhtml2latex (that's what's available on my Debian system) to convert > the HTML to LaTex, and then use the standard LaTeX import. > (I am using LyX 1.1.6fix4; Debian doesn't have 1.2 yet) > > Unfortunately, what I get is a horrible file with lots of ERT, > for example ERT "\par" at every paragraph instead of it actually realizing > they are paragraphs.
There are several html->latex converters. See http://www.tug.org/utilities/texconv/pctotex.html > (b) someone can point me towards a resource describing LyX-file syntax > so that I can write my own direct HTML->LyX converter (though this may > be a pointless exersize since the LyX syntax has probably changed in 1.2 > anyway...) > I am not a LaTeX person, but I do know how to write Perl scripts... 8-) IF neither existing html->latex converter does a good job, I suggest you try to imporve one of them rather than write a html->lyx converter.
