[OS X TeX] including a graphics file

Herbert Schulz herbs at wideopenwest.com
Sat Jun 19 19:35:12 CEST 2021



> On Jun 19, 2021, at 11:30 AM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 
> I tried the changes you and Murray Eisenberg suggested.  It crashed the compilation.
> 
> Here is what I know:
> 1. Murray talked about PDFLatex.  I don’t know if it is the same thing as I am using.  The TeXShop editor allows the following Typeset options:
> Plain Tex
> Latex
> Bibtex
> Makeindex
> Xelatex
> Xetex
> I have always used the Latex setting, which seems to include Ghostscript, etc (I use Pstricks a lot, and it works with that setting.)

Howdy,

Do you have `TeX and DVI' checked? I would guess so if you use pstricks. Then you can only include eps files so the pdf files won't work! You would then do what we suggested but use plot1.eps rather than plot1.pdf (or plot1 alone as Murray suggested)

> 
> 2. My preamble has \usepackage{graphix}
> 
> 3. dropping the .pdf in the file name results in “file plot1 not found"

Is it a .pdf file or an .eps file?

> 
> 5. Again the TeXShop editor menu has two macros for figures: regular or eps.  The settings I mentioned in my previous email were the eps settings (including all the 
> weird stuff like \bf inside the caption) which I had used because when I used the regular setting (which I usually do) the typesetting crashed.  With the eps settings, the 
> system simply says it doesn’t recognize the \epsfile command, and skips the whole picture.
> The changes suggested by both of you take me back to the “regular” settings.
> 
> 4. The console output which concerns the relevant part of the source code is
>> ./Monsters.tex:669: LaTeX Error: Cannot determine size of graphic in plot1.pdf 
>> (no BoundingBox).
>> 
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H <return>  for immediate help.
>>  ...                                              
>>                                                   
>> l.669 }
>>         \quad
>> ? 
>> <plot1.pdf>
>> 
>> ./Monsters.tex:672: LaTeX Error: Cannot determine size of graphic in plot2.pdf 
>> (no BoundingBox).
>> 
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H <return>  for immediate help.
>>  ...                                              
>>                                                   
>> l.672 }
>>         \quad
>> ? 
>> <plot2.pdf>
>> 
>> ./Monsters.tex:675: LaTeX Error: Cannot determine size of graphic in plot3.pdf 
>> (no BoundingBox).
>> 
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H <return>  for immediate help.
>>  ...                                              
>>                                                   
>> l.675 }
>>         
>> ? 
>> <plot3.pdf> [311] [312] [313]
> 

All because it's a .pdf not an .eps file.

Good Luck,

Herb Schulz
herbs at wideopenwest.com


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.