Importing a figure

David Carlisle d.p.carlisle at gmail.com
Wed Sep 25 20:50:11 CEST 2019


actually you just need graphicx (which calls epstopdf-base behind the
scenes if needed.

On Wed, 25 Sep 2019 at 18:26, John C Frain <frainj at gmail.com> wrote:

>
> If you are using the standard pdflatex program to produce your pdf output
> you will need to do something extra to import epd figures.  The graphicx
> package and pdflatex only support pdf, jpg and png formats. There should be
> no problems including jpg files in your document using the graphicx
> package, figure environment, and the includegraphics command.
>
> to include eps files in this scheme you can use the epstopdf program
> (included in your tex distribution) to convert your eps file to pdf or
> include the epstopdf package in your preamble.  When this is included in
> the preamble and the pdflatex program encounters an eps file and no
> corresponding pdf it generates the pdf and includes it in your document,
> If you amend the eps file you must delete the generated pdf file as
> otherwise it will not be regenerated.
>
> Chapter 7 of my LaTeX notes contains more details (
> https://econpapers.repec.org/paper/tcdtcduee/tep0214.htm).
>
> John C Frain
> 3 Aranleigh Park
> Rathfarnham
> Dublin 14
> Ireland
> www.tcd.ie/Economics/staff/frainj/home.html
> mailto:frainj at tcd.ie
> mailto:frainj at gmail.com
>
>
> On Wed, 25 Sep 2019 at 14:36, Trevor Marshall via texhax <texhax at tug.org>
> wrote:
>
>> Please  can anyone tell me how to import a figure, say as a eps or jpg
>> file generated by OCTAVE or MATLAB?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20190925/0804269e/attachment.html>


More information about the texhax mailing list