Tag Info

Hot answers tagged

9

You get that error if latex starts trying to typeset paragraphs before \begin{document} has set things up. During that processing the aux file is read (to resolve cross reference information saved on the previous run). It can happen that the aux file is corrupt and so a command in the file is misinterpreted and characters start being interpreted as text to ...


8

You could build your timer with \pdfelapsedtime: \usepackage{atbegshi} \AtBeginDocument{\pdfresettimer} \AtBeginShipout{% \message{^^Jtimer: \the\numexpr\the\pdfelapsedtime*1000/65536\relax}% \pdfresettimer} would print the time it took (in milliseconds) for each page to be output (here p. 231 took 103ms, p. 232 took 44ms): timer: 103 [231] ...


4

Here is feyn11.mf: % Feynman diagram font, 11pt display size, release 0.3.3, 2009 October 8. % % Copyright 1991, 1994, 2001, Norman Gray <norman@astro.gla.ac.uk> % Mercurial revision 204fc9a2e560, 2009-10-08 12:56 +0100 font_identifier "FEYN"; font_size 11pt#; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % First the base ...


3

Behold my psychic power! Use \cslet to set \answer1 etc. to the current definition of \answer, not answer itself. \documentclass{article} \usepackage{etoolbox} \newcounter{a} \setcounter{a}{0} \newcommand\setans[2]{% \csdef{answer#1}{#2}} \newcommand\addans[1]{% \stepcounter{a}% \cslet{answer\thea}{#1}} % <--- Not \csdef! ...


3

\usepackage[aux]{rerunfilecheck} issues a warning if the auxfile has changed and asks for another run.


2

Note that latexmk can't know which LaTeX run will be the last, so you will need to run it twice. The first time call it like latexmk -pdf -pdflatex="pdflatex %O '\PassOptionsToPackage{draft}{graphicx}\input{%S}'" <filename> and the second time just with latexmk -pdf -g <filename> In the document you'll just have \usepackage{graphicx}. In ...


2

You forgot to include positioning library (section 17.5.3 Advanced Placement Options) which is needed when of parts are used in node placement specifications.


1

Rather than going through the TeXnicCenter's own log window, it is easier to look at the log file itself. By compiling doc.tex, a log-file doc.log will be created. This contains the information the TeXnicCenter window displays. Open this with your favorite text editor.


1

The authors of TeXnicCenter decided to show the log part without the possibility to copy text from there. If you want to change this behaviour please ask the authors on the webside www.texniccenter.org to change this. As said in comments and te other answer you have the possibility to copy the complete(!) error message in the log file. TeXnicCenter shows ...


1

This is not a direct answer to your question, more a means of tracking down the problem. I have also had problems with undefined Unicode characters, so I add the following to my preambles: \usepackage{newunicodechar} \DeclareUnicodeCharacter{FFFD}{?????} The character FFFD is the Unicode replacement character. It enables a document to compile to ...


1

Have you tried the \typeout{msg} command. http://www.personal.ceu.hu/tex/termio.htm It might not be the nicest solution but with some cleverly placed \typeout commands, you might find what you are looking for. And if I remember correctly, there is a comment package to comment out large parts of your (La)Tex code.


1

This should do the trick. \documentclass{article} % Beginning of definitions \usepackage{environ} \newif\ifappendix \NewEnviron{maybeappendix}[1] {\ifappendix \expandafter\global\expandafter\let\csname putmaybeappendix#1\endcsname\BODY% \else \expandafter\newcommand\csname putmaybeappendix#1\endcsname{}\BODY% \fi} ...


1

The problem is, that the fragile option is ignored, if the frame title is provided that way. I used the following and it works: \documentclass[12pt]{beamer} \usepackage{listings} \begin{document} \begin{frame}[fragile] \frametitle{Concept} \begin{lstlisting} PTable \end{lstlisting} \end{frame} \end{document}



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