Ozgur Ugras BARAN wrote: > On 11/4/06, Georg Baum >> I did some testing and changes and put it in. >> I discovered that the latest version of the nomencl package has a chnaged >> interface, therefore I used that instead of the old one. It is possible >> to support the old one, too, but I don't think that is is worth the >> effort. >> > Yes, I know it has changed. However, it is quite new and some > distributions (like my SuSe 10.1) still contains the older version. As > far as I know, the reason why the \printglossary command has changed > is that it conflicts with the same command in gloss (and maybe other) > package(s). Both versions of nomencl accept the old command, therefore > I wanted to be in the safe side by using old commands.
The old command does only work with an additional package option in the new version, and the extensions of the created files are changed. I know that the current nomcl version is quite new, but texlive has it. Apart from that it is a new LyX feature, so if somebody wants to use it he can for some time be expected to install a new nomencl package. As time passes this version will eventually be more widespread. >> Thwe nomencl stuff is not completely finished yet. For example, the >> docbook export is missing (I did not want you to remove the commented >> stuff, but actually implement it!), and we need an icon for the toolbar. >> I also get warnings like >> > Well, I don't know what the docbook is and why we export to it.. See http://www.docbook.org. > I > have red the glossary entry and I have the same draft version with > yours, but I didn't want to send some code that I don't know if it is > working or not. A version without docbook support is still sensible, > because: > > - Lyx-1.5 is about to be feature freeze. Therefore, new format change > will not be allowed till lyx-1.6. This is no file format change. The inset is in, it just does not export anything for docbook document types. > - LyX main focus is LaTeX not docbook. This is not a showstopper for > docbook, either. > - Docbook glossaries not that straightforward, as I see. I don't think it is that difficult: You could collect the glossary entries in InsetNomencl::validate() and store them in a new field in OutputParams::exportdata. InsetPrintNomencl::docbook() would then output this data to the file. > - I will not be available after 25th of this month for between 5 to 12 > months. I don't know if I can still have energy to update from for so > many months and add docbook support. > - Since I won't be available, it would be nice that this goes in trunk > and when xml port is in the works, somebody process it in the batch. This is entirely independant of xml, since the stuff that gos in the LyX file is already defined. docbook is simply another backend of LyX: Most document classes are LaTeX based, some are docbook based. >> QWidget::setMinimumSize: (QNomenclUi/lyx::frontend::QNomenclDialog) >> Negative sizes (-1,-1) are not possible >> >> on the console. >> > > I don't have it here.. What is your warning flags. Which warning flags? I did not set anything, this is just qt4 from debian unstable. Maybe it is connected to the dialog size problems I have. > I am doing my best to fulfill the requirements. I have already > finished the multiindex stuff, but I am cleaning up the things for a > couple of days. As I said I won't be available for a long time, and am > in kind of a hurry. Therefore, If that source have some glitches here > and there, please forgive me and just put it in the trunk or an > experimental branch. If you think you can not complete the docbook export please add a bugzilla entry. If you can do it you will get extra credits: Implementing a new feature is fun, but polishing it requirs some additional work and is normally not so fun... > By the way, Thanks a lot for your effort on my code. You are welcome. But I don't have time to do so for the multiindex stuff. Georg