"Perseo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi guys, > > we are looking for a python developer for a European project. This > project is multilangual and free it is called EuroCv and it need a > module for exporting data in PDF.
A brute-force approach could be to sidestep PDF and design a template(s) in LaTex containing fields identified by strings. LaTeX can produce many formats, one of those is PDF. Then have your output module read the template, do a search & replace of the fields with values (remembering to quote the characters that LaTex will choke on and removing the codes for the blank fields) and write the finished LaTeX document to disk. (Maybe there are even templating modules in Python that will take care of this). Then compile the documents with latex, run the resulting *.dvi file through dvipdf and return a link to it. This is a "compiler pattern". You need a naming scheme to identify your file(s) but the rest is pretty old. The Python application "scons" (a make replacement) can control the "build" process - in case that you are not on a unix box - one could have "build" application periodically looking for *.tex files and compile them into *pdf whenever one is deposited in the right place. Scons support distributed builds b.t.w. > As web developer I try to create this > module but It's too complicate for me. Check out the service > www.eurocv.eu for more details. Contact us by Skype chat system our > nick is eurocv. > > Thanks > -- http://mail.python.org/mailman/listinfo/python-list