On Wed, Sep 20, 2000 at 03:48:08PM +0100, Jose Abilio Oliveira Matos wrote:
> One more problem that I forgot,
>   when exporting from linuxdoc to dvi lyx hangs, probably because
> latex ask some inputs and then lyx is suspended. Killing latex and taking
> lyx again to background solves the problem.

This is because sgml2latex doesn't put "\batchmode" at the latex file, so
when there is a latex error, latex will wait indefinitely for the user input.

>   I don't have any idea what is causing this. The resulting file when
> exported outside of lyx works without a flaw.

On my machine, when I export to latex, and run latex, I get the following error
"! Package babel Error: You haven't specified a language option."
because the latex file contain "\usepackage{babel}", but no language is
selected.

A solution to this problem is to use "sgml2latex -o dvi" for converting from
linuxdoc to dvi (instead of using sgml2latex -o tex for linuxdoc->tex and
latex for tex->dvi). You just need to add the line
\converter sgml dvi "sgml2latex -o dvi $$FName" ""
to the lyxrc file.

Reply via email to