We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

\usepackage in Latex doc not part of conversion to PDF

Trying to convert Latex to PDF, but the \usepackage included in the latex doc is not part of the conversion. How can i specify the latex usepackage paths ?

Hi Michael,

Thanks for your inquiry. We will appreciate it if you please share your source document here, we will test the scenario and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,
Tried to put the latex doc in the same root dir as the included usepackage (see below from the latex doc), but the packages are not part of the conversion!

// Instantiate Latex Load option object
LatexLoadOptions Latexoptions = new LatexLoadOptions();
// Create Document object
Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"c:testdoc.tex", Latexoptions);
// Save the output in PDF file

Should i add any Latexoptions pointing at the dir for the usepackages ??

usepackage from LaTeX doc





Hi Michael,

Thanks for sharing the details.

As requested, can you please share the resource/input LaTex file, so that we can test the scenario in our environment.