Skip to content
Discussion options

You must be logged in to vote

I suspect Word will be more flexible as it supports reading custom styles which ODT input does not. I took this small doc in both ODT and DOCX format -- it contains character style (emphasis style in the first occurence of "Text"), direct formatting (bold), a figure with caption, headings and a maths equation:

test.docx
test.odt

And got these outputs:

odt -- pandoc -s -t markdown -f odt test.odt

Test Title

A Test

# Abstract

Some *Text* here. Text with **direct formatting**.

![This is a
caption.](Pictures/1000000000000B89000003CA2C349683.png){alt="Figure 1: This is a caption."
width="17.59cm" height="5.777cm"}

More text.

$$x = {y + 4}$$

# Discussion

## Sun

Some text.

## Moon

So…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Shohreh
Comment options

@iandol
Comment options

@Shohreh
Comment options

@iandol
Comment options

Answer selected by Shohreh
@Shohreh
Comment options

@iandol
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants