> 
>> 
>> 
>>> 
>>>> (while (string-match
>>>>        "\\(<\\([0-9]+\\)cid\\([0-9]+\\)?>[[:blank:]]*\\([^&]+\\)\\)" row)
>>> 
>>> Could it be that you need to change the last + to *?
>>> Haven't tried it, mind you.
>>> -- 
>> 
> 
> The problem is in this part of the code:
> 
>     (while (string-match "& \\| \\\\\\\\" row 0)
>       (setq row (replace-match "" nil nil row))
>       (decf start))
> 
> If I comment it, I get three \cmidrule latex commands, but with &s and \\
> 
> Somehow, the above lines replace more than just &s and \\.
> 
> Vikas
> 


Reply via email to