# [texhax] Graphics with Lyx.

Bob Tennent rdt at cs.queensu.ca
Sat May 21 02:14:13 CEST 2016

>|I have recently had to deal with a paper submitted
>|to ANZJS, that was prepared using Lyx. The paper
>|was actually handled by one of my technical-editing
>|colleagues and he found that no matter what he did the
>|graphics that were contained in the paper were converted
>|to png format even though/when the graphics were provided
>|as pdf files. The resulting diminishment in the quality
>|of the graphics was noticeable and was unacceptable for
>|the Journal.

I've just tested lyx and included a pdf graphics file. I
"exported" to .tex and the resulting file had

\includegraphics{filename}

with no extension so lyx isn't converting to png. If the
resulting tex file is processed by pdflatex it will use
filename.png if it's available so perhaps there is a poor
quality .png file in the same directory. Remove it and
re-process.

>|I know from nothing about Lyx --- I'm not even sure what
>|it *is* exactly

It's a front-end to LaTeX et al with a gui for users who
need it.

Bob T.