Skip to main content

Python API to TypeSet TeX Files

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.TeX for Python via .NET is a library that provides a TeX engine extension called ObjectTeX. It can be used to typeset documents described by TeX files. "Object" means that intermediary typesetting result is a specific object model which then can be uniformly converted into a number of end formats.

TypeSetting File Processing Features

  • Typesetting of TeX files
  • Create custom TeX formats
  • Provide input data in various ways
  • Fetch output data in various ways

Supported Input Formats

TeX

Save TeX As

XPS, PDF, JPEG, PNG, TIFF and BMP

Supported Embedded Fonts for Typesetting

cmbsy10, cmbx10, cmbx5, cmbx6, cmbx7, cmbx8, cmbx9, cmcsc10, cmdunh10, cmex10, cmmi10, cmmi5, cmmi6, cmm7, cmmi8, cmmi9, cmmib10, cmr10, cmr5, cmr6, cmr7, cmr8, cmr9, cmsl10, cmsl8, cmsl9, cmsltt10, cmss10, cmssbx10, cmssi10, cmssq8, cmssqi8, cmsy10, cmsy5, cmsy6, cmsy7, cmsy8, cmsy9, cmti10, cmti7, cmti8, cmti9, cmtt10, cmtt8, cmtt9, cmu10

Supported Platforms

You can use Aspose.TeX for Python via .NET to build any type of a 32-bit or 64-bit Python application for Windows. Python 3.5 or later is supported.

Use Python to Obtain Typeset Document from XPS Device

You can execute the below code snippet to see how Aspose.TeX API performs against your own samples or check the GitHub Repository for other common usage scenarios.

from aspose.tex import *
from aspose.tex.io import *
from aspose.tex.presentation.image import *
from os import path

options = TeXOptions.console_app_options(TeXConfig.object_tex())
options.job_name = "sample2-1";
options.input_working_directory = InputFileSystemDirectory(_inputDirectory)
options.output_working_directory = OutputFileSystemDirectory(_outputDirectory)
options.terminal_out = OutputFileTerminal(options.output_working_directory)

with open(path.join(_outputDirectory, options.JobName + ".xps")) as stream:
    TeXJob("hello-world", XpsDevice(stream), options).run()

options.terminal_out.writer.write_line()

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Metadata

Release files for aspose-tex-net 26.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aspose-tex-net 26.10.0
File Interpreter ABI Platform Actions
aspose_tex_net-26.10.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aspose_tex_net-26.10.0-py3-none-win_amd64.whl
aspose_tex_net-26.10.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for aspose_tex_net-26.10.0-py3-none-win32.whl

Total release size: 102.3 MB

Release files / aspose_tex_net-26.10.0-py3-none-win_amd64.whl

Download URL aspose_tex_net-26.10.0-py3-none-win_amd64.whl
Size 53.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ca18aa14fdaf1bcc6bb277a6deac305bd6f7c326489ba0bf6bea52f82b95eb63
BLAKE2b-256 checksum
How to use checksums
945acd919d9690347677c4a4b3db35b92461330f403ef9a5af0700e75869ca8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.0

Release files / aspose_tex_net-26.10.0-py3-none-win32.whl

Download URL aspose_tex_net-26.10.0-py3-none-win32.whl
Size 48.6 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
cdf6c0fae7415ac863ee2193d247580afa4e348490b10ffeae5f57269bc525f3
BLAKE2b-256 checksum
How to use checksums
a25617f87ca54da0454e1a233bf12e928790afeaa694067e2b9079ffc946eadb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.0

Security for aspose-tex-net 26.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page