çıkış formatı
Aspose.TeX FOSS for Python supports three output formats through interchangeable output device classes. Pass the appropriate device to TeXJob and call run() to obtain the typeset output. PdfDevice returns PDF bytes directly from run(). DviDevice returns DVI bytes from run(). SvgDevice does not return bytes from run() — instead, retrieve per-page SVG byte strings using SvgDevice.get_all_pages() after run() completes.
PDF ile PdfDevice
DVI yoluyla DviDevice
SVG üzerinden SvgDevice
Bir çıkış biçimi seçin
| Kullanım Olayları | Device | Notes |
|---|
| Yazdırma veya paylaşım | PdfDevice | • En uyumlu; en uygun |
| Web / Vektör Grafikleri | SvgDevice | Yüzde SVG üzerinden get_all_pages() |
| Teks Pipeline Geleneksel | DviDevice | DVI formatı downstream araçlar için |
API Referans Özetleri
| Class | Description |
|---|
PdfDevice | PDF çıkış byte üretmek |
DviDevice | DVI çıkış byte üretimi |
SvgDevice | Üretici sayfa başına SVG çıkışı |
SvgDevice.get_all_pages() | SVG byte çubukları için geri dönüş listesi |
See Also