Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

LatexParseOptions

Namespace OfficeIMO.Latex
Assembly OfficeIMO.Latex
Modifiers sealed

Options for dependency-free LaTeX parsing.

Inheritance

  • Object
  • LatexParseOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Methods

public static LatexParseOptions CreateProfile(LatexDocumentProfile profile) #
Returns: LatexParseOptions

Creates bounded parsing options for the requested named profile.

Parameters

profile OfficeIMO.Latex.LatexDocumentProfile requiredposition: 0

Properties

public LatexDocumentProfile Profile { get; set; } #

Semantic profile. Defaults to OfficeIMO.

public Nullable<Int32> MaximumInputLength { get; set; } #

Maximum input characters.

public Nullable<Int64> MaximumInputBytes { get; set; } #

Maximum encoded bytes accepted by file and stream loading APIs.

public Int32 MaximumTokenCount { get; set; } #

Maximum tokens.

public Int32 MaximumNestingDepth { get; set; } #

Maximum nested groups and environments.

public ISet<String> VerbatimEnvironmentNames { get; } #

Environment names whose bodies are opaque. Commands, comments, groups, math, and table separators inside these environments are retained as source but never interpreted semantically.

public LatexMacroExpansion MacroExpansion { get; set; } #

Macro expansion mode. Parsing itself never expands macros.

public Int32 MaximumExpansionDepth { get; set; } #

Maximum recursive safe macro expansion depth.

public Int32 MaximumExpansionLength { get; set; } #

Maximum characters produced by explicit safe macro expansion.

public Int32 MaximumExpansionInputLength { get; set; } #

Maximum input characters accepted by one explicit safe macro expansion step.

public Int32 MaximumExpansionTokenCount { get; set; } #

Maximum tokens consumed across one explicit safe macro expansion.