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.
IMHO, the problem lies with relyx (i.e. the standard LaTeX import). It doesnot really convert the \par to paragraph-breaks. > > (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-) reLyX is perl, so you could try to improve there... guenter -- G.Milde at physik.tu-dresden.de
