[OS X TeX] inputting figures that are pfd files
Bruce Kellogg
rbmjk at alltel.net
Mon Apr 10 15:39:09 CEST 2006
Thanks to everyone who made suggestions on my problem. Here is what I
found:
1. Using graphicx started to produce some indication of success.
2. Using the crop statement in viewport gave an error message.
3. Using pdfcrop in a terminal window gave an error message;
the program was unable to copy the cropped file from a tmp location
to my desired directory. I looked in the /tmp directory and did not
find it there. No man pages for pdfcrop, so I gave that up. But ...
4. I fiddled with the parameters in viewport, and finally the picture
showed up!!
Overlaying some text, to be sure, but now I will be able to bring
it to where
I want it.
So I consider my problem resolved, if awkwardly. It is not the first
time that this
forum has helped me, so thanks again.
Bruce Kellogg
On Apr 10, 2006, at 8:53 AM, Herbert Schulz wrote:
>
> On Apr 10, 2006, at 5:52 AM, Bruce Kellogg wrote:
>
>> Sorry to continue on this silly question. Following Ross Moore's
>> suggestion I use the
>> command
>>
>> \includegraphics [viewport= 0 0 144 216,crop ]{fb2}
>>
>> and I get the error message:
>>
>> --------------------
>> ! Missing number, treated as zero.
>> <to be read again>
>> v
>> l.137 ...aphics [viewport= 0 0 144 216,crop ]{fb2}
>> --------------------
>>
>> Bruce
>>
>
> Howdy,
>
> This sounds like you are using the graphics package instead of the
> suggested graphicx package.
>
> Try opening the pdf file with TeXShop. It should be a tightly
> cropped image; i.e., the ``page boundaries'' should be just outside
> of the image. I have a feeling that your figure is taking up a
> small part of a full page. The included graphics then tries to
> display the full page which doesn't fit.
>
> If that is true you might be able to get a proper bounding box by
> going into Terminal (by the way that's where you execute the other
> command line commands suggested before), changing to the directory
> where the figure pdf is located and then run
>
> pdfcrop figure.pdf
>
> on your figure file (figure.pdf here) which would produce the file
> figure-crop.pdf. Opening that file in TeXShop should show the
> proper page size / bounding box.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
>
> ------------------------- 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 macostex-archives
mailing list