Bo Peng wrote:
>> I think that if the line doesn't exist, then you should just abort.
>> +if (!/Preview:\s+Tightpage/gcms){
>>         // bail out
> 
> Under what condition will this line disappear? I thought that this
> line will exist for both correct and incorrect first preview.

If the user doesn't have preview-latex installed.

>> (I've forgotten what all those 'gcms' commands mean --- if I ever
>> knew.)
> 
> g: global. 

Not needed I think. If I remember correctly there is only one 
"Preview: Tightpage".

> m: let ^ be beginning of line even when we deal 
> with multiple lines all at ones.

Neat!

> s: let . match new line.

Not needed.

>  c: continue (later with different pattern.)

Not needed ?

>> * Grammatical point: don't call them 'wrong formulas'. Call them
>> 'incorrrect formulas', or even 'incorrect formulae'.

> You can tell that English is not my native language everywhere. :-)

You are at a disadvantage working in the US, so I forgive you ;-)

> Thanks.

-- 
Angus

Reply via email to