[OS X TeX] How to comment out includegraphics?

Herbert Schulz herbs at wideopenwest.com
Thu Oct 27 19:16:35 EDT 2005

On Oct 27, 2005, at 5:47 PM, Morten Høgholm wrote:

> Not quite right here Herb... The thing is that some places in TeX  
> you can use pretty much any character you like and it'll be fine.  
> One of these cases is when trying to input a file name where an  
> otherwise dangerous character like underscore would usually require  
> math mode. Another is when you try to do weird stuff like \csname  
> Xyz{$_}&*\endcsname (yes, this is a legal csname!).
> The problem here is that with the redefinition of \includegraphics,  
> the underscore is all of sudden just used for regular typesetting  
> and it promptly asked to be put in math mode.
> -- 
> Morten


Wow, I never thought of that! I guess the only safe redefinition is  
to not use either of the arguments and just use some kind of marker.

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/

More information about the MacOSX-TeX mailing list