On MacTeX 2019, I get the following error when using \includegraphics:  ./test.tex:5: Undefined control sequence. \Ginclude@graphics ...e \expandafter {\@curr@file                                                    }}\expandafter \filename@p... l.5 \includegraphics{ddg.png}   The following MWE does not work (yes, ddg.png is there):  \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{ddg.png} \end{document}   This happens both with XeLaTeX and pdfLaTeX. Anybody got any ideas or even the same issue?  Sadly, I can't track down what I did to cause this bug, it presumably happened when auto-updating packages with tlmgr. I know it worked fine like a couple days ago.
16229
After updating MiKTeX graphics package on 10/5/19 to version 1.3b (packaged on 10/4/2019 8:11:27 PM), I am unable to compile LaTex files that contain \includegraphics{}.  My system: Windows 10  with MiKTeX 2.9.7200  A minimum working example:  \documentclass{article} \usepackage{graphics}  \begin{document}  \begin{figure}    \includegraphics{MC_Antenna_Gain} \end{figure}  \end{document}   The error report   This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7200) entering extended mode (C:/Users/nicrog/Dropbox/T_P_2/Scholar/Grants/Written/EWU_20/Test.tex LaTeX2e &lt;2018-12-01&gt; ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\article.cls" Document Class: article 2019/08/27 v1.4j Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\size10.clo")) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\graphics.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\trig.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def")) No file Test.aux. ("C:\Program Files (x86)\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\epstopdf-base.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\infwarerr.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\grfext.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvdefinekeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ltxcmds.sty"))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\kvoptions.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\keyval.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvsetkeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\etexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifluatex.sty")))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\pdftexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifpdf.sty"))) ! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file                                                    {#1}\edef \uq@curr@file {\... l.8    \includegraphics{MC_Antenna_Gain}  ?    I will report this potential bug to  as well.
18201
I ran into this with the package lilyglyphs but I'm not sure whose fault this error is.  When I compile the following with lualatex:  \documentclass{article} \usepackage{csquotes} \MakeOuterQuote{"} \EnableQuotes \begin{document} \directlua{print("hello")} \end{document}   I get an error saying   \directlua]:1: unexpected symbol near '\'. l.6 \directlua{print("hello")}    Now suppose that I do not directly write \directlua in my document, but I include a package that does it internally. Such as   \documentclass{article} \usepackage{fontspec, csquotes, lilyglyphs} \MakeOuterQuote{"} \EnableQuotes \begin{document} \wholeNote \end{document}   I have no knowledge why compilation fails, because the error now becomes   ! Missing number, treated as zero. &lt;to be read again&gt; \begingroup l.7 \end       {document}    From my user point of view I did nothing wrong, because I'm using the public API provided by the packages. The csquotes documentation specifically says:     Note that all characters are automatically checked for validity as they are allocated. This package will reject characters which are unsuitable as active quotes... In sum, the following   characters will be considered as reserved by this package:   A–Z a–z 0–9 . , ; : ! ? ' - # $ % &amp; ^ _ ` ~ \ @ * { } [ ]    So my question is whose fault is this error?   My fault, the user's fault, because I should have known (but how?) that even though the quote is not listed as unsuitable in the csquotes manual, it actually is? The fault of the implementation or documentation of csquotes for failing to mention " as unsuitable? The fault of the implementation of the \directlua command because it doesn't prevent LaTeX catcode changes/active characters from impacting its argument? A shortcoming of TeX itself because of its global state based architecture?
86179
I often have this error when using AUCTeX:  TeX-error: Error occured after last TeX file closed  However, when running for instance pdflatex on the command line, I have a proper error message. But the line number information is not always useful, especially if multiple files are included. I'd like to be able to see the error in Emacs.
95260
Here is a simple document:   \documentclass{article} \usepackage[%   backend      = biber,   bibstyle     = biblatex-sp-unified, ]{biblatex} \addbibresource{test.bib} \begin{document}  \cite{test}  \printbibliography{} \end{document}   Which refers to  and this simple bib file:  @article{test,   Author = {test},   Title = {test} }   This used to work. After updating my MacTeX distribution this Sunday morning and (full disclosure) doing a sudo tlmgr update --all, I now receive errors like the following:   ! Undefined control sequence. &lt;argument&gt; \bbl@main@language  l.12 \printbibliography{                         } ?   Curiously, if either the Author or Title field is missing, I don't get an error. Moreover, if I remove the bibstyle option, the error goes away. This leads me to suspect that the problem is somewhere in the bbx file linked above, but that's as far as my limited knowledge and expertise gets me.   I realize this might be a rather specific question (and I have opened an issue on the github I linked to), but perhaps there is a general issue causing the problem here, in which case others might benefit from a general solution.
63774
This minimal example produces an error (undefined control sequences):  % !TEX TS-program = pdflatexmk  \documentclass{article}  \usepackage{tikz} \usepackage{preview}  \begin{document}  Hello.  \end{document}   Once the tikz package is removed, it compiles fine. Removing either usepackage commands allows the program to compile. Moreover, including both, but adding the [active] option to preview allows the script to compile.   I've pasted the log file .
69164
I am trying to create the FMT file by using the latex.ltx for the following procedures.   Copy latex.ltx file from the base directory to my local working directory. Rename this file. I Load my orginal source files for the following commands before the \dump command.  \input xmltex.tex \input Sample.cfg \input Sample.xmt \LoadClass{article} \dump \endinput   I am compailing the ltx file for the following command like latex -ini filename.ltx  First i am getting the following error.  ! LaTeX requires e-TeX. l.98     {LaTeX requires e-TeX}  ?   So i comment the those lines from the ltx file and try to run the ltx file.  %   \errmessage %     {LaTeX requires e-TeX} %   \expandafter\endinput   After comment those lines from the ltx file, i will run the ltx file once again. But i am getting the below mentioned errors.   So, i will change my compilation command etex -ini filename.ltx. But the same errors are repeated.   The .ltx show the plenty of errors during the compilation process  \utfthreeuniglyph ... \expandafter {\the \numexpr                                                   4096*(#1-224)+64*(  ! Extra \else. \unicodechar ...nichar@\number #1\endcsname \else                                                   \errmessage {Unicode   I am unable to fix this error. I place my MWE for your reference.  %%Sample.tex%% \def\xmlfile{sample.xml} \input xmltex  %%Sample.xml &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE article SYSTEM "JATS-journalpublishing1.dtd"&gt; &lt;article&gt; &lt;front&gt; &lt;article-meta&gt; &lt;title-group&gt; &lt;article-title&gt;The sample title&lt;/article-title&gt; &lt;/title-group&gt; &lt;/article-meta&gt; &lt;/front&gt; &lt;body&gt; &lt;sec id="j_nanoph-2018-0214_s_001"&gt; &lt;title&gt;Introduction&lt;/title&gt; &lt;p&gt;The &lt;bold&gt;Sample.cfg, Sample.xmt, Sample-entity.sty&lt;/bold&gt; files needs to be converted into unreadable format &amp;#x00C1; &amp;#x00E1;.&lt;/p&gt; &lt;/body&gt; &lt;/article&gt;  %%Sample.xmt%%  \XMLentity{TeX}{\TeX} \XMLentity{LaTeX}{\LaTeX}  %%%%Main Root Tag%%%% \XMLelement{article}%     {}%     {\documentclass{article}%     \begin{document}}%     {\end{document}}% %%%%  \XMLelement{bold}{}{\xmlgrab}{\textbf{#1}}   %%%%Front Matter Tags%%%% \XMLelement{front}{}{}{%   \date{}   \maketitle% }% %%%%  \XMLelement{article-title}{}{\xmlgrab}{\title{#1}}  \XMLelement{title}{}{\xmlgrab}{\section*{#1}}  \XMLelement{p}{}{}{\par}%   Could you please advice how to clear those errors and getting the successful FMT creation for the following source files.
123654
I am trying to include a graph in a tex document. I do realize that there have already been several questions asked about this topic, but I think by now I have tried all suggested solutions but none seem to work. This is the minimal example:  \documentclass[12pt]{report} \usepackage{graphicx} \graphicspath{{C:/Users/felix/Desktop/Bachelorarbeit/TeX/BA_text2/images}} \usepackage[a4paper]{geometry}  \begin{document} \begin{figure} \includegraphics[scale=1]{gap_v3_v4_AT.png} \end{figure} \end{document}   Information about my setup:  I am using Texmaker and MiKTeX 2.9.   Things I have tried:   Absolute and relative paths,  not initialising a figure environment, including the directory where the graph is in the MiKTeX Options-> root directory (was suggested in one of the answers to a similar question)   There is definetly a .png file with the same exact name in the folder set by \graphicspath.   I would be really grateful for any ideas!
69808
I am using WinEdt 6 for compiling my TeX documents. I am getting an error with contains the line $\mathbb{Z}$ showing that it is undefined control sequence. How should I rectify it? Should I include any math packages or something. I am a beginner in using TeX.
15901
How to insert pipe symbol | in TeX (LaTeX)?  I have tried this sample with pdflatex tmp.tex  \documentclass{extarticle} \begin{document} \textpipe \end{document}   And it give undefined control sequence error  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. entering extended mode (./tmp.tex LaTeX2e &lt;2009/09/24&gt; Babel &lt;v3.8l&gt; and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. (/usr/share/texmf-texlive/tex/latex/extsizes/extarticle.cls Document Class: extarticle 1996/10/08 v1.0 Non Standard LaTeX document class (/usr/share/texmf-texlive/tex/latex/base/size10.clo) (/usr/share/texmf-texlive/tex/latex/base/exscale.sty)) No file tmp.aux. ! Undefined control sequence. l.3 \textpipe
115596
This code:  \documentclass[11pt,openright]{book} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[british]{babel}  \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize[prefix={"C:/Users/MyName MySurname/Documents/LaTeX/Figures/"}]  %\tikzexternalize[prefix={Figures/}]   \begin{document} \begin{tikzpicture}     \draw (0,0) circle (1cm); \end{tikzpicture} \end{document}   gives me the error:     ! I can't write on file `"C:/Users/MyName   MySurname/Documents/LaTeX/Figures/MyMWE-figure0.md5"'.   I'm working with Windows 10, MiKTeX 2.9 distibution.  Following the advice Tarass gave me on a comment of this question:  and as indicated here:  I've registered a user-managed TEXMF directory but I still get the same error.  With \tikzexternalize[prefix={Figures/}] all works perfectly but, since I'm using LyX, the files are stored in a LyX temp dir, hence I loose them when I close the program (making externalization useless), so I need to use an absolute path.
77002
How do I install the  on Mac with MacTeX 2013 and Windows with TeX Live 2013? I am using pdflatex so   does not solve my problem.
13818
Consider the following MWE:  \documentclass{scrreprt}  \usepackage{textcase}  \RequirePackage{listings} \usepackage[american]{babel}  \begin{document}     \MakeTextLowercase{A~B} \end{document}   LaTeX fails with the error  ! Undefined control sequence. &lt;to be read again&gt; az                      b l.9     \MakeTextLowercase{A~B}  ?    The error seems to lie in the combination of MakeTextLowercase, the listings package and the tilde. Whenever I remove any of these three components, everything works fine. Does anyone have a clue where the problem is?
60166
I can't include bitmaps with pdflatex. Here is my mwe:  \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[turkish]{babel} \addto\extrasturkish{\uccode`i=\string"9D \lccode`I=\string"19 } \addto\noextrasturkish{\uccode`i=`I \lccode`I=`i }   \usepackage{graphicx}  \begin{document}  \shorthandoff{=}  \includegraphics[width=5cm,height=5cm]{000.bmp} \end{document}   Gives the error Unknown graphics extension: .bmp.
33853
I've just installed , which is the MacTeX equivalent of the TeX Live "small" scheme.  Using TeX Live Utility (MacTeX's GUI for tlmgr), I've installed mathpazo, but a minimal example  \documentclass{article} \usepackage{mathpazo} \begin{document} \end{document}   yields the error: (after the usual Metafont complaints)  ./small.tex:3: Font OT1/ppl/m/n/10=pplr7t at 10.0pt not loadable: Metric (TFM)  file not found.   After installing the palatino package, this error goes away, but a slightly less minimal example:  \documentclass{article} \usepackage[osf]{mathpazo} \begin{document} hello 123 \end{document}   Now yields the less promising:  !pdfTeX error: /usr/texbin/pdflatex (file fplrc8a.pfb): cannot open Type 1 font  file for reading  ==&gt; Fatal error occurred, no output PDF file produced!   Uh oh. I'm stuck for ideas for what to try next.
96328
I have a LaTeX table generated like this,   \begin{table}[ht] \begin{center} \begin{tabular}{rrrrrrr} \hline &amp; 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 &amp; 6 \\  \hline 1 &amp; 181.21 &amp; 169.01 &amp; 130.03 &amp; 135.93 &amp; 142.31 &amp; 108.11 \\  2 &amp; 106.80 &amp; 130.71 &amp; 186.43 &amp; 126.46 &amp; 167.28 &amp; 137.91 \\  3 &amp; 162.69 &amp; 198.98 &amp; 188.33 &amp; 184.30 &amp; 147.02 &amp; 197.38 \\  4 &amp; 132.42 &amp; 150.50 &amp; 148.69 &amp; 134.31 &amp; 129.52 &amp; 172.72 \\  \hline \end{tabular} \end{center} \end{table}   but when i compile it in MiKTeX I am getting the following error   ! Undefined control sequence. l.1 \begin           {table}[ht] ?  Process interrupted by user   I want a table generated from this i am compiling under pdfTeX. I am using LaTeX for first time, can anyone please give a suggestion?
4286
I am using the suggestion from  to change the background color of a page using the MWE example from frabjous. This works in Texlive 2016, but it gives an error in Texlive 2017:  ! Undefined control sequence. \set@color ...e@color \current@color \ifundefined                                               {GPT@outputbox}{\csname ne... l.7 \pagecolor{yellow}                   \afterpage{\nopagecolor}   Does anyone else get this error and is there a fix?  Thank you.
94562
\documentclass{beamer}  \usepackage{subfig}  \begin{document}  test  \end{document}   returns undefined control sequence \@@magyar@captionfix  (It was not so in January; I am on fully updated pretest)