从单词转换时,Pandoc是否可以检测交叉引用?

发布于 2025-02-01 13:05:58 字数 584 浏览 2 评论 0原文

我有一个最小的单词(.docx)文档,其中包含一个图形和交叉引用(请参见下图;图1:某些图)。当我ctrl+单击该交叉引用时,它会使我回到图像上。

但是,当我使用pandoc -s file.docx -t markdown -o file.mdpandoc -s file.docx -t file.docx -t本机-o文件时,我使用pandoc -s file.docx -t markdown -o file.md file.md file.md file.md file.md file.md file.md file.md。 txt,将交叉引用解析为常规文本。

我想知道,潘多克是否有可能使用某些过滤器或其他方法在.docx文档中检测和解析此类实例。请注意,对表,章节和子章节的交叉引用也与我有关。

I have a minimal Word (.docx) document that contains a figure and cross-reference to it (see image below; Figure 1: Some figure). When I Ctrl+click on that cross-reference, it puts me back on the image.

But when I convert this document to markdown or native format using pandoc -s file.docx -t markdown -o file.md or pandoc -s file.docx -t native -o file.txt, the cross-reference is parsed as regular text.

What I am wondering is if it is possible for Pandoc to detect and parse such instances in .docx document using some filter or some other method. Note that cross-references to tables, chapters, and subchapters are also relevant for me.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文