On Sunday 06 October 2002 02:42 pm, Carlos E. R. wrote:
Hi,
I'm trying to write a small article using lyx with the "DocBook article (SGML)" class, with dissapointing results.
I can view as dvi, postscript or pdf; but the TOC and the images fail to be produced. I can not even view as html, no file.
However, I can export to sgml (or DocBook), and from that file manually export to html using "docbook2html texto.sgml" on a console, and I get better results: at least the html files are produced. The TOC is there, but the images lack the extension on their names, so that the html files have to be manually edited. Using "sgml2html texto.sgml" produces the same bad results.
But there is worse. The html production stops, as the conversion complains with:
jade:I: maximum number of errors (200) reached; change with -E option
and the html document stays incomplete. Thus, I edited the file "/usr/share/sgml/docbook/utils-0.6.6/backends/html" and changed a line; it said:
$SGML_JADE -t sgml $SGML_ARGUMENTS
it reads now:
$SGML_JADE -E 500 -t sgml $SGML_ARGUMENTS
So now the document is fully parsed, but with many errors; it begins as follows:
I know this isn't the answer you asked for, but IMO, LyX isn't the thing to be using. Learn to work with XEmacs + psgml. http://www.sagehill.net/xml/docbookxsl/ Yes this means looking at tags and not exactly WYSIWYM, but, take my advice, I've attempted both. The XEmacs is the better solution. This will also work with Emacs. I prefer XEmacs because of the package management features, and because people who use XEmacs are just cooller. STH