lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
936 stars 74 forks source link

Figure captions in ODT output should have 'Figure' or 'FigureCaption' style #414

Closed chenyhsu closed 7 months ago

chenyhsu commented 10 months ago

I tried to convert markdown to odt.

When add a table with caption, the table caption got table style 'TableCaption' , but for figure caption, only 'Default Paragraph Style' applied.

Is it possible to get figure captions with proper style set in output odt files?

lierdakil commented 9 months ago

This is likely a Pandoc issue. Can't reproduce with pandoc 3.1.11, so try that perhaps?

chenyhsu commented 7 months ago

Sorry, my fault. It turns out that I forgot to add FigureCaption and FigureWithCaption in my template. (But I don't find any related information in the documentation)