#874 glossary.xsl: undeclared variable 'glossary.sort'

closed-invalid
nobody
XSL (1066)
8
2007-02-04
2007-02-04
No

During creation of Normal Walsh's defguide, I got:

runtime error: file file:///usr/share/xml/docbook/stylesheet/nwalsh/fo/glossary.xsl line 325 element choose
Variable 'glossary.sort' has not been declared.
make: *** [tdg.fo] Fehler 10

I changed the Makefile tdg.xml a bit to work with xsltproc:

tdg.fo: $(SOURCE)
xsltproc -o $@ $(ROOTIDPARAM) $(STYLEOPT) $(SSFO) $<

and got:

Unexpected master-reference (...) in running.foot.mode for .... No footer generated.
(repeated very often)
[..]
runtime error: file file:///usr/share/xml/docbook/stylesheet/nwalsh/fo/glossary.xsl line 325 element choose
Variable 'glossary.sort' has not been declared.
make: *** [tdg.fo] Fehler 10

and indeed, glossary.xsl does not import any glossary.sort parameter, so it's value is undeclared. Even param.xsl does not contain a glssary.xsl parameter (or should it be importet from html?).

Regards, Daniel

Discussion

  • Daniel Leidert

    Daniel Leidert - 2007-02-04
    • priority: 5 --> 8
     
  • Mauritz Jeanson

    Mauritz Jeanson - 2007-02-04

    Logged In: YES
    user_id=582041
    Originator: NO

    I can't reproduce this. Support for sorting glossary entries was added in docbook-xsl 1.72.0. The glossary.sort parameter is indeed declared in fo/param.xsl.

     
  • Daniel Leidert

    Daniel Leidert - 2007-02-04

    Logged In: YES
    user_id=1102637
    Originator: YES

    You are right. During a packaging bug, the param.xsl file was not updated and the old version did not contain a parameter fpr glossary.sort. Closing as incalid.

     
  • Daniel Leidert

    Daniel Leidert - 2007-02-04
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks