Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Open-OfficeLatex

Module
PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.Latex.LatexDocument OfficeIMO.Latex.LatexParseResult

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

Syntax

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

Examples

Example 1

Open-OfficeLatex -Path 'C:\Path'

Example 2

Open-OfficeLatex -LiteralPath 'C:\Path'

Example 3

Open-OfficeLatex -Text 'Value'

Parameters

-AsResult SwitchParameter optional
Return the parse result with diagnostics instead of only the document.
-Options LatexParseOptions optional
Optional parser settings.
-Path String requiredposition: 0pipeline: True (ByValue)sets: Path
Path to a LaTeX file.
-LiteralPath String requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath
Exact input path without wildcard expansion.
-Text String requiredsets: Text
LaTeX source text.

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.