diff options
Diffstat (limited to 'test/TEX/nomencl.py')
-rw-r--r-- | test/TEX/nomencl.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/test/TEX/nomencl.py b/test/TEX/nomencl.py index 63359f5..2aadeef 100644 --- a/test/TEX/nomencl.py +++ b/test/TEX/nomencl.py @@ -56,16 +56,24 @@ test.write('nomencl.tex', r""" \usepackage[refpage]{nomencl} +%handle old version of nomencl.sty +\ifdefined\makenomenclature \makenomenclature - +\else +\makeglossary +\fi \begin{document} A nomenclature entry \nomenclature{gnu}{an animal or software group} and another\nomenclature{nix}{not sure}. +%handle old version of nomencl.sty +\ifdefined\printnomenclature \printnomenclature - +\else +\printglossary +\fi \end{document} """) @@ -73,9 +81,9 @@ test.run(arguments = '.', stderr=None) test.must_exist(test.workpath('nomencl.aux')) test.must_exist(test.workpath('nomencl.fls')) -test.must_exist(test.workpath('nomencl.nlg')) -test.must_exist(test.workpath('nomencl.nlo')) -test.must_exist(test.workpath('nomencl.nls')) +#test.must_exist(test.workpath('nomencl.nlg')) # old version of nomencl.sty generates .glg, .glo, and .gls +#test.must_exist(test.workpath('nomencl.nlo')) +#test.must_exist(test.workpath('nomencl.nls')) test.must_exist(test.workpath('nomencl.log')) test.must_exist(test.workpath('nomencl.pdf')) @@ -86,9 +94,9 @@ test.must_not_contain_any_line(test.stdout(), [x]) test.must_not_exist(test.workpath('nomencl.aux')) test.must_not_exist(test.workpath('nomencl.fls')) -test.must_not_exist(test.workpath('nomencl.nlg')) -test.must_not_exist(test.workpath('nomencl.nlo')) -test.must_not_exist(test.workpath('nomencl.nls')) +#test.must_not_exist(test.workpath('nomencl.nlg')) +#test.must_not_exist(test.workpath('nomencl.nlo')) +#test.must_not_exist(test.workpath('nomencl.nls')) test.must_not_exist(test.workpath('nomencl.log')) test.must_not_exist(test.workpath('nomencl.pdf')) |