Aspose.TeX.Cpp 21.5.0

Aspose.TeX for C++ is a native C++ library that enables the developers to add TeX manipulation to their C++ applications.

Install-Package Aspose.TeX.Cpp -Version 21.5.0
dotnet add package Aspose.TeX.Cpp --version 21.5.0
<PackageReference Include="Aspose.TeX.Cpp" Version="21.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.TeX.Cpp --version 21.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.TeX.Cpp, 21.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.TeX.Cpp as a Cake Addin
#addin nuget:?package=Aspose.TeX.Cpp&version=21.5.0

// Install Aspose.TeX.Cpp as a Cake Tool
#tool nuget:?package=Aspose.TeX.Cpp&version=21.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

C++ API to TypeSet TeX Files

Version 21.5 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Aspose.TeX for C++ 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

  • Microsoft Windows desktop 32-bit (7, 8, 10)
  • Server operating systems (2008, 2012), etc.
  • Linux systems (Ubuntu-16.04 or later)
  • Microsoft Visual Studio 2015 or later

Use C++ to Read a TeX file and Convert to XPS

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.

// ExStart:TakeInputFromFileSystem-WriteOutputToFileSystem-WriteTerminalOutputToConsole
// Create typesetting options for default ObjectTeX format on ObjectTeX engine extension.
System::SharedPtr<TeXOptions> options = TeXOptions::ConsoleAppOptions(TeXConfig::ObjectTeX());

// Specify a file system working directory for input.
options->set_InputWorkingDirectory(System::MakeObject<InputFileSystemDirectory>(RunExamples::InputDirectory));

// Specify a file system working directory for output.
options->set_OutputWorkingDirectory(System::MakeObject<OutputFileSystemDirectory>(RunExamples::OutputDirectory));

// Specify console as output terminal.
options->set_TerminalOut(System::MakeObject<OutputConsoleTerminal>());

// Default. No need to specify.
// Specify memory stream as output terminal, if you don't terminal output to be written to console.
//options.TerminalOut = new OutputMemoryTerminal();
// Run typesetting.
Aspose::TeX::TeX::Typeset(u"hello-world", System::MakeObject<XpsDevice>(), options);

// For further output to look write.
options->get_TerminalOut()->get_Writer()->WriteLine();

// The same as Console.Out.WriteLine();
// ExEnd:TakeInputFromFileSystem-WriteOutputToFileSystem-WriteTerminalOutputToConsole

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

C++ API to TypeSet TeX Files

Version 21.5 Nuget

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Aspose.TeX for C++ 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

  • Microsoft Windows desktop 32-bit (7, 8, 10)
  • Server operating systems (2008, 2012), etc.
  • Linux systems (Ubuntu-16.04 or later)
  • Microsoft Visual Studio 2015 or later

Use C++ to Read a TeX file and Convert to XPS

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.

// ExStart:TakeInputFromFileSystem-WriteOutputToFileSystem-WriteTerminalOutputToConsole
// Create typesetting options for default ObjectTeX format on ObjectTeX engine extension.
System::SharedPtr<TeXOptions> options = TeXOptions::ConsoleAppOptions(TeXConfig::ObjectTeX());

// Specify a file system working directory for input.
options->set_InputWorkingDirectory(System::MakeObject<InputFileSystemDirectory>(RunExamples::InputDirectory));

// Specify a file system working directory for output.
options->set_OutputWorkingDirectory(System::MakeObject<OutputFileSystemDirectory>(RunExamples::OutputDirectory));

// Specify console as output terminal.
options->set_TerminalOut(System::MakeObject<OutputConsoleTerminal>());

// Default. No need to specify.
// Specify memory stream as output terminal, if you don't terminal output to be written to console.
//options.TerminalOut = new OutputMemoryTerminal();
// Run typesetting.
Aspose::TeX::TeX::Typeset(u"hello-world", System::MakeObject<XpsDevice>(), options);

// For further output to look write.
options->get_TerminalOut()->get_Writer()->WriteLine();

// The same as Console.Out.WriteLine();
// ExEnd:TakeInputFromFileSystem-WriteOutputToFileSystem-WriteTerminalOutputToConsole

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.aspose.com/tex/cpp/aspose-tex-for-cpp-21-5-release-notes/

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.TeX.Cpp:

Package Downloads
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
21.5.0 45 5/14/2021