小编whi*_*cko的帖子

使用 Pandoc 从 Markdown 转换为带引用的 Markdown / “无打印形式的引用”是什么意思?

我想编写一个带有参考文献@ref(和 BibTeX 数据库)的 Markdown 文件。发送文件时,应将其转换为包含渲染引用的独立 Markdown 文件。呈现的参考键不应是数字,而应是字母数字。

最小的例子:

最小.md:

@PTDL2008
Run Code Online (Sandbox Code Playgroud)

最小围兜:

@article{PTDL2008,
  title                    = {{Service-Oriented Computing: State of the Art and Research Challenges}},
  author                   = {Michael P. Papazoglou and Paolo Traverso and Schahram Dustdar and Frank Leymann},
  journal                  = {International Journal of Cooperative Information Systems (IJCIS)},
  year                     = {2008},
  month                    = {June},
  number                   = {2},
  pages                    = {233--255},
  volume                   = {17},
  doi                      = {10.1109/MC.2007.400}
}
Run Code Online (Sandbox Code Playgroud)

获取DIN 1505-2(字母数字,德语)并将其存储在同一目录中。

命令行调用:

pandoc minimal.md -o minimal-new.md --atx-headers --bibliography="minimal.bib" --csl=din-1505-2-alphanumeric.csl
Run Code Online (Sandbox Code Playgroud)

结果输出为 …

pandoc

6
推荐指数
2
解决办法
2144
查看次数

标签 统计

pandoc ×1