I have updated the packages of miktex and now when I compile my file, the figures \includegraphics are not compiled and show only as a line of the figure name. I reinstalled both miktex and the texniccenter but no solution. Is it a bug? Any one please has a similar experience or an advice?
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.
95032
I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures. Since I couldn't find a solution I have to ask you, is there a way?
42335
issue also opened at     When I compile this MWE latex file in texstudio, on windows, using MikTex, then view the result using texstudio internal PDF viewer, it shows white streak lines going over the image. These lines are not in the original image.  Also these lines do not show up when I view the compiled PDF file using external PDF reader such as adobe.   Why is that?  The image is also a PDF file. Is it possible to resolve it? It is not a big issue really, since this seems to be just an artifact of texstudio pdf viewer itself, but thought to ask if there is an option to fix this.  Here is MWE  \documentclass{article} \usepackage{graphicx} \begin{document} This is my image, as PDF file, imported using includegraphics  \includegraphics[width=\textwidth]{image}     \end{document}   I put the file image.pdf is on my web page   This is how the compiled PDF looks like inside texstudio PDF viewer    This is how the PDF looks like inside adobe PRO pdf reader    Notice the white lines that show up in texstudio. This is pdfinfo on the image file  pdfinfo image.pdf   Creator:        Wolfram Mathematica 11.2.0.0 for Microsoft Windows (64-bit) (September 10, 2017) Student Edition - Personal Use Only Producer:        CreationDate:   Sat Mar  3 16:13:39 2018 ModDate:        Sat Mar  3 16:13:39 2018 Tagged:         no UserProperties: no Suspects:       no Form:           none JavaScript:     no Pages:          1 Encrypted:      no Page size:      470 x 367 pts Page rot:       0 File size:      99049 bytes Optimized:      no PDF version:    1.5   I am using   TeXstudio 2.12.6 (hg 6632:7777b2b8a906) Using Qt Version 5.9.1, compiled with Qt 5.9.1 R   Windows 7.
2149
I'm working on a large document which contains several figures. Due to the figures it takes a long time to compile.   I would like to comment out all the figures while I'm working and then put them back in at the end. To do this, I added something like   \renewenvironment{figure}{\begin{comment}}{\end{comment}}  which I could then comment out when needed. However, this just doesn't work and gives all sorts of problems. Specifically, I tried to compile this -   \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{comment} %\renewenvironment{figure}{\begin{comment}}{\end{comment}} \begin{document} \begin{figure} \begin{center} \includegraphics{image.png} \end{center} \end{figure} \end{document}   With the % everything compiled perfectly. If I remove the %, I get an error  Excluding 'comment' comment.) Runaway argument? ! File ended while scanning use of \next.
42131
I included the chemfig package to draw chemical stuff in LaTex. But the commands aren't recognized by TeXstudio. I even added the package to the autocompletion list in the settings to get recognized in every document but that doesn't help either.  The commands are red like following:     The file compiles as it should, so everything works except the recognition of the chemfig commands.
57451
I'm trying to a large number of figures. The code is  \begin{figure} \includegraphics[scale=0.5]{m2T4.pdf} \caption{M2T, Problem Size 513} \end{figure}   I'm not able to compile, I get the error  ! LaTeX Error: Too many unprocessed floats. See the LaTeX manual or LaTeX Companion for explanation. Type H &lt;return&gt; for immediate help. ... l.113 \includegraphics [scale=0.5]{m2T4.pdf} You've lost some text. Try typing &lt;return&gt; to proceed. If that doesn't work, type X &lt;return&gt; to quit. ! Undefined control sequence. \@float@Hx ...ltovf \fi \global \setbox \@currbox \color@vbox \normalcolor \... l.113 \includegraphics [scale=0.5]{m2T4.pdf} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. &lt;to be read again&gt; \vbox l.113 \includegraphics [scale=0.5]{m2T4.pdf} A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) pdfTeX warning: pdflatex (file ./m2T4.pdf): PDF inclusion: found PDF version &lt;1 .5&gt;, but at most version &lt;1.4&gt; allowed &lt;m2T4.pdf, id=1121, 538.28104pt x 212.1526pt&gt; File: m2T4.pdf Graphic file (type pdf) &lt;use m2T4.pdf&gt;
77841
I don't know what I've done, but all of a sudden I am unable to compile any document which uses the geometry package. Minimal (non)-working example:     \documentclass[11pt]{article}      \usepackage{geometry}  \begin{document} test \end{document}   doesn't produce any output, and this is what I see in my error summary screen in TeXnicCenter:    The red arrow points to what seems to be the problem: something about the bundle "oberdiek" and its package "ifvtex" is causing pdflatex.exe (which, while I don't really know what it does, sounds pretty important) to "not be initialized". I , and it's relevance here is a mystery to me.  I've confirmed that all of my files without the geometry package compile just fine; however, that doesn't mean that the problem is with the geometry package - what seems more likely is that there is some hidden cause of the error, and geometry happens to be one way to induce that. By the way, I've tried compiling a document which includes the ifpdf and ifvtex packages separately, and they do just fine; it's only when I include the geometry package (which for some reason requires these ifpdf and ifvtex packages) that the error occurs.  I've tried the only things I can think of:   going into MiKTeX Package Manager (by the way I am using 2.8), and removing + reinstalling both geometry and oberdiek refreshing the file name database ("FNDB") deleting all automatically generated files, as well as simply starting over in a new document   So I'm stuck now. I've considered attempting to just get rid of all traces of MiKTeX and TeXnicCenter from my computer and starting over, but that seems a bit excessive - after all, the geometry package was working for me . I honestly am not sure what I did to cause this; I've spent today trying to make a better template file for myself, and so I've been trying out new packages, but if I'm not loading these new packages there shouldn't be any conflicts, right?   Actually, I've just now thought of something that I think I did between the last time it worked and now, so is a possible candidate for the cause: I had to install some package manually, as it wasn't available on MiKTeX, and so I created a folder and pointed MiKTeX to it (i.e. the second option ). The package didn't do what I wanted, so I deleted the folder and removed it from the list of folders I told MiKTeX to check. Perhaps it's still trying to reach it for some reason?
9615
I use MikTeX as my compiler for Windows. The problem is that it uses Type3 (raster) fonts even though I've stated:  \usepackage[T1]{fontenc}   in the preamble.  As far as I've understood, this will force the compiler to use vector fonts instead.  Have I misunderstood something? Can I reconfigure my installation to always use vector fonts?
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.
23732
I have downloaded MiKTeX (on Windows 10). The .tex files for papers and posters compile well but beamer does not work.  Here is the header of my .tex file:  \documentclass[10pt]{beamer} % \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{fancybox} \usepackage{amssymb}  %   MATH \usepackage{amsmath}  %   MATH \usepackage{latexsym} %   MATH \usepackage{amsthm}   %   MATH \usepackage[italian,english]{babel} \usepackage{bm}         % per scrivere in grassetto i caratteri matematici \usepackage{indentfirst} \usepackage{color} \usepackage{booktabs} \usepackage{graphicx} \usepackage{multimedia} \usepackage{eurosym} \usepackage{tikz}   I receive the following error message:  ! Undefined control sequence.  l.1 \beamer@endinputifotherversion                                    {3.26pt}   How can this problem be fixed?  Joab Winkler
10321
Upon the risk of being down voted as no MWE is present, but at the moment just trying to get some pointers. I updated my MiKTeX installation to the newest available version at the moment (MiKTeX-pdfTeX 4.1 (MiKTeX 20.12)) and now I get an error while building my documentation: Appendix D. (../html/examples/group/latex/refman_doc.tex (../html/examples/group/latex//gro up__group1.tex) [243] ! I can't write on file `../html/examples/group/latex//group__group2.aux'. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.3 \include{group__group2}  Please type another output file name ! Emergency stop. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.3 \include{group__group2}  *** (job aborted, file error in nonstop mode)  some small background:  Started normally with pdflatex doxygen_manual.tex in here is the statement: \subinputfrom{../html/examples/group/latex/}{refman_doc} and in this file again: \include{group__group2} as far as I know the disk is not full and the protections of the files and directories are OK as well  It looks like that now an attempt is made to write to the directory ../html/examples/group/latex/ whilst in the past the file was written to the current directory. I already tried -shell-escape and -enable-write18 (as well as --shell-escape and --enable-write18) but to no avail.  Any known changes in respect to writing the aux file? Any hints  edit I asked another question () with the details and MWE but that was closed with the reason that it was a duplicate of this one ... So I'm adding the information now here: In the question  asked about the problems I encountered due to an update of my MiKTeX distribution, but didn't take the time (at that moment) to create a MWE, so it didn't attract much response. I have the directory structure:  main  manual.tex   group  group__group2.tex refman_doc.tex    manual.tex \documentclass{book} \usepackage{import} \usepackage{hyperref}  \begin{document} \subinputfrom{../group}{refman_doc} \end{document}  group__group2.tex \hypertarget{group__group2}{}{The Second Group}  refman_doc.tex {Module Documentation} \include{group__group2}  When running in the directory main the command pdflatex manual.tex I get the error: ... (../group/../group/refman_doc.tex [1{C:/Users/User/AppData/Local/MiKTeX/2.9/pdf tex/config/pdftex.map}] ! I can't write on file `../group//group__group2.aux'. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.2 \include{group__group2}  Please type another output file name:  but in a non interactive mode (the usual way to run. i.e. with \batchmode) one doesn't get an opportunity to specify the file and the generation crashes. As written in the original question adding options like -shell-escape and / or -enable-write18 didn't help.  Is there a solution for this problem?  edit 2 I did some further test. I replaced the \subinputfrom with an \input statement, although this worked for the limited example above it didn't work for my larger codebase as here (again just a limited view) we have in the refman_doc.tex {Module Documentation} \input{group__group1} \include{group__group2}  with the contents of group_group1.tex similar to group__group2.tex and the file is also parallel to group__group2.tex. This results in the error: (manual.out) (manual.out) (../group/refman_doc.tex  ! LaTeX Error: File `group__group1.tex' not found.  Type X to quit or &lt;RETURN&gt; to proceed, or enter new name. (Default extension: tex)  Enter file name: ! Emergency stop. &lt;read *&gt;  l.2 \input{group__group1}  !  ==&gt; Fatal error occurred, no output PDF file produced!
15052
There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which?  Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long as I put in a four line incantation.  Can anyone explain this?
92598
I'm trying to include a png figure and it works when I see it in dvi, but the ps comes in black and white.  If I compile directly to pdf there is no problem. However I'm using psTricks for a different figure, so I need to use ps first.  Any suggestions?
22340
I mess up with things when I try to use the figure-thing: the picture is not appearing with the correct alignment (apparently because I forget the float package). Now I want to use only the graphicx package with \includegraphics. How can I center the \includegraphics without figure?  Not working or doing centering to the document afterwards.  \includegraphics[width=0.5 \textwidth]{./Pictures/r.png}{\centering} \includegraphics[width=0.5 \textwidth]{./Pictures/r.png}\centering
67334
I'm using MiKTex 2.9.4196 with TeXnicCenter 2.0 beta on Windows 7. As I have to compile very large tikzpictures I use tikz externalize. Nevertheless some tikzpicture still produce an error.  ! TeX capacity exceeded, sorry [pool size=3147270].   I already did increase the main memory, but I couldn't find out how to change the pool-size.
43938
The folowing code works correctly inside Texlipse together with Miktex 2.9 x64. The tikzexternalize option is used to speed up the compilation process, just make sure the  mode is enables exclicitly passing the -shell-escape argument to the compiler.  \documentclass{article}  \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize[prefix=figures/]  \begin{document}  \begin{tikzpicture} \node[draw, circle, minimum width=1cm] {}; \end{tikzpicture}     \end{document}   Now, when the article class is replaced by the abntex2 class as the following code, the pdf file is not generated inside figures folder any longer.  \documentclass[     % -- opções da classe memoir --     12pt,               % tamanho da fonte     openright,          % capítulos começam em pág ímpar (insere página vazia caso     % preciso)     twoside,            % para impressão em verso e anverso. Oposto a oneside     a4paper,            % tamanho do papel.     % -- opções da classe abntex2 --     %chapter=TITLE,     % títulos de capítulos convertidos em letras maiúsculas     %section=TITLE,     % títulos de seções convertidos em letras maiúsculas     %subsection=TITLE,  % títulos de subseções convertidos em letras maiúsculas     %subsubsection=TITLE,% títulos de subsubseções convertidos em letras maiúsculas     % -- opções do pacote babel --     english,            % idioma adicional para hifenização     french,             % idioma adicional para hifenização     spanish,            % idioma adicional para hifenização     brazil              % o último idioma é o principal do documento     ]{abntex2}  \usepackage{tikz} \usetikzlibrary{external} \tikzexternalize[prefix=figures/]  \begin{document}  \begin{tikzpicture} \node[draw, circle, minimum width=1cm] {}; \end{tikzpicture}  \end{document}   Then the console shows the following information where the main tex file name is DissDaniel.tex:  pdflatex.exe&gt; ===== 'mode=convert with system call': Invoking 'pdflatex -shell-escape -halt-o pdflatex.exe&gt; n-error -interaction=batchmode -jobname "figures/DissDaniel-figure0" "\def\tikz pdflatex.exe&gt; externalrealjob{DissDaniel}\input{DissDaniel}"' ======== pdflatex.exe&gt;  pdflatex.exe&gt; ! Package tikz Error: Sorry, the system call 'pdflatex -shell-escape -halt-on-e pdflatex.exe&gt; rror -interaction=batchmode -jobname "figures/DissDaniel-figure0" "\def\tikzext pdflatex.exe&gt; ernalrealjob{DissDaniel}\input{DissDaniel}"' did NOT result in a usable output  pdflatex.exe&gt; file 'figures/DissDaniel-figure0' (expected one of .pdf:.jpg:.jpeg:.png:). Plea pdflatex.exe&gt; se verify that you have enabled system calls. For pdflatex, this is 'pdflatex - pdflatex.exe&gt; shell-escape'. Sometimes it is also named 'write 18' or something like that. Or pdflatex.exe&gt;  maybe the command simply failed? Error messages can be found in 'figures/DissD pdflatex.exe&gt; aniel-figure0.log'. If you continue now, I'll try to typeset the picture. pdflatex.exe&gt;  pdflatex.exe&gt; See the tikz package documentation for explanation. pdflatex.exe&gt; Type  H &lt;return&gt;  for immediate help. pdflatex.exe&gt;  ...                                               pdflatex.exe&gt;                                                    pdflatex.exe&gt; l.32 \end{tikzpicture}
6946
When I run  in MikTeX I get an error message saying that the image file is not found:  ! LaTeX Error: File `chick' not found.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.21   \includegraphics{chick}  ?   I have put the image file (in this case chick.eps) in the same folder as import.tex.