Skip to main content

Aspose.TeX for Python via .NET is a library that enables your Python applications to typeset TeX files and obtain output documents in file formats, such as XPS, PDF, JPEG, PNG, TIFF, and BMP. You can configure typesetting preferences to have your desired output design. It also offers numerous embedded fonts available for typesetting. With Aspose.TeX for Python, you can define your own interface for input gathering or choose to accept input from a local directory or from a ZIP archive.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aspose_tex_net-25.8.0-py3-none-win_amd64.whl (53.2 MB view details)

Uploaded Python 3Windows x86-64

aspose_tex_net-25.8.0-py3-none-win32.whl (48.2 MB view details)

Uploaded Python 3Windows x86

File details

Details for the file aspose_tex_net-25.8.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aspose_tex_net-25.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bfb7aa644adde82bcce21f8e38acd0b40df31c9910b4142b910b83f8edd0ad96
MD5 a0cea10ad986f7df3371d8a77ec39861
BLAKE2b-256 8115e3b762109d6e3b884a03b72cca1071e52095c7272f8c31bb0573773fea6e

See more details on using hashes here.

File details

Details for the file aspose_tex_net-25.8.0-py3-none-win32.whl.

File metadata

  • Download URL: aspose_tex_net-25.8.0-py3-none-win32.whl
  • Upload date:
  • Size: 48.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for aspose_tex_net-25.8.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 6a421f8c550a5543b54a6833145937f44ec74b4aa12bb52b58f8a3523862c950
MD5 0645db33cc3d8190080c6c47eeaa7ce8
BLAKE2b-256 a9fc3538200a00cb1e1b24af3a91ba8598f5bdc0a0460fefc8f6b2864a8b4a53

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page