use*_*169 12 markdown latex biblatex pandoc
我想\cite{key}在我的降价中使用乳胶风格的引用,以便我可以使用pandoc很好地创建tex和pdf文档.但是,当我引用某些内容时,它会在括号中显示关键字而不是引用样式,例如作者姓名或引文编号.换句话说,我希望它在PDF中显示为"这是我的引用[1]",而是显示为"这是我的引用[mykey]".此外,添加# References标题后,我的参考列表没有显示.这里发生了什么?
下面是我的示例命令,用于生成此示例文件以及我当前不正确的输出文件(test.pdf).
pandoc test.md --biblatex --biblio test.bib --csl chicago-author-date.csl -o test.pdf
test.md
% My test pandoc-ument
I want to reference this: \cite{Gepasi1993}
# References
Run Code Online (Sandbox Code Playgroud)
test.bib
@ARTICLE{Gepasi1993,
Author = {P. Mendes},
Journal = {Comput. Applic. Biosci.},
Pages = {563--571},
Title = {GEPASI: A software package for modelling the dynamics, steady states and control of biochemical and other systems.},
Volume = {9},
Year = {1993}
}
Run Code Online (Sandbox Code Playgroud)
检验.pdf
I want to reference this: [Gepasi1993]
Run Code Online (Sandbox Code Playgroud)
Joh*_*ane 25
该--biblatex选项不适用于直接在降价中编写biblatex.它的作用是转换原生的pandoc markdown引用,比如
[@Gepasil1993, p. 5]
Run Code Online (Sandbox Code Playgroud)
在LaTeX输出中引用biblatex.
如果您使用pandoc降价引用而不是LaTeX引用,您会发现引用有效.使用此命令:
pandoc test.md --biblio test.bib --csl chicago-author-date.csl -o test.pdf
Run Code Online (Sandbox Code Playgroud)
有了这个输入:
I want to reference this: [@Gepasi1993]
Run Code Online (Sandbox Code Playgroud)
Pandoc的引用格式记录在Pandoc用户指南中.
如果你真的想在降价输入中使用原始的biblatex引用,你可以,但是你需要自己处理参考书目.你这样做:
pandoc test.md --parse-raw -t latex -s > test.tex
pdflatex test
biber test
pdflatex test
pdfltatex test
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6258 次 |
| 最近记录: |