Skip to main content

Questions tagged [debugging]

is about finding the cause of errors or wrong results in (La)TeX code/documents using a methodical approach.

Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

I was trying to write an article in laTex and I attempted to incorporate the following image: I wrote the following code - you can ignore the substance of the text in the code, that is out of context,...
global05's user avatar
  • 319
0 votes
1 answer
78 views

I'm trying to debug some \newcommand macros I'm working on, and I've got it down to this minimal example. All it does is define two lengths and then set their values - it doesn't use them for anything....
N. Virgo's user avatar
  • 4,496
1 vote
3 answers
3k views

Here is my code \documentclass{article} \usepackage{multicol} \title{IELTS Course Companion} \author{Ethen Hu} \begin{document} \setlength{\parindent}{0pt} \maketitle \section{numbers} \subsection{...
jxhyc's user avatar
  • 1,231
2 votes
1 answer
339 views

In a LaTeX document (using revtex-4.2 and todonotes), I run into issues with to-do note related errors – which seem erratic and which I somehow cannot debug. The issue seems to be related to a certain ...
yogik's user avatar
  • 105
0 votes
0 answers
99 views

The errors aren't creating any problem in my desired output, but what does it mean? How can I fix it? I will share my tex file if needed.
raf's user avatar
  • 1,111
0 votes
0 answers
168 views

I have changed the settings in TeXShop so that the console appears only when there are errors. However, I always pops up. How can I identify the number of errors I have? MWE: \documentclass[12pt,...
Morzen's user avatar
  • 325
0 votes
1 answer
467 views

I get an error when compiling a tabular* environment. The error I get is: Underfull \hbox (badness 10000) in alignment at lines 3--5 [] Overfull \hbox (17.62482pt too wide) in paragraph at lines ...
Morzen's user avatar
  • 325
0 votes
1 answer
269 views

Here is a MWE. \documentclass[a4,12pt]{report} \usepackage{amssymb} \usepackage{amsmath} \renewcommand{\.}[1]{\ensuremath{\mathrm{#1}}} \newcommand{\+}[1]{\ensuremath{\mathbf{#1}}} \newcommand{\ud}{...
CasperYC's user avatar
  • 739
1 vote
1 answer
114 views

I have a problem to solve because I read three time my code \documentclass{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{graphicx} \...
JkLnS3's user avatar
  • 21
3 votes
0 answers
389 views

I'm debugging a document layout that uses a minipage, and I've seen somewhere where you can turn on an option to draw rectangles around the various boxes for debugging. However, I tried searching and ...
theMayer's user avatar
  • 131
0 votes
1 answer
907 views

I have the following file structure: File |-urlaubsfahrt.py |-Test |-test.tex And the following tex file: \documentclass[a4paper,10pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8x]{...
Jan Berndt's user avatar
9 votes
1 answer
613 views

I've been programming quite a bit in expl3 for the last weeks, and while I really like the expressiveness of the provided API, what often is incredibly painful is debugging larger programs. In many ...
siracusa's user avatar
  • 13.7k
4 votes
0 answers
170 views

When using the package newpxmath, the quantifiers \foralland \exists are displayed as \hslash and \hbar, respectively. See the following MWE: \documentclass{article} \usepackage[T1]{fontenc} \...
Dominik D. Freydenberger's user avatar
2 votes
1 answer
922 views

Hi all, I have a XeLaTeX file which once compiled gives that kind of pdf page : What I need is to have from the tex file an ePub format instead of the pdf one. So before posting all this message, ...
gustav.b's user avatar
  • 179
2 votes
1 answer
74 views

My plot as shown below is not reflecting the upper cap surface exactly as I have defined it (I simply negated the z-ordinate of the parametric equations) Is this some kind of numerical bug? \...
Jack Tiger Lam's user avatar
0 votes
1 answer
179 views

I have a error in a document and I'm unable to debug it. The errors At the second compilation of my document, the command \ref{} raises the error Missing control sequence inserted \...
Colas's user avatar
  • 7,654
3 votes
1 answer
369 views

The everypage package was last changed in June 2007 (https://www.ctan.org/pkg/everypage). And yet, in the last few months, since I upgraded my LaTeX installation, it behaves differently. The only ...
Steven B. Segletes's user avatar
1 vote
0 answers
402 views

Biber runs with this warning: Running `Biber' on `citation_issues' with ``biber citation_issues'' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ...
Sati's user avatar
  • 167
2 votes
1 answer
1k views

I am working on a rather long paper with a ton of inline math. I have a ton of "Missing character: There is no � in font pplr7t!" errors upon compiling, and I understand that using characters no ...
rmueller's user avatar
0 votes
1 answer
615 views

I am using an example-code for my CV. The code here is really simple, I acctually didn't use any "\left", but still getting this error of "missing \right", along with the error "missing delimiter" and ...
zheyuanWang's user avatar
1 vote
1 answer
465 views

Lyx produces an error message when compiling, but I cannot find where the error is in the document. When hovering over the errors it says clicking it would take me to the error in the document but it'...
zola's user avatar
  • 21
1 vote
1 answer
217 views

I have a problem with \includegraphics within TikZ with XeLaTeX, namely that the images get displaced. This is similar to the problem described in this question, but the symptoms are different. ...
Wrzlprmft's user avatar
  • 769
2 votes
1 answer
98 views

Say I want to write a patch for one or some of the expl3 modules. As far as I can see, to test the patch I have to do the following: Edit the module's .dtx file; Run l3.ins to compile (beside others) ...
siracusa's user avatar
  • 13.7k
13 votes
0 answers
1k views

I'm trying to understand how listings' otherkeywords option really works. The documentation says about it: Defines keywords that contain other characters, or start with digits. Each given 'keyword' ...
siracusa's user avatar
  • 13.7k
3 votes
1 answer
129 views

I used the code at How to conditionally draw parts of a MetaPost drawing in ConTeXt? to display a crossword puzzle. The code works great, until I try to display another crossword puzzle, at a later ...
Village's user avatar
  • 13.8k
3 votes
1 answer
331 views

I'm trying to debug an expl3 code that usesl3seq and seq_gput_right. By adding the enable-debug and reviewing the code I get the error: ! LaTeX3 Error: Inconsistent local / global assignment That was ...
Pablo González L's user avatar
1 vote
0 answers
211 views

For debugging purposes, I want to write to the log what is actually passed to a macro as argument. A naive \newcommand\test[1]{\show#1} obviously doesn't do the job. So how can I printout a list of ...
Bubaya's user avatar
  • 3,055
0 votes
1 answer
1k views

Sorry about the awful formatting, this is a screenshot from my mobile. I am an absolute beginner when it comes to Latex and I just can't understand why it keeps giving me such an error when I clearly ...
Sebastiano Covone's user avatar
2 votes
1 answer
234 views

I was getting unexpected results storing a parameter into a string variable, and added the statement "\str_show:N \l_tmpa_str" to produce debugging output. Texworks treats the output as an error. My ...
shmuel's user avatar
  • 1,519
0 votes
1 answer
201 views

I would like to create badges in Latex. I want to place the badges on the paper next to each other, so I have to cut the paper only once! I have the following code: \documentclass[a4paper,12pt]{...
Peter Ivanyi's user avatar
1 vote
1 answer
68 views

I am trying to render a LaTeX project and the words are spilling over the column boundary. What could be the reason for this? I thought that the class library took care of these issues. For example: ...
chnppp's user avatar
  • 11
2 votes
1 answer
76 views

\documentclass[12pt]{article} \usepackage{cite} \usepackage[UKenglish]{babel} \usepackage{fixltx2e} \usepackage{hyperref} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{chngcntr} \...
I.Auguste's user avatar
  • 125
0 votes
1 answer
176 views

I am using latexdiff for marking up corrections requested by the examiners to my PhD thesis. I have a strange issue with this. Upon compiling the diff.tex file, I get a specific string 4.0pt=-.55ex ...
Dr Krishnakumar Gopalakrishnan's user avatar
2 votes
0 answers
87 views

From this answer we find a solution to use prime in text mode, via \textprime from flexisym package. The problem is that the package has a problem with amsmath, since it makes \dots not be aligned ...
Sigur's user avatar
  • 38.4k
3 votes
2 answers
174 views

I am currently finishing a book project, and there it sometimes happens that the text of the footnote appears a page too early, meaning not on the same page as the footnote reference but one before ...
Simifilm's user avatar
  • 3,288
1 vote
1 answer
318 views

I have noticed some odd extra vertical when placing boxes in a twocolumn layout: \documentclass[a5paper]{article} \usepackage{calc} % issue only happens with adjustbox loaded \usepackage{adjustbox} ...
Socob's user avatar
  • 1,865
1 vote
0 answers
221 views

I have a tikz chart that won't build. When I check the log file I find Package PGF Math error: Could not parse input 'pgfpmth@float@max' as a floating point number, sorry. The unreadable part ...
jerH's user avatar
  • 745
1 vote
0 answers
1k views

Forgive me if I breach ettiquite here, it's been a while... A couple of years ago I wrote two papers as part of my PhD research and submitted them to a journal...they were each about 20 pages long. ...
jerH's user avatar
  • 745
5 votes
2 answers
660 views

I used Tikz to chart the following function. This is fine, except that I want the function to equal 0 instead of negative values. So I tried using "max(0,f(x))", where f(x) is my function (specified ...
pafnuti's user avatar
  • 420
1 vote
1 answer
406 views

I have done a lot of searching but cannot figure out how to visualized the box that a piece of content falls into without shifting the content. How do you debug? Note: How can I visualize boxes? ...
Bruno Bronosky's user avatar
1 vote
0 answers
489 views

When using \documentclass[sigconf,letter]{acmart} I noticed that without regard for the text (I tried different nudges), latex always leaves a space of a couple line-spaces on the end of the right ...
bitmask's user avatar
  • 1,235
3 votes
1 answer
674 views

I was trying to do some debugging in math mode related to spacing. More specific, I wanted to create some vertical rulers to check for discrepancies in horizontal alignment in math mode. With this ...
nox's user avatar
  • 4,278
3 votes
1 answer
8k views

My TeX document gives me the error: ("C:\Program Files\MiKTeX 2.9\tex\latex\base\ulasy.fd") ! Argument of " has an extra }. \par l.32 } Can anyone tell me what's wrong? This is my code: \...
Merlin's user avatar
  • 343
9 votes
3 answers
270 views

I am using the following commands to place an arbitrary number of specialized, thick bars (\xbar) below a letter. \documentclass[prb,preprint]{revtex4-1} \usepackage{stackengine} \stackMath \...
Doubt's user avatar
  • 381
1 vote
0 answers
120 views

Today I updated to the latest version of MiKTeX (2.9.6703, I was previously using an older version of MiKTeX 2.9) and now the pstricks package entirely prevents me from compiling a document when ...
Miztli's user avatar
  • 401
2 votes
1 answer
462 views

The following code fails to compile. It can be made to compile by any of the following changes Removing \usepackage{siunitx} Removing the S from from the tabular column specifiers Replacing the d in ...
jacg's user avatar
  • 277
1 vote
0 answers
261 views

I have a latex file that when processed repeated times (like a thousand times) -- in a very small number of the runs (1 or 2) xelatex will drop a very specific character \emptyset from the PDF file, ...
Paulo Ney's user avatar
  • 2,725
2 votes
1 answer
85 views

I am trying to use \message to debug my code; in particular, to print information to the console. For some reason it is not adding line returns after each invocation (see example below). How can I ...
dontpanic's user avatar
  • 839
0 votes
1 answer
688 views

For debugging purposes, I'd like to be able to stop or pause my code compilation at will by using apposite commands, both inside and outside the preamble of my document. Do such commands exist in (La)...
dontpanic's user avatar
  • 839
0 votes
1 answer
178 views

Is it possible to get more specific information such as the line number in case of an error in an align* environment? It is very annoying if you have to manually pinpoint an error in a 10 line align* ...
Jens Wagemaker's user avatar

1 2
3
4 5
9