[OS X TeX] How to comment out includegraphics?

John Peterson john.peterson20 at comcast.net
Tue Oct 25 21:05:59 CEST 2005


Alain,

You might try placing \includegraphics with %\includegraphics.  This  
can be done and undone easily with "Replace All."

John


On Oct 25, 2005, at 2:47 PM, Alain Schremmer wrote:

> Piet van Oostrum wrote:
>
>
>>>>>>> Alain Schremmer <Schremmer.Alain at gmail.com> (AS) wrote:
>>>>>>>
>>>>>>>
>>
>>
>>
>>> AS> I have finally got my school machine with Miktex, WinEdit  
>>> etc. (Can't say I
>>> AS> like it.) The problem I now have is that, for the time being  
>>> at least, it
>>> AS> is not worth it to have all the graphics there too since I  
>>> use Intaglio
>>> AS> which is Mac only.
>>>
>>>
>>
>> Why not just copy the .pdf files?
>>
>>
> Because:
> - I have tons of them,
> - I want to keep them along with the Intaglio files so as not to  
> lose track during the editing which I can't do on a wintel box anyhow.
>
>
>>> AS> So, my question is how do I comment out all the  
>>> includegraphics before I
>>> AS> get it onto the wintel box and then uncomment them when I get  
>>> back on the
>>> AS> Mac.
>>>
>>>
>>
>> after the \usepackage{graphics}:
>> \renewcommand{\includegraphics}[2][]{\fbox{#2}}
>> (so you will have a visual indication of the graphics file there).
>> Later when you come back you put a % in front of this line.
>>
>>
> I will try this tomorow but I think this is exactly what I need.
>
> Gratefule regards
> --schremmer
>
> ------------------------- 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