Description
Explain the problem.
I have a docx file which contains an image: sample.docx
- When I use
pandoc --from=docx -o sample.md sample.docx
, it produces:
Nous pouvons encore représenter cela graphiquement comme suit :
{width="4.2555555555555555in"
height="1.4083333333333334in"}
- When I use
pandoc --from=docx+styles -o sample.md sample.docx
, it produces:
::: {custom-style="Normal"}
Nous pouvons encore représenter cela graphiquement comme suit :
:::
I would expect to have when using pandoc --from=docx+styles -o sample.md sample.docx
:
::: {custom-style="Normal"}
Nous pouvons encore représenter cela graphiquement comme suit :
:::
{width="4.2555555555555555in"
height="1.4083333333333334in"}
- Using
pandoc 3.1.9
, I have the following:
::: {custom-style="Normal"}
Nous pouvons encore représenter cela graphiquement comme suit :
:::
::: {custom-style="Normal"}
{width="4.2555555555555555in"
height="1.4083333333333334in"}
:::
ℹ️ The issue was introduced in v3.2.1
ℹ️ The cause seams to be different from #9633
ℹ️ Edit: I've been able to fix the issue by exporting the image and copy/paste back to the document. Maybe something wrong in the structure
Pandoc version?
What version of pandoc are you using, on what OS? (If it's not the latest release, please try with the latest release before reporting the issue. Note that many linux distributions have old versions of pandoc in their repositories.)
pandoc 3.6.4 ❌
pandoc 3.6.2 ❌
pandoc 3.6.1 ❌
pandoc 3.6 ❌
pandoc 3.5 ❌
pandoc 3.4 ❌
pandoc 3.3 ❌
pandoc 3.2.1 ❌
pandoc 3.2 ✅
I've tested the different versions