LatexParseOptions
OfficeIMO.Latex
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
- Method LatexDocument.Load
- Method LatexDocument.LoadAsync
- Method LatexDocument.LoadResult
- Method LatexDocument.LoadResultAsync
- Method LatexDocument.Parse
- Method LatexDocument.ParseResult
- Method LatexTokenizer.Tokenize
Constructors
public LatexParseOptions() #Methods
public static LatexParseOptions CreateProfile(LatexDocumentProfile profile) #Creates bounded parsing options for the requested named profile.
Parameters
- profile OfficeIMO.Latex.LatexDocumentProfile
Returns
LatexParseOptionsInherited Methods
Properties
public LatexDocumentProfile Profile { get; set; } #Semantic profile. Defaults to OfficeIMO.
public long? MaxInputBytes { get; set; } #Maximum encoded bytes accepted by file and stream loading APIs.
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.