TeX is a language that comprises of programming as well as mark-up features, used to typeset documents. Donald Knuth from Stanford University, is the creator of this resourceful typesetting system. Across the world, TeX is the ultimate choice of authors and publishers to produce high quality technical documents. TeX performs an outstanding job of formatting complex mathematical expressions. In conjunction with a high-quality phototypesetter, TeX competes the results generated by the best traditional typesetting systems.
Convert from TEX
With GroupDocs.Conversion you can easily convert your TEX document into another file format. For example TEX to PDF conversion code snippet will look like this:
// Load the source TEX file
Converterconverter=newConverter("sample.tex");// Set the convert options for PDF format
PdfConvertOptionsoptions=newPdfConvertOptions();// Convert to PDF format
converter.convert("converted.pdf",options);
Put it simply - you just load a TEX file into Converter, select desired output format and all the rest will be done by GroupDocs.Conversion.
Note
For more available conversions and formats compatibility check supported file formats.
Refer to API reference for more conversion options and customizations.
Convert to TEX
On the other hand, converting your files to TEX format is also quite simple and natural.
The following code sample demonstrates how to convert DOCX document to TEX in Java using GroupDocs.Conversion.
// Load the source PDF file
Converterconverter=Converter("sample.pdf");// Set the convert options for TEX format
PdfConvertOptionsoptions=newPdfConvertOptions();options.setFormat(PdfFileType.Tex);// Convert to TEX format
converter.convert("converted.tex",options);
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.