Bug Tracker
I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)
ID | 281🔗 |
---|---|
Date: | 2024-09-22 18:58:42 |
Last update: | 2024-09-22 19:24:49 |
Status | Closed (Not a Bug) |
Category | glossaries-extra |
Version | 1.53 |
Summary | Document incomplete on 2nd ff compiles |
Sign in to subscribe to notifications about this report.
Description
Aloha!Having persistent problems with glossaries-extra, persisting for several months in spite of a recent MikTek update. Consistently get a "This document is incomplete" page where glossaries-extra has worked previously, even though I am attempting to generate a single glossary I consider rather simple (a glossary of notations). Toc, index, bibliography, endnotes, etc. all work fine.
After struggling with my own input file for a while, I decided to try the MWEs distributed with the latest glossaries-extra package. I successfully ran sample.tex without getting the "document incomplete" page. I then tried changing document class to memoir, which is what I'm using in my application. Got "document incomplete" page. Tried book; ditto. Changed back to article; ditto. Changed to sample-abbr-style.tex without changing document class; ditto. Changed to sample-abbrv.tex without changing document class; ditto. At that point I invoked the quote attributed to Einstein: "Insanity is doing the same thing over and over again and expecting different results."
I modified the attached mwe.tex file slightly, adding an undefined command near the end, to ensure that I could capture a .log file.
I may be able to provide additional information if helpful.
Mahalo (Hawaiian for "thank you"),
Mike McCurdy (aka "hammajang")
MWE
Download (472B)
% arara: pdflatex % arara: makeglossaries % arara: pdflatex % arara: pdflatex \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[stylemods=mcols,style=mcolindex]{glossaries-extra} \makeglossaries \loadglsentries{example-glossaries-brief} \begin{document} \tableofcontents \section{Sample} Entries: \forglsentries{\thislabel}{\gls{\thislabel}. } \toxttt{Deliberate undefined command to allow capture of .log file} \printglossaries \end{document}
Evaluation
Aside from your intentional error, the document compiles correctly. You don't need an error to obtain the log file. It should be in the same directory as the tex file.
Your file is called sample.tex so the log file will be sample.log in the same directory. (According to your log file the directory is called samples.)
I know you said you're using MikTeX but you haven't mentioned what interface you're using to write the source code and build the document (for example, TeXworks, WinEdt). Are you clicking on a button marked "LaTeX" or are you using an automation tool such as arara or latexmk?
The error is preventing the process from being completed. The log file shows no aux file, which indicates that this was a refresh run with no associated files (which are required for a complete document). I'm guessing that you're only running LaTeX and not makeglossaries.
I'm going to have to close this as "not a bug" as the supplied example file correctly produces a document with a glossary provided that the three required steps are taken (and provided that the misspelt command is removed):
pdflatex sample makeglossaries sample pdflatex sample
Try Incorporating makeglossaries or makeglossaries-lite or bib2gls into the document build and check if your LaTeX editor is listed. For example, if you are using TeXworks, go to the TeXworks section.
If you're still stuck, try adding automake
to the list of package options:
\usepackage[automake,stylemods=mcols,style=mcolindex]{glossaries-extra}
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=281