I am new to Tex and I want to generate a PDF after taking some data from oracle SQL database. I researched a lot and I came to solution that I will have to write a C++ code for this. The C++ code will first read the data from database and the code will also generate the .tex file dynamically. This tex file would be fed as input to pdftex to generate the final output.
Now, my question's are:
- Do you think this is good approach or please suggest if you can think of some better solution?
- Is there any C++ library which can help me in generating tex file else I'll have to generate the tex file via basic C++ operations.
printforcoutwith c++ – Romain Picot Aug 22 '15 at 05:56datatoolpackage to process the data. – Peter Grill Aug 22 '15 at 09:01\write18and it is discussed under the tagwrite18. Here is an example: http://stackoverflow.com/a/3253068/44082. Note that you need to enable shell execution frompdflatexon the command line with--shell-escape. – Christian Lindig Aug 24 '15 at 19:24