On Tuesday 01 September 2009 23:08, T. J. Frazier wrote:
> Hi, Jean, Nino,
>
> [...]
>
> Assuming that you are converting one chapter at a time, if we can
> figure out an algorithmic method for naming/numbering the pictures, I
> should be able to write some Basic that compares the ODT with the
> wiki-text, and: 1) saves the pic (always as PNG?) with generated name
> 2) replaces the [img] filter trash with a real image call (pretty
> good assumption, that I can extract the params from the existing
> pic). The names might look something like 0302WG3_1, or _F1, or such;
> captions should be salvageable, as well. In general, you would have
> to supply the code with the leading string (before the underscore),
> once per chapter.
>
> If I can get the synchronization (between ODF and TXT) working
> properly, I might even take a crack at translating the Math output,
> at least crudely.
>
> If you think this would be useful, I'll start on it, but it is a
> non-trivial effort, so DHYB. 

IMHO, it does not seem worth the effort for the current task (Guide 
wikification) as saving+renaming images takes 15-20 seconds per image. 
But - it might be of general use for the export filter (ok, it's just a 
personal opinion).

> BTW: please mention any "regular" 
> clean-up you do; I might be able to do it with code.

Nice to know :-) I'll keep it in mind. Thank you.

Nino

Reply via email to