[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export filter
From: |
Vikas Rawal |
Subject: |
Re: [O] LaTeX export filter |
Date: |
Wed, 28 Mar 2018 06:21:45 +0530 |
>
>>
>>
>>>
>>>> (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
>