Page layout languages are used in desktop and electronic publishing. The main focus of these languages is to facilitate a two-dimensional graphic design. Popular page layout formats include TEX, SVG, PS, and EPS.
With GroupDocs.Conversion you can easily convert a page layout file format into another file format.
For example, TEX to PDF conversion code snippet looks like this:
// Load the source TEX file
constconverter=newgroupdocs.conversion.Converter("sample.tex");// Set the convert options for PDF format
constoptions=newgroupdocs.conversion.PdfConvertOptions();// Convert to PDF format
converter.convert("converted.pdf",options);
Put it simply - you just load a TEX file into Converter, select the desired output format and GroupDocs.Conversion does all the rest.
Note
Refer to the API reference for more conversion options and customizations.
Convert to page layout formats
On the other hand, converting your files to page layout format is also quite simple and natural.
The following code snippet shows how to convert a DOCX document to TEX format in Java using GroupDocs.Conversion.
// Load the source DOCX file
constconverter=newgroupdocs.conversion.Converter("sample.docx");// Set the convert options for TEX format
constoptions=newgroupdocs.conversion.PdfConvertOptions();options.setFormat(groupdocs.conversion.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.