Martin Vermeer wrote:

> On Wed, Sep 03, 2003 at 07:58:32PM +0000, Angus Leeming spake thusly:
>  
>> It seems to me that there are two possible solution strategies.
>> 1. Output some clever latex in the 'Product' line. Something along the
>> lines of (psuedo code)
>>         if (exists($$Basename.pstex_t))
>>                 \\input{$$Basename.pstex_t}
>>         else
>>                 \\fbox{$$Basename.pstex_t not found}
>> 
>> This puts the responsibility on LaTeX to do the right thing. Other export
>> formats will continue to work AFAICS.
> 
> ...
>  
>> Personally, I favour approach #1, but my latex knowledge is not up to the
>> task. Can some guru help me out?
>> 
>> --
>> Angus
> 
> Sure this should work. Replace the linefeeds by \n to make it one
> string. What about outputting a marginal note \marginpar{...} instead?

Sounds good. What I'm looking for is the LaTeX-ese of the if then else 
construct. Also what package would I need to add to the preamble?

-- 
Angus

Reply via email to