You are not logged in.

#1 2018-10-21 00:06:47

alanreis
Member
Registered: 2018-10-20
Posts: 2

[solved] Figures missing from pdf file in Latex

Hello everyone,

I recently changed from Ubuntu to Arch Linux and i am having a problem with Latex. When i compile the .tex file with PDFLatex (the figures format is jpg and png), all my figures disappear from the pdf file. I compiled the same .tex file in ubuntu and i had no problem.

I found some people who had the same problem as me, but for then to add the  "graphicx"  package solved the problem, but even with this package, i have the same problem.
Can anyone help with this?

Thank you!

Last edited by alanreis (2018-10-21 12:25:31)

Offline

#2 2018-10-21 02:23:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: [solved] Figures missing from pdf file in Latex

Post an example of a file that fails and the full output of the pdflatex or other compilation commands.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2018-10-21 12:25:06

alanreis
Member
Registered: 2018-10-20
Posts: 2

Re: [solved] Figures missing from pdf file in Latex

Hi, i found my error. it was in \includegraphics. I changed

\includegraphics[width=0.5\textwidth,natwidth=110,natheight=642]{diamondol.png}
to
\includegraphics[width=6.25cm,height=6.25cm]{diamondol.png} and then worked fine!

thank you anyway!

Offline

Board footer

Powered by FluxBB