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

learn more… | top users | synonyms

0
votes
0answers
9 views

Sudden vertical spacing in latex document with MDPI template

Using the MDPI journal stylesheet (http://www.mdpi.com/authors/latex), I encounter a sudden vertical spacing after some equation followed by arbitrary text. Here's my document header, as well as the ...
1
vote
1answer
22 views

File ended while scanning use of \@footnotetext [on hold]

I spell-checked my document, but somehow I must've added or deleted some '}' or something because LaTeX can't compile past a certain page, giving the error: Runaway argument? {J. Clerk Maxwell\index ...
1
vote
1answer
11 views

Koma script captionbeside topbeside alignment question

Code based on the example of scrguien 3.12 (2013-12-19) page 122 gives bad result. Code: \documentclass[captions=topbeside]{scrbook} \usepackage[english]{babel} \begin{document} \begin{figure} ...
0
votes
0answers
55 views

LaTeX - Letter 'f' being swapped with theta symbol

I am rewriting a thesis paper of mine in LaTeX and have been looking around for some good templates. I'm an experienced developer, but have little experience with Tex. Sample Template: ...
5
votes
1answer
134 views

Is there a list of common misleading errors and how to go about debugging the real problem

Yesterday I posted a question "My attempt to local redefine a command is failing and not sure why" which I really knew the answer to. But I was thrown by the error message I was getting and after ...
2
votes
1answer
19 views

Extra blank page with Bayesian Analysis journal style file

See the following MWE, which uses the Bayesian Analysis journal style file.. \documentclass[bib]{ba} \inserttype[ba0001]{article} \begin{document} \title[Short Version]{Long Version} ...
4
votes
1answer
20 views

Biblatex field values and comparisons

I would like to change the behavior of printing author names based on the hash field in biblatex. This mwe should demonstrate what I am having difficulty understanding. MWE: \documentclass{article} ...
7
votes
1answer
60 views

I cannot determine the error between hyperref and hypdvips

Look at the following Minimal Non Working Example. It's not correct, because the output pdf will be created. Nevertheless the logfile produces an error. It took me a lot of time and I am still not ...
7
votes
1answer
100 views

Bug in polylongdiv?

\documentclass{article} \usepackage{polynom} \begin{document} \polylongdiv{x^4-1}{x^3+x^2} \end{document} It leaves out the first x in the quotient. How can I fix this?
8
votes
2answers
210 views

Goto or jump command in LaTeX?

The answer to this is probably "no", but I just wanted to make sure... (also, I'm not trying to get into the whole "gotos are evil" debate :)). Basically, one of the things that irritates me in my ...
5
votes
1answer
53 views

htlatex interrupted at '\:temp{rm}'

Using TL2013, I cannot compile documents with htlatex anymore. For example, using: \documentclass{scrbook} \begin{document} test \end{document} I get: $ htlatex test.tex This is pdfTeX, ...
2
votes
1answer
84 views

How can I track down a bad spacing issue?

I use a rather complex class, built on top of extarticle with twocolumn option. It loads a lot of packages. One of them is floatrow. Sometimes, I get a very annoying error that can be seen in the ...
23
votes
3answers
1k views

How can I work around this TikZ bug: (\x)^2 and \x^2 produce different results in TikZ plot?

I have some files with TikZ graphics that have suddenly changed appearance since I upgraded to PGF-2.10. Here is a minimal example: \documentclass{minimal} \usepackage{tikz} \begin{document} ...
2
votes
1answer
69 views

Why does the setspace package change my fancyhdr design?

After hours of debugging, I finally found out that the header of my bibliography's last page is changed by using spacing in the text. Now my world is turned upside down. Please have a look at this ...
3
votes
1answer
138 views

Debugging font shape undefined in TeXShop

I am a LaTeX newbie on a Mac running OS X Mavericks, TexShop 3.26 and MacTeX-2013. I am writing a document and I keep getting the following warning: LaTeX Font Warning: Font shape `T1/phvr/m/n' ...
1
vote
0answers
37 views

File location containing the shortcuts of LyX [duplicate]

Is there an editable file that contains all the shortcut a user introduces to LyX (additionally to the standart shortcuts) ? I already looked in cua.bind and my shortcuts aren't there. This whole ...
0
votes
0answers
45 views

I need some help debugging this LaTeX macro - TeX “skips past” a bunch of code?

I'm trying to test and debug a collection of LaTeX macros that I've been working on, and I have run into a problem that has me totally stumped. Essentially, the problem is that at a certain point in a ...
10
votes
1answer
58 views

Log all keys in a module

Using l3keys, is there any way to inspect the keys currently in a (sub)module? I'm looking for something like \clist_show, but for keys. \keys_show sounded promising, but requires that you already ...
5
votes
1answer
73 views

pdfcrop results in fmtutils.cnf not found

I just tried pdfcrop but it results in an error message telling me that the file fmtutil.cnf was not found. The complete error message is: pdfcrop testfile.pdf PDFCROP 1.38, 2012/11/02 - Copyright ...
1
vote
1answer
106 views

Journal of Statistical Software class breaks preview in AUCTeX

I'm using AUCTeX 11.86-11 on Debian stable. The jss.sty style file contained in the JSS style file zip archive breaks AUCTeX's preview for me even with a simple file. NOTE: the jsslogo.jpg file is ...
3
votes
0answers
133 views

Troubles with TeX Live 2009 and 2013

Well, before Christmas I was updating some software in my Ubuntu 12.04 installation, where I have happily installed TeX Live 2013 since last summer (I did it from an ISO image downloaded from the ...
6
votes
1answer
85 views

Strange result in plotting data using pgfplots

I'm trying to plot this: \begin{tikzpicture} \begin{axis}[ height=5cm, width=\linewidth] \addplot[smooth,blue] plot coordinates { (27,177) (28,223) (29,240) (30,227) ...
2
votes
0answers
75 views

TikZ dash pattern generates an offending PDF [closed]

Consider the following MWE: \documentclass{standalone} \usepackage{tikz} \begin{document} \def\dotsize{1} \def\spacesize{2} \def\linesize{4} \begin{tikzpicture}[% dash pattern=% on \dotsize pt ...
8
votes
1answer
72 views

Upper limit on the number of pause commands in a frame

Is there any upper limit on the number of pause commands in a frame in beamer, when it is used along with the \only<>{} command ?. I have a simple beamer example with 14 pause commands, but the ...
6
votes
2answers
1k views

Compilation Error “! Missing \endcsname inserted” The control sequence marked <to be read again> should not appear between \csname and \endcsname

here's my thesis Latex files: http://www.mediafire.com/download/c7q8z4v6gv864rk/triet_thesis_clean.rar Please help me to fix the error, I've tried all the things I can find with Google :( : ! ...
3
votes
0answers
55 views

Pgfplots fails to generate boxplots for some data set

I use pgfplots to generate boxplots, however with some small data sets as the following, I get an error message. speed 2 3 1 2 2 11 Here is the error message : Sorry, an ...
10
votes
1answer
477 views

Visualizing correct page lengths with 'layouts' and 'tikz' packages?

I am currently working on a project with xelatex/fontspec and tikz, and so, this example is basically the same as the one from layouts package reads all length as zero with tikz/fontspec/xelatex?. ...
3
votes
0answers
43 views

The \show command displays not all command [duplicate]

The TeX-primitive \show displays text of a command but I observed that not all, say LaTeX's commands, have been exhibited by this way. Opinions and solutions of experts please.........
4
votes
0answers
53 views

Error arising when using \typeout & \meaning with \midrule

In order to facilitate debugging some experimental code, I created a version of \typeout that will break its content into multiple lines: %% dummy macro for simulating newlines in output to terminal ...
28
votes
3answers
23k views

LaTeX with Sublime Text 2

I recently (2 days back) started using LaTeX, I use Sublime Text 2 (ST2) for most of the programming. I found that ST2 has LaTeX package. So what I am doing is write the document with ST2 and run it ...
8
votes
2answers
3k views

Sublime Text 3 LatexTools

I just installed ST3 and installed the LatexTools package using Package control. Everything seems to have gone fine except when I compile using CMD+b nothing seems to happen. On the terminal I get ...
8
votes
1answer
124 views

How can \ifx\\\\ be false?

It appears that I have a case where \ifx\\#2\\ is false, even though #2 is empty. Here is the relevant excerpt from the log file, with \tracingcommands and \tracingmacros turned on: \lastpageref ...
3
votes
0answers
54 views

How to debug error message from luaotfload-database.lua

I am beginning to think it was a really bad idea to update to TeXLive 2013. Since this update almost none of my old documents compile any longer. Does anyone have any idea what LuaLaTeX is trying to ...
11
votes
1answer
222 views

How to report *amsart* bugs? (Looks like a bug to me.)

I have noticed the following strange behavior when using a custom counter in certain situations in amsart document class. Here is an example: \documentclass{amsart} \newcounter{exercise} ...
7
votes
1answer
92 views

What is wrong with this macro-defining macro?

have this \newsetter macro that defines a "setter" macro (for lack of a better name) and a @-prefixed macro of the same name that holds the value. This is how is supposed to work: \newsetter\macro ...
2
votes
1answer
88 views

Strange problem with pythontex in TeX Live on Mac [duplicate]

When I launch tlmgr update --self in a terminal, I obtain the following error message : Unknown docfile tag: texmf-dist/doc/latex/pythontex/pythontex_quickstart.pdf details=""Quick start" ...
4
votes
1answer
128 views

References by BibTeX key name [duplicate]

I've seen Use BibTeX key as the cite key, and it's quite close to what I'm looking for, but doesn't quite make it - for a start I can't get biblatex to run over my document, and second What I'm ...
3
votes
1answer
98 views

How to go deep and debug the real error?

(/usr/share/texlive/texmf-dist/tex/latex/thmtools/unique.sty Package: unique 2012/05/04 v63 \uniq@channel=\write6 \openout6 = `main.unq'. ) ! LaTeX Error: Missing \begin{document}. See the LaTeX ...
37
votes
6answers
4k views

Reducing the console output of LaTeX

When I run pdfLaTeX, I get very verbose output: (/usr/local/texlive/2008/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie s/tikzlibrarycalc.code.tex) ... Is there a script to soak up all the ...
5
votes
1answer
579 views

How to find the exact location of Type 3 fonts in PDF?

While generating PDFs, we often ends up with some Type 3 fonts. We can find the existence of Type 3 fonts in a PDF by providing pdffonts <filename.pdf>. Also, can find the exact page by giving ...
6
votes
1answer
150 views

Methods for debugging package conflicts

... that don't make me want to pull my (remaining) hair out. I'm preparing a long journal article with a wide array of necessary packages and a publisher-specific class file. In this specific case, ...
2
votes
1answer
105 views

My WinEdt can only debug one file

I came across a weird question... The thing is, suddenly without and reasons, I could only pdfTeXify one file in my WinEdt. As you know, we usually open lots of files which we have edited historically ...
4
votes
1answer
1k views

Latex image not found

running TeXnicCenter LaTex >> PDF produces the following error: LaTex warning: File 'Energy_Arc.png' not found. Output shows empty box where image should be (with same error as above written ...
59
votes
1answer
2k views

A LaTeX log analyzer application (visualizing TeX expansion)

Consider the following MWE, test.tex: \documentclass[12pt]{article} \begin{document} \tracingassigns=1 \tracingmacros=1 \def\aaa{something} \def\bbb{else \aaa, else} \edef\ccc{third \bbb, level} ...
20
votes
1answer
1k views

Latex \tracing commands list?

Often I need to recall the different \tracing commands; and a couple of times I stumbled on some webpages that worked fine for me; sadly, I didn't keep them, and my searches don't take me there ...
2
votes
0answers
55 views

Error with $ when using math in TikZ figure [duplicate]

I am drawing some figures with TikZ for a beamer presentation. I want one figure to look something like this: Additionally, I want to add labels under the intervals (the sections in between ticks ...
1
vote
1answer
105 views

Usage of final option with package animate

I'm currently animating some inline graphics (TikZ) on a beamer presentation with the animate package, and have come across some weird behavior. Since I still have lots of work to do, I set the ...
4
votes
1answer
136 views

ybar stacked interferes with tikz background

When I compile the following code with ybar stacked option and the request for newsprint background the compiler tells me ! Extra }, or forgotten \endgroup. \endpgfonlayer ->\endgroup \hss \egroup ...
51
votes
3answers
3k views

2013, year of the TeX bugs report. Will pdfTeX, XeTeX, etc. be changed accordingly?

Barbara Beeton said (TUGboat vol. 34, pag. 4): As noted on Don Knuth's TeX web pages, www-cs-faculty.stanford.edu/~knuth/abcde.html, he "intend[s] to check on purported bugs again in the ...
1
vote
1answer
1k views

Warning Message Using Revtex4 in Preamble

I was wondering what was the cause of the following warning! message with the documentclass below: Using the following: \documentclass[amssymb,twocolumn]{revtex4} WARNING MESSAGE BELOW Class ...