Cmdlet
Save-OfficeLatex
Saves an OfficeIMO LaTeX document.
Syntax
Save-OfficeLatex [-Document] <LatexDocument> [-LineEnding <LF|CRLF|CR>] [-Mode <Preserve|Canonical>] [-Options <LatexWriterOptions>] [-PassThru] [-Path] <String> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Load and save a canonical LaTeX document.
$document = Get-OfficeLatex -Path .\Article.tex
$document | Save-OfficeLatex -Path .\Article-normalized.tex -Mode CanonicalParameters
- -Document LatexDocument
- LaTeX document to save.
- -LineEnding OfficeLineEnding
- Canonical line ending: LF, CRLF, or CR. Omit it to retain the source preference.
- Possible values:
LF,CRLF,CR - -Mode LatexWriterMode
- Writer mode. Preserve retains unchanged source; Canonical normalizes output.
- Possible values:
Preserve,Canonical - -Options LatexWriterOptions
- Optional writer settings.
- -PassThru SwitchParameter
- Return the saved document.
- -Path String
- Destination path.
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.