[OS X TeX] Including jpg w/ graphicx
Morten Høgholm
morten.hoegholm at gmail.com
Tue Nov 22 16:15:00 EST 2005
On Tue, 22 Nov 2005 22:07:38 +0100, Christopher Allen
<Christopher.T.Allen.95 at Alum.Dartmouth.ORG> wrote:
>> \expandafter\graphicspath\expandafter{\expandafter{\detokenize{~/
>> Pictures/}}}
>>
>> and this works correctly (just tested).
>
> I just get a blank page, like I did with \graphicspath{{Users/callen/
> Pictures/}}.
>
> I'm starting to think the error is not in the surrounding code but
> somewhere entirely different. If the code I sent, after correcting the
> path, works for you and not for me, then there must be something else
> going on.
This works for me with a file located in ~/Documents/TeX/experiments/ and
image file in ~/Documents
\listfiles
\documentclass[letterpaper,10pt]{article}
\usepackage{graphicx}
\expandafter\graphicspath\expandafter{\expandafter{\detokenize{~/Documents/}}}
\begin{document}
\includegraphics*[viewport=0 0 67 75]{image.jpg}
\end{document}
resulting in
*File List*
article.cls 2004/02/16 v1.4f Standard LaTeX document class
size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2005/02/03 v1.3 graphics configuration of teTeX/TeXLive
pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
supp-pdf.tex
~/Documents/image.jpg
***********
--
Morten
------------------------- 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