[OS X TeX] How to find coloured pages automatically?

William F. Adams wadams at atlis.com
Thu Jan 20 09:03:46 EST 2005

> On 20 Jan 2005, at 2:01 AM, Guido Mocken wrote:
>> is there an easy way (a LaTeX package?) to find all pages of a rather  
>> long document that contain color?

This was discussed on comp.text.tex a while back.


and On Jan 19, 2005, at 5:55 PM, Will Robertson wrote:

> If the colour appears due to TeX commands (\textcolor{blue}{some blue  
> text} for example), you could patch those commands to write out the  
> page number to an external file whenever they're used. (Before I try  
> this myself I'll see if it's actually useful to you.)

Should work, and as the thread above notes, combined w/ selectp.sty  
gets one pretty much a compleat solution.

> Otherwise (if your included figures may or may not include colour)  
> then Chris Goedde's suggestion sounds the most promising. Of course,  
> if ALL of your figures contained colour, then you could obtain their  
> page number from the .lof file.

Nice shortcut that.

I believe one could also derive appropriate .pdfs using scripting in  
Enfocus PitStop, but that's kind if pricey. Callas' PDF output pro is  
also useful for this sort of thing.

High-end PostScript RIPs have this as a feature, so if it's a print  
shop handling this they may be able to handle it automatically.


William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the MacOSX-TeX mailing list