These snippets demonstrate alternative ways to provide the main TeX input file to Aspose.TeX for .NET. Learn how to use memory streams and terminal input instead of traditional file system files.
- Provide the main TeX input file as a stream
- How to process LaTeX documents from memory (without creating temporary files)
- How to process TeX content from in-memory strings
- Custom job name assignment for stream-based input
- Enter the main TeX input file from the terminal (interactive mode)
- 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 alternative input methods 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
Provide a complete LaTeX document as a memory stream. The document is processed directly from memory without creating any temporary files. Output files will have the default name texput unless you specify a custom job name.
Important Note: When providing input as a stream without specifying a job name, all output files will be named texput (the default TeX job name).
Process simple TeX commands from a memory stream with a custom job name. This example demonstrates how to specify options.JobName to control the output file names.
An alternative way to provide the main input file - the TeX engine prompt you to enter the file name interactively from the terminal. This example is marked as [Ignore] in tests as it requires manual user interaction.
Note: This approach is useful for educational purposes or interactive scenarios, but in production environments, you would typically use one of the other input methods (file system or streams).