Convert TEX

About TEX File Format

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
Converter converter = new Converter("sample.tex");
// Set the convert options for PDF format
PdfConvertOptions options = new PdfConvertOptions();
// 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
Converter converter = Converter("sample.pdf");
// Set the convert options for TEX format
PdfConvertOptions options = new PdfConvertOptions();
options.setFormat(PdfFileType.Tex);
// Convert to TEX format
converter.convert("converted.tex", options);