On Wed, Oct 22, 2003 at 03:24:43PM +0000, Angus Leeming wrote:
> Andre Poenitz wrote:
> > Three of them actually.
> > 
> > 1. \usepackage{color}
> 
> Is it possible to get latex to interogate the \include-d file? 
> 
> \IfFileContains{your_file.pstex_t}{\color}
>         \usepackage{color}
> 
> I guess not ;-)

Well... \def\color to write something to a temp file, read the \include
file into a box, check the temp file _might_ work. I wouldn't try it,
though...

> > 2. \def\color#1...... {}
> > 3. Use 'default' as color, not 'black'.
> 
> That's really what I was looking for. Thank you.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to