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

# \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!

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

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

--------------------------------------------------------------------------------
usepackage from LaTeX doc
\documentclass[a4paper,10pt]{article}

\usepackage{acronym}
\usepackage{datetime}
\usepackage{hyperref}

\usepackage{tikz-qtree}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{multicol}

\hypersetup{