Graphics, Figures & Tables ⇒ Unable to compile simple latex file with a graphic
Unable to compile simple latex file with a graphic
\RequirePackage{latexbug} % <--should be always the first line (see CONTRIBUTING)!
\documentclass{article}
\usepackage{graphics}
\begin{document}
text
\begin{figure}[tbp]
\centering
\includegraphics[width=0.7\textwidth]{ubndens}
\caption{test}
%\label{fig:test}
\end{figure}
\end{document}
I have attached the log file and the graphic file
It worked with a previous release of texlive (2019) but not texlive 2020
Any help much appreciated.
- Attachments
-
- test.log
- (3.17 KiB) Downloaded 171 times
-
- ubndens.eps
- (16.3 KiB) Downloaded 189 times
-
- test.tex
- (300 Bytes) Downloaded 190 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Unable to compile simple latex file with a graphic
Try loading graphicx instead of graphics package (the option processing is a bit different, see `texdoc grfguide` for more info on that).
KR
Rainer
Unable to compile simple latex file with a graphic
- Attachments
-
- test.log
- (3.46 KiB) Downloaded 188 times
Unable to compile simple latex file with a graphic
Unable to compile simple latex file with a graphic
Code: Select all
(/home/richard/texmf/tex/latex/aguplus/GRAPHICX.STY
Package: graphicx 1996/10/31 v1.0c Enhanced LaTeX Graphics (DPC,SPQR)
KR
Rainer
Unable to compile simple latex file with a graphic
I should add that this problem occurs with ALL my tex files and ALL the graphics they use. It only began when I upgraded my distribution from Ubuntu 18.04 to Ubuntu 20.04 recently. Before that all files compiled without issue (even with the old sty files).
Unable to compile simple latex file with a graphic
The switch in kpathsea was done around TL18: a so-called casefolding search was implemented as a fallback. You could add
Code: Select all
texmf_casefold_search=0
KR
Rainer
Unable to compile simple latex file with a graphic
After very careful checking using another test account I discovered that the problem was indeed what you had suggested. An old graphics.sty file was the culprit. Once deleted everything works fine. It must be that the latest texlive 2020 finally caused the old files to become a problem since it worked with texlive 2019. Thanks very much for your help!!
Richard