Questions tagged [debugging]
is about finding the cause of errors or wrong results in (La)TeX code/documents using a methodical approach.
408 questions
1
vote
1
answer
58
views
Using includecomment and include causes runaway fragile frames
I customized my Beamer files to have:
different backgrounds depending on the programming language (from Changing the background color of a listing depending on the language)
some frames shown ...
5
votes
2
answers
240
views
XeLaTeX PDF image duplication issue
I found that loading images works fine under pdflatex,
but under xelatex it shows images I had deleted long ago. It can be seen that, in addition to the five images, several more images have appeared....
2
votes
2
answers
848
views
Best order of packages, according to Claude AI [duplicate]
I'm trying to polish a typical template that I frequently use to write books on maths and physics (so I usually load a large set of packages!). Some packages may be old and obsolete, others may clash ...
1
vote
0
answers
52
views
glossaries-extra style topic breaks paragraph in description of \newlineglossaryentry
I have been experimenting with using glossaries-extra for a project and have found it very useful, except I have encountered an issue that I have been unable to overcome.
I have narrowed it down to ...
2
votes
2
answers
120
views
How do I define tags that help me to keep track of concept definitions?
When I edit a LaTeX document, it often happens that I need to move a section or a paragraph to another place inside the same document. If this happens several times, it can become difficult to confirm ...
1
vote
1
answer
62
views
Debugging (tracing) pgfplots sample point coordinates
Is there a way to debug (trace to the log file) coordinates of sample points or any intermediate calculations. For example, \addplot3 used below uses 3 points (0,0,2), (1,0,1) and (2,0,0) to draw the ...
1
vote
2
answers
195
views
Analysis of a `log` file [duplicate]
Is there a tool to help analyze the log files produced by (La)TeX? For example, this type of tool should be able to list all warnings issued.
1
vote
1
answer
54
views
Writing functions horizontally error
I have been trying to define two functions horizontally in latex using align*, flalign*, aligned etc. All manner of permutations of these. I can't seem to get it to work or rid myself of an error. ...
1
vote
0
answers
45
views
MWE works, but quiz doesn't. How is a difference in environment changing the outcome?
I have two files, was going to post an MWE but made it work.
I have tried to find the difference between the MWE and the original, and all I can see is that I created a new (ultra-simple) quiz ...
0
votes
1
answer
98
views
How to debug "Missing $ inserted"
I have a large LaTeX document that was compiling without warnings in Ubuntu 22.04. Now I had to move to Fedora 40 and, when I try to compile it, it produces hundreds of ! Missing $ inserted., ! ...
1
vote
1
answer
61
views
LaTeX not numbering theorems consecutively
I have a LaTeX document with a weird bug - the numbering of the theorems is not continuous. Theorem 0.0.1 is followed by Theorem 0.0.5 instead of 0.0.2. I have attached the MWE and the screenshot from ...
1
vote
0
answers
50
views
beforesecskip occasionally failing in memoir
I'm typesetting a long and complex book with memoir class. In two cases, \beforesecskip seems to be ignored, in a rather random way which wonders me (I have been using memoir for a couple of years now,...
2
votes
1
answer
141
views
Invalid arara error when running YAML directive from TeXShop
I'm using arara to play a Waves.mp3 sound file when TeXShop starts, and completes, typesetting my LuaLaTeX project file (~20 minutes), mainly as a gentle alert that the typesetting is complete.
The ...
0
votes
1
answer
124
views
TeX processor version check/assertion?
I want to make sure my document (or document class) is being processed by a recent-enough XeLaTeX. Is this at all possible?
I know there's a \IfPackageAtLeast LaTeX kernel command, apparently; what ...
0
votes
0
answers
61
views
Latex installation or workspace configuration breaking \begin{enumerate}
Task Description: I am writing my thesis with latex in vscode. Sometimes I write using my desktop PC and other times using my laptop when I am travelling. I have setup git version control for this ...