Am 21.11.2008 um 19:49 schrieb Tommaso Cucinotta:

I think I can easily modify it so as to realise a hierarchically sequential search (not a real binary search). Instead of advancing one position, exporting from the current position to the end of paragraph, then searching for a matching segment *at the start*, I would try to advance one paragraph each time, exporting the entire paragraph, searching for any match *inside*, then, if a match is found, proceed recursively advancing one position at a time searching for the exact
position that has the match at beginning.

Sounds reasonable.

Just another idea: you could insert markers into the latex output "somehow" to know which latex part belongs to which inset. Then maybe one latex output might be enough.

Stefan

I'll see if I can play a little bit tonight with the idea.

  T.

Abdelrazak Younes ha scritto:
Yes that too ;-)

That's also why the binary search is the most practical choice...

Abdel.



Reply via email to