8000 The footnote text style does not display correctly when converted to ODT format using the -t parameter. · Issue #10791 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The footnote text style does not display correctly when converted to ODT format using the -t parameter. #10791
Closed
@HudchewMan

Description

@HudchewMan

When converting a document from Markdown or HTML to ODT format using the -t parameter, if a footnote appears within an italicized or bold paragraph, the footnote text is incorrectly styled in italic or bold. It should appear in the default (normal) style. (This issue does not occur when converting to DOCX.)

In the example below, the issue does not occ 5A8F ur when converting without the -t parameter (e.g., pandoc a.md -o a.odt). However, the footnote is not formatted properly—it appears as plain text at the end of the document instead of being rendered as an actual footnote.

+++++++++++++++++++++++++++++++++

Pandoc Version: 3.6.4

Operating System: Linux Mint 21.1

Command Used: pandoc -t odt a.md -o a.odt

Sample File Content:

Aboard **the luxury cruise ship Heart of the Ocean[^1] in the Atlantic Ocean**, within the topmost deluxe suite of the vessel, four passengers sat around a long table, gazing into each other’s eyes.

*Only VIP guests[^2] could reserve the upper-deck suites—because these individuals were people of prestige and wealth. And the reason they had gathered here wasn’t to discuss business, but because of a certain game.*

A game said to be so unimaginable that even one’s full intellect couldn't begin to comprehend it.

“Now that we’re all seated, how about we introduce ourselves?” a middle-aged man spoke up first, in English. “Hey, I hope everyone can understand me. My name is Joe James, I’m American. What about you?”

Strangely enough, this man looked like a Slavic[^3], bore a Russian name, but the words that came out of his mouth were in Chinese.

“If it’s just about hunting, I’d rather go to South Africa,” James said, his gaze now fixed on the only woman among the five. “May I ask, what is the lady’s name?”

. . .

[^1]: **Heart of the Ocean** (海洋之心) – The Heart of the Ocean

[^2]: **VIP** – Stands for Very Important Person, referring to individuals of high importance.

[^3]: **Slavic People** (斯拉夫人) – An ethnolinguistic group native to Eastern and Central Europe who speak Slavic languages, part of the Indo-European language family.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0