Re: [O] LaTeX export filter

2018-03-27 Thread Vikas Rawal
> > > >> >>> (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. >> -- > > That does not change the result. Still pick only two. > > Vikas >

Re: [O] LaTeX export filter

2018-03-27 Thread Vikas Rawal
> >> >> >>> (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

Re: [O] LaTeX export filter

2018-03-24 Thread Eric S Fraga
On Saturday, 24 Mar 2018 at 22:24, Vikas Rawal wrote: > I am trying to write a LaTeX export filter that should replace all > table rows with cells having entries such as <3cid4> by > \cmidrule{lr}{3-4} [...] > (while (string-match >

[O] LaTeX export filter

2018-03-24 Thread Vikas Rawal
Let me start by confessing my limited knowledge of lisp. I am trying to write a LaTeX export filter that should replace all table rows with cells having entries such as <3cid4> by \cmidrule{lr}{3-4} The idea is to have a table row of this kind | <2cid3> | <4cid5> |<6cid7>