Instalacija

Instalacija

Aspose.TeX FOSS for Python is distributed as a pure Python package on PyPI. It has no native extensions, no LaTeX installation requirement, and no Perl runtime dependency. Install it using the pip package manager on Windows, macOS, or Linux. The package works with Python 3.10 and later and is compatible with virtual environments and container-based deployments.


Prerequisites

RequirementDetail
Python3.10 or later
OSWindows, MacOS и Linux
DependenciesНишта (чисти Пхитон)

Инсталирање од ПИПИ-а

Испоставите следећу команду да бисте инсталирали најновију верзију:

pip install aspose-tex>=26.5

Да бисте направили одређену верзију:

pip install aspose-tex==26.5

Проверите инсталацију

Потврдите да је пакет правилно инсталиран:

import aspose_tex
print(aspose_tex.__version__)

Брзи тест за дим

from aspose_tex import TeXJob, TeXOptions, PdfDevice, StringInputSource

pdf = TeXJob(StringInputSource("Hello!"), PdfDevice(), options=TeXOptions()).run()
print("OK, PDF bytes:", len(pdf))

Sledeći koraci

Vidi takođe

 Српски