Hi everyone,
I'm currently working on a (python) wiki to pdf converter, based on wiki2pdf, which is no longer actively maintained.
One of the -big- modifications to this script is to replace the all-python parser by a combination of wiki->xml, using flexbisonparse, and xml-> pdf, using parts of wiki2pdf. This was proposed by one of the developers of wiki2pdf to make it a bit... more maintainable.
At the moment, things work fine, except for 2 things with flexbisonparse: 1- the external urls are not handled, and are included verbatim in the output. 2- some people use <ref name="XX"> </ref> and <ref name="XX"/> to make references, but these are modified by flexbisonparse, into >ref name="XX"<, which is not very convenient.
I understand that the first problem is somehow difficult to manage, as many cases are to be analysed, but I have the impression that the second is simpler. However, I'm not (at all) an expert in flex and bison, and have the biggest difficulties understanding the code of flexbisonparse.
Is there a developer of this parser around? Do you think the modifications are feasible?
Also, I proposed a patch for minor modifications of the code on bugzilla, but I don't know if it is the right place to do that. http://bugzilla.wikimedia.org/show_bug.cgi?id=7001
Regards
Cyril