[OS X TeX] MacTeX inputs

Alan Munn amunn at msu.edu
Mon Nov 13 10:08:58 EST 2006


At 9:03 AM -0500 11/13/06, Louis S VanSlyck wrote:
>One can use pen color by:
>
>\input color
>{\color{red} This line is red.}
>
>Or one can insert a picture by:
>
>\input graphicx
>\includegraphics[scale=0.5]{Logo}
>
>But the two inputs seem to be mutually exclusive.
>Whichever \input command appears first causes an error at the 
>second, and typeset fails.

A previous message by Julian Aguirre will solve this problem. 
(Bruno's suggestion of loading graphicx before color doesn't work for 
me, but this does.)

Alan


At 11:43 AM +0100 11/8/06, Julian Aguirre wrote:
>I found out that using the color and graphicx package with *pdftex* 
>produced errors. The following code, provided by Dan in the 
>comp.text.tex list, works:
>
>\input miniltx
>\makeatletter
>\def\Gin at driver{pdftex.def}
>\input color.sty
>\@namedef{ver at pdftex.def}{}
>\input graphicx.sty
>\resetatcatcode
>
>\textcolor{red}{Hello}
>\includegraphics[width=.4\hsize]{image.pdf}
>
>\end

-- 
Alan Munn 
amunn at msu.edu
Department of Linguistics                             
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824       Tel.  +1-517-355-7491
------------------------- 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