These snippets demonstrate input and output concepts in Aspose.TeX for .NET. Learn how to work with directories, ZIP archives, and terminals for flexible TeX document processing.
- Getting file input from the disk file system
- Getting file input from a ZIP archive
- Getting terminal input from the console
- Writing file output to the disk file system
- Writing file output to a ZIP archive
- Writing terminal output to the console
- Writing terminal output to a file
- Reference Aspose.TeX for .NET: Aspose.TeX on Windows; Aspose.TeX.Drawing on non‑Windows.
- Copy a snippet into your project.
- Apply a temporary license as described in the licensing guide.
- Build and run.
In evaluation mode, the output may contain watermarks and limitations. Apply a valid license to unlock full features.
More about input/output in Aspose.TeX:
- Documentation – Aspose.TeX for .NET
- Product page – Aspose.TeX for .NET
- Free Support Forum – Aspose.TeX
- Blog – Aspose.TeX Product Family
- API Reference – Aspose.TeX for .NET
- NuGet (Windows) – Aspose.TeX
- NuGet (non‑Windows) – Aspose.TeX for .NET
- .NET 6.0+, .NET Core, or .NET Framework
- Aspose.TeX for .NET library
Since I/O primitives of the TeX language can only deal with file names, Aspose.TeX defines a directory as a mapping between names and bulks of data (files, streams, arrays, etc.).
Work with file system directories for input. This is the most straightforward approach for desktop applications.
Use ZIP archives as virtual file systems for input. Perfect for packaging TeX documents with all dependencies.
Aspose.TeX defines the input terminal through the IInputTerminal interface.
Get terminal input from the console. This is the default setting for interactive scenarios.
Similar to input, Aspose.TeX defines output directories as mappings for storing generated files.
Write output files to the disk file system. Most common use case for desktop applications.
Write output files to a ZIP archive. Useful for packaging all output files together.
Aspose.TeX defines the output terminal through the IOutputTerminal interface.
Write terminal output to the console. This is the default setting (arbitrary assignment shown for demonstration).
Write terminal output to a file. The file is named <job_name>.trm and stored in the output working directory.