Open DStrelak opened 2 years ago
For completeness, following the manual compilation guide from Chapter 5.2 on Miktex on Windows with Perl, acronyms do appear.
However, xindy
(required for makeglossaries
) is not available on Linux machines, where I try to compile the thesis.
I have not been able to reproduce xindy's behavior via makeindex
, as suggested elsewhere:
makeindex -s disertation.ist -t disertation.glg -o disertation.gls disertation.glo
results in
Scanning input file disertation.glo...done (0 entries accepted, 0 rejected).
I managed to make it work also under Miktex / TeXworks. Steps:
add new Processing tool
Edit -> Preferences -> Typesetting -> Processing tools (+)
with
Name: makeglossaries
Program: makeglossaries
Arguments: $basename
try to run it from TeXworks, I got an error message
xindy.pl: not a symlink as required for TeX Live at /home/david/.miktex/texmfs/install/scripts/xindy/xindy.pl line 418.
I commented out the offending line:
#die "$cmd: not a symlink as required for TeX Live" unless -l $0;
got another error:
xindy.pl: Cannot locate /home/david/.miktex/texmfs/install/scripts/xindy/xindy.mem at /home/david/.miktex/texmfs/install/scripts/xindy/xindy.pl line 527.
$ locate xindy.mem
/usr/lib/xindy/xindy.mem
Could be that one has to install xindy (sudo apt install xindy
)
replace $mem_file
declaration on line 510:
$mem_file = "/usr/lib/xindy/xindy.mem"
makeglossaries your_tex_file_without_extension
should now work
To compile the pdf, one has to (in TeXworks):
pdflatex
makeglossaries
pdfLaTeX+MakeIndex+BibTeX
Acronyms are not listed.
Minimal example:
Expected behavior: list of acronyms is shown somewhere in the document
Actual behavior: list of acronyms is not present in the document
What have I tried: adding 'automake' from 'glossaries' in the '.cls' file:
\@ifpackageloaded{glossaries}{\PassOptionsToPackage{acronyms,nogroupskip,nonumberlist,shortcuts,toc,automake}{glossaries}}{\RequirePackage[acronyms,nogroupskip,nonumberlist,shortcuts,toc,automake]{glossaries}}
Minimal example proving that it should in principle work: