Op Tue February 5 2008, schreef Carlos E. R.:
Hi,
I continue with my impossible quest of getting LyX to work in SuSE.
There is a list of examples, and I'm particularly interested in this one I got I don't remember where from:
.../lyx-1.3.4/lib/examples/linuxdoc_manpage.lyx
because I'm trying to translate to Spanish a manpage, and a GUI would be perfect for this unattainable task, as I know nothing of troff, tex, whatever.
But the examples do not work! I get the following error:
] cer@nimrodel:~/Projects/babel/LyX> Warning: Unknown document class ] ---------------------------------------- ] Using the default document class, because the class manpage is unknown.
I should be surprised by now, that a needed class is not included. I do not even know what package contains LyX classes!
Perhaps it is the file "/usr/share/lyx/layouts/manpage.layout"? But how do I tell LyX to use it own layouts? I have no idea. If "manpage.layout" is in the system, and it says:
#% Do not delete he line below; configure depends on this # \DeclareLinuxDocClass[manpage]{LinuxDoc manpage (SGML)} # LinuxDoc manpage textclass definition file.
why then does it says it knows nothing about class "manpage", when it is clearly there and installed?
I don't understand.
I admire your tenacity, Carlos. :-) I was asking myself the exact same question while trying to get your docbook example to work. It would balk about a missing class where it was apparent that it was there for all to see in /usr/share/lyx/layouts. Go to Help>LateXConfig and check if the linuxdoc class (4.28) has been found. In my case it says it isn't and that I need the sgml-tools set of programs installed. Hm. In fact the sgml-tools have been discontinued and replaced by sgmltools-lite. Installing that was sufficient to get the docbook to work. Well, work is putting it mildly, the conversion to dvi and pdf is excruciatingly slow and mathematical formulae aren't handled correctly. This apparently is *not* sufficient to make a linuxdoc though, so my hunch is, that the sgml support from lyx is extremely flaky. But since you are making a straight text document, you could as well use lyx in its natural habitat, Latex. The only things you need are things like "section", "subsection" etc in the drop down menu at the top left. You don't have to know or learn Latex, since you can export straight to pdf. It's a bit like the good old WordPerfect days: you may use the "under water" code but you don't have to. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org