You can find detailed information at: Convert LaTeX to Word using C++
Last active
August 11, 2021 07:42
-
-
Save aspose-com-gists/2a9b150b34c509a53ba4eb58a0ab814e to your computer and use it in GitHub Desktop.
Convert LaTeX to Word using C++ | https://blog.aspose.com/2021/07/27/convert-latex-to-word-using-cpp/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create an instance of the TeXLoadOptions class | |
auto options = MakeObject<TeXLoadOptions>(); | |
// Load the TeX file | |
auto pdfDocument = MakeObject<Document>(u"SourceDirectory\\samplefile.tex", options); | |
// Save the TeX file as DOCX | |
pdfDocument->Save(u"OutputDirectory\\TeXToDOCX_out.docx", SaveFormat::DocX); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment