Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

LatexParseOptions

OfficeIMO.Latex

Namespace
OfficeIMO.Latex
Assembly
OfficeIMO.Latex
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Options for dependency-free LaTeX parsing.

Inheritance

  • object
  • LatexParseOptions

Usage

Explore 8 API references to this type

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

Returned or exposed by 1

Accepted by parameters 7

Constructors

public LatexParseOptions() #

Methods

public static LatexParseOptions CreateProfile(LatexDocumentProfile profile) #

Creates bounded parsing options for the requested named profile.

Parameters

profile OfficeIMO.Latex.LatexDocumentProfile required

Properties

public LatexDocumentProfile Profile { get; set; } #

Semantic profile. Defaults to OfficeIMO.

public int? MaxInputLength { get; set; } #

Maximum input characters.

public long? MaxInputBytes { get; set; } #

Maximum encoded bytes accepted by file and stream loading APIs.

public int MaxTokenCount { get; set; } #

Maximum tokens.

public int MaxNestingDepth { 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 int MaxExpansionDepth { get; set; } #

Maximum recursive safe macro expansion depth.

public int MaxExpansionLength { get; set; } #

Maximum characters produced by explicit safe macro expansion.

public int MaxExpansionInputLength { get; set; } #

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

public int MaxExpansionTokenCount { get; set; } #

Maximum tokens consumed across one explicit safe macro expansion.