我想使用nbconvert
将Jupyter笔记本转换为LaTeX。默认的导出行为是转换Jupyter超文本链接
[a link](http://some.website.com)
到可作为PDF文档中的链接呈现的LaTeX字符串:
\href{http://some.website.com}{a link}
我想更改此行为,以便将链接呈现为脚注:
a link\footnote{http://some.website.com}
我必须对此进行哪些修改?我看过nbconvert的文档,但无法弄清楚。是否可以在
.tplx
模板文件中执行此操作?我查看了标准模板文件,但没有看到定义URL行为的任何内容,因此我猜想它是由pandoc
处理的,但是我对需要在哪里进行更改感到困惑。
我想使用nbconvert将Jupyter笔记本转换为LaTeX。默认的导出行为是将Jupyter超文本链接[链接](http://some.website.com)转换为LaTeX字符串,该字符串可以是...
您可以use LaTeX to redefine the \href
command。将以下内容放入\href
或使用header-includes: