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:
importcom.groupdocs.conversion.Converter;importcom.groupdocs.conversion.options.convert.PdfConvertOptions;...// 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 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.
importcom.groupdocs.conversion.Converter;importcom.groupdocs.conversion.options.convert.PdfConvertOptions;importcom.groupdocs.conversion.filetypes.PdfFileType;...// Load the source DOCX file
Converterconverter=Converter("sample.docx");// 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.