# Tag Info

### Overleaf: PDF causing compilation timeout

You can simplify your example to \documentclass{article} \usepackage{pdfpages} \begin{document} aaa \includepdf[pages=-]{missing.pdf} \end{document} This gives the error ! Package pdfpages Error:...
• 665k

### Overleaf: PDF causing compilation timeout

I just found out what the problem was ! And it was a small detail: I wrote \includepdf[pages=-]{Tp12.pdf} instead of \includepdf[pages=-]{pdf/Tp12.pdf} ! It was just that, I forgot to put the file's ...
1 vote

### How to diagnose unclosed (incomplete) \iftrue or \ifnum?

Some tips for large log file: Since it's really hard to look for (file and ) in that case, you can use some LaTeX hook to log some message when the file changes: \ExplSyntaxOn \seq_new:N \__file_list ...
• 1,471
1 vote

### Error : Missing $inserted in \begin{cases} and basic questions? It should be, e.g., \newpage \section*{Basics} \begin{definition} [\textsc{Pochhammer}-Symbol] The \textsc{Pochhammer-Symbol} with$(a;q)_nis an expression in combinatorics, which ... 0 votes ### Pgfmath code conflict Just read the error that the compiler yields. You get \begin{enumerate} on input line 66 ended by \end{document}. \end{document} It means that for some reason, enumerate environment hasn't been ... • 1,903 1 vote ### Can't colour the right rows table I'm not sure to understand exactly what you want. Here is a solution with {NiceTabular*} of nicematrix. \documentclass[11pt]{report} \usepackage{geometry} \newgeometry{left=2.5cm,right=2.5cm,bottom=2.... • 25.1k 2 votes Accepted ### "Emergency stop" error in an original document after copying it (Overfleaf) you can not use \include in the preamble so the input is incorrect even if sometimes you avoid an error. Use \input (I would also put the \documenclass command in your main document not in the input ... • 665k 0 votes ### Package babel Error: Unknow option brazilian' this worked for me: sudo dnf texlive-babel brazil I'm using fedora btw. 2 votes Accepted ### “\end occurred when \ifnum ... was incomplete” with both tikz and luatexja This works, but the length you get is quite unpredictable, because it depends on the current text direction. \documentclass{article} \usepackage{tikz} \usepackage{luatexja} \begin{document} \tikz{\... • 985k 1 vote ### How to locate the line of "Invalid UTF-8 byte or sequence at line ..."? Looking at the log fragment (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex \integerpart=\count405 Invalid UTF-8 byte or ... • 665k 0 votes ### New installation – TeX editor says: "Error: Could not start the command" I just had this issue. Symptom: which pdflatex or where pdflatex failed, meaning pdflatex was not found in any directory on PATH. The problem seems to have been an overly long PATH environment ... 3 votes ### Some align mistake As commented in the first comment under the question (before you posted the code that generated the error) you should use LaTeX constructs not \def so that you are warned if you are redefining TeX ... • 665k 3 votes Accepted ### Some align mistake Now you know why LaTeX has \newcommand and everybody recommends using it instead of \def. Inside amsmath.sty we find \def\measure@#1{% \begingroup [...code that's not of a concern] ... • 985k 1 vote ### Some align mistake I test (using recent MiKTeX) your MWE and it works fine. However, I would not use your \def but rather \mathbf as defined in LaTeX: \documentclass[12pt,a4paper]{report} \usepackage[T1]{fontenc} \... • 251k 0 votes ### newlfm expect new fancyhdr.sty but it's the newest Some great answers are above, Werner's being the most versatile. However, if you are looking for a quick fix, check if the pdf is being created by the compiler. If yes, comment out line nos. 41 ... 2 votes ### Problem with Poker packages \setkeys{poker}{inline=symbol} is not the style used under 3.1 in the pdf. That uses \setkeys{poker}{inline=card} if I'm not mistaken. (Or actually, \setkeys{poker}{inline=card,colorset=4c}, since all ... • 35.7k 2 votes ### Receiving this error in latex for "missing inserted" and that "You need to enclose all mathematical expressions.."

This works, because each equations are in one math environment (see @DavidCarlisle comment): \documentclass{article} \usepackage{amsmath, amssymb, amsthm} \theoremstyle{definition} % for upright text ...
• 251k
1 vote

### How to solve the pygmentize' Error in LaTex after installing pygments and minted on Mac OS

Here is a recipe using Python 3.9 and MacTeX 2022 in April 2022. YMMV. Install a virtual environment for your favorite Python version (python -m venv ~/.py39venv). Switch to the new venv (source ~/....
• 11

### Unexpected latex error: Text line contains an invalid character

I just resolved this problem myself, which had a distinctive cause than those discussed above. For me, the problem was caused by Dropbox selective sync. I changed my the folder containing the tex ...
Accepted

### Undefined control sequence \IfFormatAtLeastTF

You need to update your TeX installation. The \IfFormatAtLeastTF built-in was introduced for the October 2020 release. That you have an undefined control sequence means that you are running on an ...
• 19.7k
1 vote

### Origin of Lua Error

You provided no example, but given a guessed example \documentclass{article} \usepackage{tikz} \begin{document} \end{document} The relevant part of the terminal output is (/usr/local/texlive/2022/...
• 665k