![上下文 mkiv 中的参考书目字段中的超链接](https://linux22.com/image/339284/%E4%B8%8A%E4%B8%8B%E6%96%87%20mkiv%20%E4%B8%AD%E7%9A%84%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE%E5%AD%97%E6%AE%B5%E4%B8%AD%E7%9A%84%E8%B6%85%E9%93%BE%E6%8E%A5.png)
如何使上下文 mkiv 中的某些参考书目字段成为指向外部资源的活动超链接?我正在使用带有 apa 样式的新参考书目子系统。
答案1
只需使用 启用链接即可\setupinteraction[state=start]
。当然,您必须提供一些doi
或url
字段。
\startbuffer[biblio]
@article{FEAST,
title = {Density-matrix-based algorithm for solving eigenvalue problems},
author = {Polizzi, Eric},
journal = {Phys. Rev. B},
volume = {79},
issue = {11},
pages = {115112},
numpages = {6},
year = {2009},
month = {Mar},
publisher = {American Physical Society},
doi = {10.1103/PhysRevB.79.115112},
url = {http://link.aps.org/doi/10.1103/PhysRevB.79.115112}
}
\stopbuffer
\setupinteraction[state=start]
\usebtxdataset[biblio.buffer]
\usebtxdefinitions[apa]
\starttext
\citation[FEAST]
\placelistofpublications
\stoptext