# ConvertFrom-OfficeLatexMarkdown

Converts Markdown to native LaTeX with fidelity diagnostics.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`OfficeIMO.Markdown.MarkdownDoc`

**Outputs**

`OfficeIMO.Latex.Markdown.MarkdownToLatexResult`

**Source**

[ConvertFromOfficeLatexMarkdownCommand.cs:11](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Latex/ConvertFromOfficeLatexMarkdownCommand.cs#L11) 

Converts Markdown to native LaTeX with fidelity diagnostics.

## Syntax

```
ConvertFrom-OfficeLatexMarkdown
[-FailOnLoss]
[-Options <MarkdownToLatexOptions>]
[-OutputPath <String>]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-convertfrom-officelatexmarkdown-switchparameter-markdowntolatexoptions-string-string)

Parameter set: `Path`

```
ConvertFrom-OfficeLatexMarkdown
-Document <MarkdownDoc>
[-FailOnLoss]
[-Options <MarkdownToLatexOptions>]
[-OutputPath <String>]
[<CommonParameters>]
```

[#](#method-convertfrom-officelatexmarkdown-markdowndoc-switchparameter-markdowntolatexoptions-string)

Parameter set: `Document`

## Examples

### Example 1

```powershell
ConvertFrom-OfficeLatexMarkdown -Path 'C:\Path'
```

### Example 2

```powershell
ConvertFrom-OfficeLatexMarkdown -Document 'Value'
```

## Parameters

**-FailOnLoss SwitchParameter optional**

Throw when a source feature cannot be mapped exactly.

**-Options MarkdownToLatexOptions optional**

Optional conversion settings.

**-OutputPath String optional**

Optional LaTeX destination path.

**-Path String requiredposition: 0sets: Path**

Path to a Markdown file.

**-Document MarkdownDoc requiredpipeline: True (ByValue)sets: Document**

Markdown document to convert.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:B16475DBEE8420BEEB0F271607AB028EAEF5A59F96BCDF8B8C2503738283A043 -->
