[TxMt] Typeset & View (PDF)

Allan Odgaard throw-away-1 at macromates.com
Tue Apr 3 03:18:04 UTC 2007


On 3. Apr 2007, at 03:21, Dan Lowe wrote:

> On Apr 2, 2007, at 2:33 PM, Alain Matthes wrote:
>> There is a little change in one line :
>>
>> now
>> if [ -s "${PDF}" -a ! "$PDF" -ot "$FILE" ]; then
>>
>> before
>> if [ -s "${PDF}" -a "$PDF" -nt "$FILE" ]; then .....
>>
>> -ot instead -nt ? why ?
> The first condition is negated by the "!", so it reads as "not  
> older than". The second condition reads as "newer than". So  
> ultimately they are equivalent.

Except for the case where the PDF file has exactly the same date as  
the document file.

Here the new version will still continue (with showing the PDF) where  
the old one would not (thus the change).





More information about the textmate mailing list