Hi, On Mittwoch 06 Februar 2008, Carlos E. R. wrote:
[...]
cer@nimrodel:~/lyx> DB=/usr/share/xml/docbook/stylesheet/nwalsh/current/ cer@nimrodel:~/lyx> xmllint --valid --noout testing_manpage.sgml testing_manpage.sgml:2: parser error : SystemLiteral " or ' expected [ <!ENTITY % output.print.png "IGNORE"> ^ testing_manpage.sgml:2: parser error : SYSTEM or PUBLIC, the URI is missing [ <!ENTITY % output.print.png "IGNORE"> ^ cer@nimrodel:~/lyx> xsltproc $DB/manpages/docbook.xsl testing_manpage.sgml testing_manpage.sgml:2: parser error : SystemLiteral " or ' expected [ <!ENTITY % output.print.png "IGNORE"> ^ testing_manpage.sgml:2: parser error : SYSTEM or PUBLIC, the URI is missing [ <!ENTITY % output.print.png "IGNORE"> ^ unable to parse testing_manpage.sgml
Well, as I wrote, you have to convert your SGML file into XML first, otherwise the method doesn't work. You can install the "opensp" package and run the osx command (or sgml2xml). This should convert your DocBook SGML file into DocBook XML. Well, at least in theory, I didn't try it. ;) SGML is still in use, but new methods and tools are implemented mostly for XML, not SGML. I tried LyX some year ago, so I can't say for sure. However, in my perspective, I would better recommend a "real" *XML editor*, like Emacs, jEdit, ... This gives you the opportunity that your editor supports the DocBook elements natively. Wherever you are in your text, the editor suggests the correct element(s) in the current context.
Maybe you have to convert your SGML file into XML first, depends on your file.
Lyx can generate docbook as sgml or xml. But the error is similar :-(
Show us the code, please! :)
[...]
Tom -- Thomas Schraitle ---------------------------------------------------------------------- SUSE LINUX GmbH >o) Documentation Specialist Maxfeldstrasse 5 /\\ 90409 Nuernberg _\_v http://en.opensuse.org/Documentation_Team http://developer.novell.com/wiki/index.php/Lessons_for_Lizards --------------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org