Creating a LaTeX document in a C # / WPF application

Has anyone ever created a .pdf document in their C # / WPF application using LaTeX? We create reports and display them on the screen, and we studied reporting using HTML and LaTeX. The HTML version is simple, but creating a LaTeX document inside C # seems nontrivial, which I personally find a bit strange; I would think that people have done this many times. Does anyone know any LaTeX libraries to look at or any other way to do this?

+5
source share
2 answers

I do not know any LaTeX libraries and, as you said, this does not seem trivial, so I am also a bit strange. I always wrote documents myself using the TeXnic Center IDE tags, which I found very useful.

You can always try to write the document source to a file using StreamWriter, and then start a new pdflatex process through the command line in the code to compile the document in pdf?

Also, I managed to stumble upon a list of open source PDF generation libraries for C # that might be worth a look here (I don't think they are, unfortunately, for LaTeX for them):

http://en.csharp-online.net/Open_Source_PDF_Libraries

iTextSharp, , , . , - LaTeX, pdflatex, , .

, .

0

All Articles