Questions tagged [bugs]
Bugs in TeX related programs
203
questions
2
votes
1
answer
59
views
How do I highlight text or formulas?
I want to highlight newlined sentences and formulas. The following code will allow me to highlight newlined sentences, but I get an error if they contain quotations (\cite) or formulas (\begin{...
0
votes
0
answers
41
views
Spreadtable bug \ST@after@ref@found
Tried to compile an old, once working document, but a bug popped out.
Took an example from the documentation, but the bug showed up. I use TexLive2023, I update it regularly
\documentclass[]{article}
...
0
votes
0
answers
23
views
What is the best way to report this apparent bug re setting tikz font size in documentclass minimal? [duplicate]
I was using Overleaf to do drafts of various figures and was unable to set the font size. For example, this
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[font=\...
0
votes
3
answers
137
views
pdf plots/figures have weird artifacts
So I used to use svg-files for my plots, but compiling with too many figures took way too long, so I switched to pdf-figures, which works way better in that aspect. I did not convert the svg files to ...
2
votes
1
answer
79
views
Bug in siunitx?
I am using power to 1/2 in siunitx:
\documentclass{standalone}
\usepackage[per-mode = symbol-or-fraction]{siunitx}
\usepackage{xfrac}
\begin{document}
\unit{\second\tothe{\text{\sfrac12}}}
\unit{\...
8
votes
3
answers
273
views
Why does the "\left [" partially disappear when I color a row in a table? But [ does not disappear
The problem is shown in the picture below: the tall left-hand square brackets that should be produced by \left[ and \begin{bmatrix} vanish.
The code is as follows
\documentclass{article}
\usepackage[...
0
votes
0
answers
62
views
Are hyperlinks broken in Texifier using TexpadTeX as typesetter?
I don't seem to be able to typeset hyperlinks correctly using Texifier (formerly Texpad) with TexpadTeX as Typesetter.
The following MWE reproduces the behaviour:
\documentclass{article}
\usepackage{...
0
votes
1
answer
31
views
bug with backrefalt and natbib's sort&compress
I encountered a bug between natbib's sort&compress and the backrefalt feature to locate the section of citation in the bib.
Here is a short template to reproduce the error:
\documentclass[11pt]{...
3
votes
1
answer
174
views
pdflatex bug(?) with Elsevier template and accents in authors name
I found a weird bug in the Elsevier (Automatica) template when I'm building it with pdflatex. If one of the authors has an accent (ó, or something). The building of the document yields an error. If ...
2
votes
1
answer
52
views
Undefined control sequence but everything is defined
Minimal not working example:
\documentclass{article}
\usepackage{amsmath,amsthm,amssymb,varwidth,xstring,environ}
\newsavebox{\tempbox} %Allows to use fbox in newenvironment
\makeatletter
\...
-2
votes
1
answer
56
views
Strange black bar in booktabs table doesn't go away [closed]
First of all, the following problem cannot be replicated on other machines. Creating a MWE solves the problem, but I have to solve it within the context of my thesis, which includes a preamble that is ...
1
vote
1
answer
41
views
Texshade on Overleaf won't select amino acids by sequence
I would like to highlight certain short sequences of amino acids in a protein sequence. Choosing them by specifying their numbers works, but since some of them occur several times I would prefer to ...
5
votes
1
answer
181
views
A bug in LuaTeX?
I think the output of the following document is wrong
%\the\textdir
\textdir TLT
ab{\textdir TRT ab}\textdir TLT ab
\bye
If I remove at least one of the "unnecessary" \textdir TLT I get ...
0
votes
1
answer
19
views
"pages=some" option ignored by backgroud package when passed using the \backgroundsetup command
I am trying to use the background package to include watermark-style in the background of my document. However, I only want the background in certain, but not all pages. Supposedly, the package has an ...
0
votes
0
answers
111
views
bibtex output for @misc without year seems to depend on the label name of the misc item?
I have a very strange bug using Latex with bibtex. I managed to solve it but I have no idea why it happened.
I am using revtex4-2 on overleaf, with apsrev4-2 bibliography style. The document I am ...
0
votes
1
answer
44
views
Main language not reselected correctly if previous section ends with other language and section title starts with other language
I have an issue with XeLaTeX with a document with two languages, Hebrew and English. I use a different font for Hebrew (here DejaVu Sans, but any font will do).
The problem is that when (1) a section ...
0
votes
0
answers
20
views
For some older pdfs the `includepdf` command displays empty pages
I have a XeTeX code as below, but for this n16.pdf it renders empty pages.
This is true for most of pre-2000 year pdfs I have.
\documentclass[landscape,a4paper]{article}
\usepackage{pdfpages}
\...
1
vote
1
answer
73
views
paracol breaks title marks in headers set by titleps
I noticed that the paracol environment from the paracol package makes \toptitlemarks, \firsttitlemarks, and \bottitlemarks from the titleps package not work. See the following code:
\documentclass{...
1
vote
0
answers
79
views
\MakeUppercase problems with babel [closed]
Why doesn't this code work?
\documentclass[10pt,a4paper]{article}
\usepackage{babel}
\begin{document}
\MakeUppercase{Flipa}
\end{document}
4
votes
2
answers
423
views
Is it bad practice to use tabs to indicate indentation in LaTeX? [closed]
Should I make it a habit to use spaces instead of tabs when indenting? Casual use of tabs didn't cause problems but so far I experienced a few niche cases where using tabs leads to unexpected behavior....
10
votes
4
answers
2k
views
Quicklook on MacOS Ventura not working anymore for .tex files
since I have updated my M1 macbook air to macOS Ventura I am no longer able to use the quicklook feature for my .tex files, in the finder when pressing the space bar on a files it simply prompts me : &...
7
votes
2
answers
287
views
Dog bites man as news, or the verbosity of the messages for no changes to math alphabets
I have a certain LaTeX project that results in a 250 page PDF file whose log file is filled with «No math alphabet change to frozen version normal on input line blah» messages. In fact, the file is ...
0
votes
0
answers
104
views
Texmaker crashes when typing \begin{
I have a .tex document with 9021 lines. I use Texmaker 5.1.3 on Windows 10. I have uninstalled and reinstalled.
All of a sudden today when I start typing \begin as soon as I type { Texmaker just ...
0
votes
1
answer
179
views
Can't use \usemintedstyle and \setstyle for multiple languages
I have the latest version of minted in which I can define color styles for each language (since v2.0, now it's v2.6), but apperently, when using minted environment for multiple languages the code ...
2
votes
2
answers
119
views
Possible bug in perpage package. TexLive 2022
I'm using XeLaTeX, and the version is:
$ xelatex -version | grep 'TeX Live'
XeTeX 3.141592653-2.6-0.999994 (TeX Live 2022)
When I use the perpage package with the memoir class, the footnote on the ...
0
votes
1
answer
38
views
Enumerate exhibits unexpected behavior when renamed
Enumerate exhibits unexpected behavior when renamed
In the example below I renamed enumerate to enum for brevity.
\documentclass{article}
\usepackage{enumerate}
\newcommand{\enum}{\enumerate}
\title{...
0
votes
0
answers
33
views
Weird output with ragged2e and tikzposter class
I was making a tikzposter and noticed a strange 1=1 output somewhere on the output pdf. Trying to debug what was the cause of this result, I found out that the following simple working example, ...
1
vote
1
answer
41
views
Little glitch in MnSymbol
MnSymbol uses a few symbols from the text font, like \dagger, in math, and does so using the definition
\ifx\Mn@Bold\math@version
\text{\bfseries#1}%
\else
\text{\mdseries#1}%
\fi}
...
0
votes
1
answer
49
views
calendar.sty not compatible with LuaTeX - bold fonts are no longer bold
I am a long-time user of calendar.sty, however I am new to LuaTeX / LuaLaTeX.
I switched to LuaLaTeX so I could use Greek letters from the LuaLaTeX package unicode-math package (see link and link). ...
5
votes
0
answers
247
views
Text mysteriously disappears
I have occasionally encountered a very mysterious problem that really bugs me and is also kind of dangerous if one creates a large document. However, although I have tried very hard, I'm not able to ...
2
votes
0
answers
128
views
PDFAnnotExtractor 0.1l causes an error with class file versions 55.0
Faced a problem with PDFAnnotExtractor 0.1l. Problem with update of PDFAnnotExtractor?
Just try in TeXLive\2022\texmf-dist\scripts\pax\
java -jar pax.jar
And get an error (with last updated Java 1.8....
1
vote
1
answer
107
views
MakeTextUppercase broke for cyrillic
After the last TeXLive 2022 update, I was disappointed with the \MakeTextUppercase macro from textcase package for Cyrillic. I don’t understand what the conflict is, the package textcase has not been ...
0
votes
1
answer
50
views
My template mixes up internal links between appendix and main text (some for footnotes)
When I add an appendix with \appendix and then put an internal link to anything in it with a \label{name}/ref{name}, it sends me in the main text. For instance, I want to go to section B.3. Instead, I ...
3
votes
1
answer
135
views
begin/end form makes textfield inputs unfillable
I noticed a weird behavior on Latex using Overleaf. The below code produces this result, according to overleaf output:
But if I download and open the pdf using acrobat reader I see that some ...
2
votes
1
answer
637
views
Cannot paste a large chunk of LaTeX to Overleaf
When I try to paste a large chunk of LaTeX to Overleaf (especially tables), nothing happens. Overleaf does not paste my LaTeX to its editor.
I have to manually copy each line in order for Overleaf to ...
4
votes
2
answers
159
views
How ifthen \equal could compare \relax to another \relax-like command?
I was implementing an ad hoc list data structure inside LaTeX, where
\aaa expands value for aaa, \bbb exapnds value for bbb and to show that \bbb is next to \aaa on the list, \NEXTaaa expand to bbb, ...
3
votes
1
answer
119
views
CircuiTikz bug - unwanted point shift
I have been working with CircuiTikz recently and I have encountered an unwanted feature. Here is my MWE :
\documentclass[10pt]{article}
\usepackage{pgf}
\usepackage{tikz}% dessin
\usepackage[...
4
votes
1
answer
103
views
Using the word "write" as a label makes compilation crash
Took me all night (literally) to figure out.
Compilation was failing one time out of two, with the following original error (line 12) : "Bad space factor (0)".
That was crazy because ...
0
votes
0
answers
14
views
Arguments in the destructor for an environment [duplicate]
The \newenvironment command allows the environment to take arguments:
\begin{article}
\newenvironment{preecho}[1]{#1}{}
\begin{document}
\begin{preecho}{Hi!}\end{preecho} % => Hi!
\end{document}
...
4
votes
1
answer
108
views
Spurious space in \calligra and \textcalligra?
It seems to me that \calligra and \textcalligra commands add a spurious space before the text.
Please look at the gaps before the "calligraphic E"s here:
\documentclass{article}
\usepackage{...
0
votes
1
answer
250
views
Horizontal bars in texstudio pdf viewer
When viewing documents in TeXstudio's internal pdf viewer, I am encountering horizontal bars when using the magnify feature.
I am using version 4.1.2, the latest one available as of the writing of ...
3
votes
0
answers
93
views
Musixtex: Guitar tab bending notation error, slur not visible
I'm trying to add a bending slur to a musixtex tablature.
The end result should look something like this (the upwards one would be enough, though):
I tried a promising script I found on github (...
4
votes
0
answers
45
views
Microtype package v 3.0a with documentclass `book` in \maketitle: bug [duplicate]
I found a bug when I use microtype package v 3.0a with documentclass book in \maketitle macro.
% !TeX program = pdflatex
% !TeX encoding = utf8
\documentclass{book}
\usepackage{microtype}
\title{My ...
0
votes
0
answers
225
views
TexShop keeps crashing
Any version of TexShop after 4.44 crashes as soon as opened.
I'm trying to run TexShop 4.68 on macOS 11.6, but it crashes as soon as opened.
The system report about this crash says:
Crashing on ...
3
votes
2
answers
376
views
Possible bug in xstring + pdfLaTeX
Question refined considering the replies…
In macro \StrCut, if the first argument contains a “ç”, we get an error message. The same happens with ”\c{c}” or capital “Ç”. When replaced with a plain “c”...
0
votes
1
answer
67
views
Unwanted break with tcolorbox inside a figure
Problem:
I'm trying to use a tcolorbox inside a figure but it looks like my custom maketitle command lets the box break itself. How can I prevent that?
Note that I really need the \tcbset{breakable} ...
1
vote
1
answer
57
views
How can I recover the source code when TikZEdt crash?
Sometimes TikZEdt crashes because of some bugs in the program, and I did not save the source file.
Is there a way to recover the source code in that case?
Related questions:
conversion - Can I ...
2
votes
2
answers
296
views
pdfLaTeX hangs with tikz-cd and comma in the arrow label
When I compile a file containing
\documentclass{article}
\usepackage{mathtools}
\mathtoolsset{centercolon}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}\ar[r,","] &\end{tikzcd}$:$...
1
vote
0
answers
60
views
Boolean && problem with PGFPlots \addlegendentry
While answering this question: Having problems with drawing a modulus graph in LaTeX (overleaf)
I encountered a strange problem/bug. && in a filter does not work with \addlegendentry
\...
0
votes
0
answers
60
views
How can I have a second figure in one chapter instead of commas?
While writing my thesis i encountered this annoying problem/bug.
When I place two figures each with a tikzpicture in one chapter, I get commas (,, ,,,,) in the pdf, spread over two pages instead of ...