[OS X TeX] inputting figures that are pfd files

Bruce Kellogg rbmjk at alltel.net
Sun Apr 9 19:56:29 EDT 2006


Continuing with my problem of importing pdf files,
I note that the book of Kopka and Daly say that one should
use viewport instead of bb in importing pdf files. So I have
used the command

\includegraphics[viewport=0.in 0.in 2.in 3.in]{fb2}

I get the error message:


Runaway argument?
viewport=0.in 0.in 2.in 3.in]{fb2}
! Paragraph ended before \Gin at iii was complete.
<to be read again>
                    \par
l.138


Can anyone say what this means and where my error is?

On Apr 9, 2006, at 4:30 PM, Bruce Kellogg wrote:

> In response to suggestions from Figueroa-O'Farrill and Stengel:
>
> What does it mean, "You can do this by running the
> command 'ebb fos.pdf' from the command line."
>
> The draft option is not turned on.
>
> I can open the pdf files by themselves. I tried another figure,
> also without success. Also, since the mac readily generates
> pdf files to print documents, I tried writing a one line text file,
> saved it as a pdf file, and tried inputting it using the  
> \includegraphics
> command. I suppose that should have worked, but it did not.
>
> Bruce Kellogg
>
>
> On Apr 9, 2006, at 2:16 PM, Bruce Kellogg wrote:
>
>> I am a TeX user, gradually switching to LaTeX.
>> In TeX, I often used PiCTeX to generate figures,
>> so I have tried to do this in LaTeX. For this I have
>> used TeX and PiCTeX to generate a small figure,
>> obtaining a pdf file, called fos.pdf. I put the statement
>>
>> \usepackage{graphics}
>>
>> near the top of a LaTeX document, and I put the statement
>>
>> \includegraphics{fos}
>>
>> somewhere in the file. When processing the file with LaTeX,
>> I get the usual pdf output up to the point where the
>> \includegraphics statement is, then nothing else. The logfile
>> gives the message
>>
>>
>> <fos.pdf, id=1, 614.295pt x 794.97pt> <use fos.pdf>
>> Overfull \hbox (159.5385pt too wide) in paragraph at lines 134--135
>> [][]
>>
>>
>> and seems to continue processing the file. (Lines 134--135 are at the
>> \includegraphics statement.) I confess to not understanding
>> the comments about the bounding box in the section on  
>> \includegraphics
>> in the book of Kopta and Daly. But, just to try something I  
>> modified the statement to
>>
>> \includegraphics[0cm,0cm][2cm,2cm]{fos}
>>
>> Now I got a full set of output, but with a blank space where I would
>> have expected the figure, and no relevant comments in the log file as
>> far as I could see. Any suggestions?
>> ------------------------- Info --------------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>          & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>>
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list