changed the test case for glossaries to a more straight forward way

This commit is contained in:
Manoel Brunnen 2016-03-30 02:30:05 +02:00
parent 7b5db91425
commit b53a8f6d6e
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
\newglossary[gla]{gloss}{glb}{glc}{Glossar}
\newglossary[sya]{symbols}{syb}{syc}{Symbolverzeichnis}
\newglossary*{gloss}{Glossary}
\newglossary*{symbols}{List of symbols}
\makeglossaries

View File

@ -1,9 +1,9 @@
add_cus_dep( 'glc', 'glb', 1, 'makeglc2glb' );
add_cus_dep( 'syc', 'syb', 1, 'makesyc2syb' );
add_cus_dep( 'gloss-glo', 'gloss-gls', 0, 'makegloss' );
add_cus_dep( 'symbols-glo', 'symbols-gls', 0, 'makesymbols' );
sub makeglc2glb {
system( "makeindex -s \"$_[0].ist\" -t \"$_[0].gla\" -o \"$_[0].glb\" \"$_[0].glc\"" );
sub makegloss {
system( "makeindex -t \"$_[0].gloss-glg\" -s \"$_[0].ist\" -o \"$_[0].gloss-gls\" \"$_[0].gloss-glo\"" );
}
sub makesyc2syb {
system( "makeindex -s \"$_[0].ist\" -t \"$_[0].sya\" -o \"$_[0].syb\" \"$_[0].syc\"" );
sub makesymbols {
system( "makeindex -t \"$_[0].symbols-glg\" -s \"$_[0].ist\" -o \"$_[0].symbols-gls\" \"$_[0].symbols-glo\"" );
}

View File

@ -9,7 +9,7 @@
\addbibresource{~/.vim/bundle/vimtex/test/completion/local2.bib}
\usepackage[nonumberlist,acronymlists={gloss,symbolslist}]{glossaries}
\input{glossary.tex}
\loadglsentries{glossary}
\includeonly{sub1,sub2 with spaces}