José Abílio Oliveira Matos <[EMAIL PROTECTED]> schrieb am 19.10.04 15:24:00: > > > Well...that's precisely what happened to me, believe it or not. > > My documents worked with underscores in the labels, then I upgraded > > DocBook, openjade and the rest - and suddenly they did not work. > > But then it wasn't the docbook committee but probably the packager > decision to comply with the rest of the world. (Notice that I am not > criticizing you, you are free to change your SGML declaration according to > the standard.) >
Yes, you are right, it might have been the packager too (SuSE). I will never know. > If you use a different SGML declaration that can be configured as I have > shown before. Actually it is enough to have this file in your local lyx > directory for layouts ( usually $HOME/.lyx/layouts) this modified version of > db_stdclass.inc > > ------------------------- > Input db_stdclass.inc > ClassOptions > Other "CNAME=..." > End > ------------------------- > > That means that every docbook classes will work. This means thus that all > your documents will work. > Now that I have thought a bit about it (and read your message a lot of times ;-) ), I come to believe that I prefer both solutions, yours and Andreas' one. They are not mutually exclusive, so they could be implemented both. I would then have the option to mangle IDs or not (ehh... "force SGML/XML compliance") and if I choose to mangle them, I can still decide to change my SGML Declaration and use the trick with CNAMES to tell LyX to leave my special characters (underscores or whatever) unmangled. I think that would be an ideal solution. It would be even more ideal, if I would not have to tweak cryptic files, but could insert my special characters in some dialog. But I can live with the file solution too, for the moment. -- Regards Chris Karakas http://www.karakas-online.de