199

Since this question comes up so often, I thought I'd try to supplement ArTourter's correct answer with a more general comment. What does a question mark mean It means that somewhere along the line the combination of LaTeX and BibTeX has failed to find and format the citation data you need for the citation: LaTeX can see you want to cite something, but ...


134

Add \usepackage{lmodern}% http://ctan.org/pkg/lm to your document preamble. Fonts are typically available only in certain sizes/increments. As an example, the basic article document class loads only the following sizes (from size10.clo): \tiny @ 5pt; \scriptsize @ 7pt; \footnotesize @ 8pt; \small @ 9pt; \normalsize @ 10pt; \large @ 12pt; \Large @ 14.4pt; ...


115

PDF has a feature called "Page Groups" (PDF Reference, section 11.4.7). These descibe transparency effects between top-level objects on one page. When pdfTeX (or LuaTeX or XeTeX) includes a page from a PDF, it converts all pages into "Form XObjects" (section 8.10.1). pdfTeX also converts the Page Groups into /Group entries of the XObjects. The problem now ...


111

It is worth noting that TeX doesn't make the value judgements here. The user, or more likely, the class file on behalf of the user, has set constraints on the amount by which boxes may overflow, the amount of stretching allowed on short pages etc. TeX only warns if these user-set constraints are exceeded. So if you are setting difficult material with lots ...


78

As David Carlisle and egreg said, you can use the draft option in most classes. If you wish to do it by hand (for example, you need a final option to check for another package's rendering) or tune it, you can use \overfullrule=1mm in the document preamble.


67

One of the principles which the LaTeX kernel, and many of the packages outside the kernel, attempt to follow is that documents should look the same (even up to spacing behaviour) when they recompiled on different machines with different package versions, even decades apart. pgfplots is a regularly updated package that frequently adds new features and fixes ...


63

Use the package refcheck. It is Intended to check references in a document, looking for numbered but unlabelled equations, for labels which are not used in the text, for unused bibliography references. Note that it checks for labels that are not used in the text but not for tables and figures that are not labelled. Thus if you got a table or figure ...


63

When using babel or polyglossia with biblatex, loading csquotes is recommended to ensure that quoted texts are typeset according to the rules of your main language. So add \usepackage{csquotes} to your document preamble.


62

The problem is also reported in a german forum mrunix.de. It might be a bug in the tex distribution (pdftex). The problem happens only when you include multiple pdf pages, created in a specific manner (e.g. by MS Office products), in a single page. Solution: Convert pdf files into ps and then back to pdf using Ghostscript, then the warning will go away (...


53

Yes, you should definitely take care of them. Overfull \hbox messages tell you that some line sticks out over the right margin; Underfull \hbox messages tell you that some line is poorly typeset (or that you've improperly used \\ to leave a vertical space (for example, typing two \\ in a row); Underfull \vbox messages usually tell you that a page is poorly ...


49

In the abstract it is nearly impossible to give advice on "underfull vbox" messages. They indicate a severe visual problem but often they are acceptable even if the number is high. However, 10000 is a value that should always be visually checked as it means infinitely bad (in TeX's eyes). Here is the general advice that I give in the LaTeX Companion 2ed on ...


48

One way to go is to use the todonotes package. Here is a short example of a really basic use of this package (see the documentation for more advanced options): \documentclass{article} \usepackage{todonotes} \begin{document} \listoftodos \section{First section} Here I need to make some more research before writting\todo{More research are needed}. So I ...


45

its a bug in the class, looks like a recent change in the github log, can't test here, no tex, but the package name constructed by \expandafter moderncv\romannumeral which doesn't do the right thing \expandafter does nothing there, you can ignore the warning until it's fixed. Lines 315 to 333 of moderncv.cls should be changed into % loads a header ...


44

Well, I've found a way to show the undefull boxes in the pdf. Nothing is impossible with luatex! The process is a bit convoluted, but it works (at least in my minimal examples). But let see first the results. This is a little example document I prepared which produces a couple of Underfull vboxes. The example \documentclass{article} \usepackage{fontspec} \...


41

Add the following to your preamble: \emergencystretch=1em This allows for an additional line-breaking pass with the amount of "tolerable" white space per line increased by 1em. Alternatively, and as suggested by Ulrike Fischer, load the microtype package with the final package option to ensure that the microtypographic features are activated even when ...


40

To avoid messing up anything else in a document, siunitx is set up to avoid loading font packages and the like. As such, it uses its 'own' version of the \textminus and \textmu, and sets up a minimal amount of support for that. However, that confuses microtype, as you've seen (it should be harmless). Loading textcomp 'fixes' this as siunitx then uses the ...


34

Fonts in LaTeX are characterized by four independent attributes: Encoding Family Series Shape The encoding refers to the "output encoding"; commonly used ones are OT1 (classical TeX fonts) and T1 (Cork encoding for European languages), but also TS1 is found (Text Symbols); other encodings are T2A T2B T2C (for cyrillic), T3 (IPA glyphs), T4 (African ...


33

(By the way, if LaTeX knows that labels may have changed, why can't it tell me which labels?) The following document will give the re-run error message each time. \documentclass{article} \makeatletter % \def\@testdef #1#2#3{% % \def\reserved@a{#3}\expandafter \ifx \csname #1@#2\endcsname % \reserved@a \else % \typeout{^^Jlabel #2 changed:^^J% % \...


32

Getting a warning about undefined references after the first LaTeX run is nothing to worry about. Just rerun LaTeX once or twice more and all cross-references should be resolved (including the one to lastpage). On the other hand, if you have typos in your labels and/or in your cross-referencing commands, the warnings won't go away upon recompiling the code ...


32

This happens when you skip a level in the sectioning commands while still requesting to maintain an equivalent bookmark hierarchy. The following MWE reproduces the problem: \documentclass{article} \usepackage[bookmarksopen]{hyperref}% http://ctan.org/pkg/hyperref \setcounter{tocdepth}{4}% Show up to level 4 (\paragraph) in ToC (and bookmarks) \begin{...


32

The LaTeX system has 3 levels of messages and TeX itself has another 2. LaTeX Error ... stops the processing because something is seriously broken. Sometimes it is possible to continue but in most cases it is best to correct the error directly and reprocess the document LaTeX Warning ... is only displayed on the terminal and in the transcript file and ...


30

KOMA uses his own algorithm to create float environments provided by tocbasic. So packages like float or listings uses an old version and produce this warning. However Markus Kohm wrote a small package named scrhack fixing this issue. Example 1 without scrhack: \documentclass{scrartcl} \usepackage{listings} \begin{document} \lstlistoflistings \begin{...


30

The newest libpng update (1.6.2 I believe?) has stricter rules about iCCP and will print this warning every time it finds a png that is broken. This warning can be ignored. Fixes would include: Downgrade to a older version of libpng Install imagemagick and convert all .png files with convert -strip (script below) Maybe even just disable this warning? In ...


29

I am not sure if this is possible with old fashioned TeX/pdfTeX, but it is with LuaTeX (of course, it is!) \documentclass{article} \usepackage{luatexbase,luacode} \overfullrule 5pt \begin{luacode} local VLIST = node.id("vlist") local HLIST = node.id("hlist") local GLUE = node.id("glue") local RULE = node.id("rule") magentabox = function(head) while head ...


29

The warning gives you a hint: you can add a key field to you entry. From the BibTeX manual: In addition to the fields listed above, each entry type also has an optional key field, used in some styles for alphabetizing, for cross referencing, or for forming a \bibitem label. You should include a key field for any entry whose “author” information is ...


28

As requested by the comments: Another way to solve it is to disable the pageanchors for the titlepage: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[pdfpagelabels]{hyperref} \title{[Title]} \author{N.N.} \begin{document} \hypersetup{pageanchor=false} \begin{titlepage} \maketitle \end{titlepage} \hypersetup{pageanchor=true} \...


28

TeX has a primitive parameter for that kind of situation: \emergencystretch, of which Knuth writes in the TeXbook chapter 14 If you want to avoid overfull boxes at all costs without trying to fix them manually, you might be tempted to set \tolerance=10000; this allows arbitrarily bad lines to be acceptable in tough situations. But infinite tolerance ...


27

The warning is generated by the binary itself. Since pdfTeX 1.40.15 (TeX Live 2014) it can be suppressed by a new primitive: \pdfsuppresswarningpagegroup=1 Quoting the documentation: \pdfsuppresswarningpagegroup (integer) Ordinarily, pdfTeX gives a warning when more than one included pdf file has a so-called "page group object" (/Group), because ...


26

The syntax for the \bibliography{} command is \bibliography{file1,file2,...} in your case you seem to be calling a file called mybib when your bib file is in fact Bib. Also note that bibtex file should have the .bib extension. the .bbl file will be created by bibtex. You should therefore rename your bibliography file mybib.bib and get rid of the extra {} ...


Only top voted, non community-wiki answers of a minimum length are eligible