通过 pandoc 转换 docx -> tex 时禁用超链接生成

Hug*_*ugh 5 hyperref pandoc

我有一个docx包含大量交叉引用的文件。然而,大多数这些交叉引用都是虚假的。我想将其转换为 LaTeX,但这会导致许多\hyperlink命令分散在整个文档中。我想pandoc转换文件但不创建超链接。

pandoc -s myfile.docx -o myfile.tex
Run Code Online (Sandbox Code Playgroud)

我在https://pandoc.org/MANUAL.html中搜索了hyperrefhyperlink、 和 ,但唯一的命中是关于将生成超链接的评论,而不是关于如何避免创建超链接的建议。cross-reference