API Reference

Cmdlet

Get-OfficeLatex

Namespace PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Latex.LatexDocument OfficeIMO.Latex.LatexParseResult

Parses a LaTeX file or source string into OfficeIMO's native document model.

Remarks

Parses a LaTeX file or source string into OfficeIMO's native document model.

Examples

Authored help example

EXAMPLE 1


Get-OfficeLatex -Path 'C:\Path'
        

EXAMPLE 2


Get-OfficeLatex -Text 'Value'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-OfficeLatex [-AsResult] [-Options <LatexParseOptions>] -Path <String> [<CommonParameters>]
#
Parameter set: Path

Parameters

AsResult SwitchParameter optionalposition: namedpipeline: False
Return the parse result with diagnostics instead of only the document.
Options LatexParseOptions optionalposition: namedpipeline: False
Optional parser settings.
Path String requiredposition: 0pipeline: False
Path to a LaTeX file.

Outputs

OfficeIMO.Latex.LatexDocument OfficeIMO.Latex.LatexParseResult

Get-OfficeLatex [-AsResult] [-Options <LatexParseOptions>] -Text <String> [<CommonParameters>]
#
Parameter set: Text

Parameters

AsResult SwitchParameter optionalposition: namedpipeline: False
Return the parse result with diagnostics instead of only the document.
Options LatexParseOptions optionalposition: namedpipeline: False
Optional parser settings.
Text String requiredposition: namedpipeline: False
LaTeX source text.

Outputs

OfficeIMO.Latex.LatexDocument OfficeIMO.Latex.LatexParseResult