你好假设我有3个引用一个接一个,即[1] [2] [3].
但我想看[1] - [3].
我该怎么办.
谢谢.
当使用Org-mode及其LaTeX导出时,BibTeX或Biblatex通常用于处理引用.在这种情况下,LaTeX命令\printbibliography通常包含在组织文件中.\printbibliography放在orTe文件中,LaTeX应该写出引用列表.什么\printbibliography是插入LaTeX标头和引用列表.在大多数情况下\printbibliography,放置在组织文件的末尾只是因为在大多数文档中,引用列表将放在最后.这意味着\printbibliography它将包含在组织文件的最后一个标题下,例如
* Heading
\printbibliography
Run Code Online (Sandbox Code Playgroud)
这也意味着当该标题被折叠时,\printbibliography将被吞下:
* Heading...
Run Code Online (Sandbox Code Playgroud)
但这违背了意义,\printbibliography因为它在输出中包含了自己的标题.此外,\printbibliography吞下并在其后放置新标题会很困惑,因为参考列表将不再出现在文档的最后.
如何使它\printbibliography不被Org-mode中的部分吞噬?一个额外的问题:我怎么能这样做,以便Org-mode不会创建标题,\printbibliography除非C-Ret在光标在它之后按下?
在寻找这个问题的解决方案时,我找到了http://comments.gmane.org/gmane.emacs.orgmode/49545.
HTML + CSS + Javascript工具提供了一种创建精美演示文稿的好方法(例如reveal.js + MathJax).但是,我通常需要在我的演示文稿中添加引用,并且我希望以系统的方式执行此操作(因此参考书目的组织和参考文件格式正确).这是通过BibTeX在LaTeX中轻松处理的东西.
到目前为止,我发现的最佳解决方案来自一个名为bibtex-js的库.它似乎很好地将HTML中的BiBTeX文件渲染为参考书目列表,这部分是我想要的.但是,我不仅需要渲染参考书目列表,而且还需要通过某个索引引用该参考书目中的条目,并获得统一格式的参考标记.举例来说,LaTeX通常如何处理这个问题:
%In thebibliography.bib
@article{darwin1859origins,
title={On the origins of species by means of natural selection},
author={Darwin, Charles},
journal={London: Murray},
year={1859}
}
%In mydocument.tex
As \cite{darwin1859origins} sustains in his ground-breaking book...
Run Code Online (Sandbox Code Playgroud)
之前的代码将呈现为"正如达尔文(1859)在他的开创性着作中所支持的".此外,呈现引文的格式也可以是可定制的(例如"Darwin,1859","(Darwing,1859)","[DWN59]","[1]"等).
所以问题是,你如何处理HTML文档上的类似任务?
谢谢大家!
我只知道 Latex 的基础知识,并且我在参考书目文件中出现错误,这是一个iet.bst由 IET 修改的参考书目文件,并作为乳胶文件提供以撰写要发表的论文。错误在@webpage 参考书目条目类型中,正如我已经搜索过的,我认为它是关于一些应该是可选的字段,并且在可能错误地弹出之后,错误出现。

来自iet.bst的第1838行是这样的:
ITERATE {call.type$}
Run Code Online (Sandbox Code Playgroud)
关于网页入口类型的代码是这样的:
% Title and url fields required;
% author, note, year, month, and lastchecked fields optional
STRINGS {database}
FUNCTION {webpage}
{ output.bibitem
author empty$
{ editor empty$
'skip$ % author and editor both optional
{ format.editors output.nonnull }
if$
}
{ editor empty$
{ format.authors output.nonnull }
{ "can't use both author and editor fields in " cite$ * warning$ }
if$
}
if$
% author empty$
% 'skip$ …Run Code Online (Sandbox Code Playgroud) 在我的报告中,我引用了AERA,APA和NCME的教育和心理测试标准.
@Book{standards,
title = {{Standards for Educational and Psychological Testing}},
author = {{American Educational Research Association} and {American Psychological Association} and {National Council on Measurement in Education}},
shortauthor = {AERA},
publisher = {American Educational Research Association},
address = {Washington, DC},
year = {2014}
}
Run Code Online (Sandbox Code Playgroud)
根据APA样式指南第6版,应该使用可识别的创作组织缩写.我第一次在文中引用这本书,它应该是这样的:
这里有一些填充文本(美国教育研究协会[AERA],美国心理学会和国家教育测量委员会,2014年).这里有一些填充文本(AERA et al.,2014).
但是,我的引用目前显示如下:
这里有一些填充文本(美国教育研究协会,美国心理学会和国家教育测量委员会,2014年).这里有一些填充文本(American Educational Research Association et al.,2014).
有没有办法在预订中实施这些引用?这里有一个最低限度可重复的例子:https://github.com/wjakethompson/bookdown-citations
我是 Arch GNU/Linux 用户,通常使用 pacman 管理几乎每个包;我用 tlmgr 管理 TeX 和 LaTeX 相关的东西。我从源代码安装了 tlmgr。
我正在写纸。我想使用参考书目。
当我尝试时latexmk -pdflua main.ltx:
Rc files read:
latexmkrc
Latexmk: This is Latexmk, John Collins, 20 November 2021, version: 4.76.
Latexmk: applying rule 'biber main'...
Rule 'biber main': The following rules & subrules became out-of-date:
'biber main'
------------
Run number 1 of rule 'biber main'
------------
------------
Running 'biber "main.bcf"'
------------
biber: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file …Run Code Online (Sandbox Code Playgroud) 是否有任何python包来解析Bibtex文件,并使用html/xhtml格式输出结果,并具有可自定义的样式?
最好,我想使用python,否则PHP中最常用的是什么?
嗨,我想解析bibtex出版物文件并对特定字段(例如年份)进行排序并过滤某些内容,然后将其放在网站上.我遇到了pybtex,它的工作原理是读取和解析bibtex文件,但基本上没有记录,我无法弄清楚如何对条目进行排序.
pybtex是可行的方法(我如何对条目进行排序)还是有更好的选择?
非常感谢!!
我正在使用breakurl包和带有pdfLatex和BibTeX的hyperref包来引用一个url.网址正在破坏,但不是根据我的边缘.我有什么方法可以让网址识别我的边距或强制换行?提前致谢.
码:
__CODE__可能是一种排列__CODE__;-)
任何帮助表示赞赏,不,这不是作业 - 个人兴趣:-)
双方natbib并biblatex提供种类繁多的命令中插入引用。
但是,在R markdown 中似乎只有少数可用:
| 描述 | R降价 | natbib 命令 | biblatex 命令 |
|---|---|---|---|
| 经典引文:作者、年份和括号(根据引文风格使用圆括号或方括号) | [@key] |
\citep{key} |
\parencite[Prefix][Suffix]{key} |
| 文本内引用:作者(年份)(不带方括号或带括号,具体取决于引用样式) | @key |
\citet{key} |
\cite[Prefix][Suffix]{key} |
| 仅年份/抑制作者:(年份) | [-@key] |
\citeyear{key} |
\citeyear[Prefix][Suffix]{key} |
| 在参考书目中包含项目而不在文档中引用它 | 未使用的参考文献(nocite) | \nocite{key} |
\nocite{key} |
通常人们想使用更高级的命令,例如只引用作者并隐藏年份。
有没有办法在 R markdown 文档中添加和使用以下 cite 命令以多种输出格式编译,特别是 PDF 和 HTML?
\citetitle{key} Returns the title of the source.
\citeauthor{key} Returns the author(s) of the cited source.
\footcite{key} Creates a footnote within the document.
\fullcite{key} Creates a complete quote like in the bibliography
\footfullcite{key} Creates …Run Code Online (Sandbox Code Playgroud) bibtex ×10
latex ×7
biblatex ×3
html ×2
pdflatex ×2
python ×2
r-markdown ×2
bibliography ×1
bookdown ×1
citations ×1
emacs ×1
javascript ×1
knitr ×1
libcrypto ×1
margin ×1
org-mode ×1
parsing ×1
tex-live ×1
text-parsing ×1
url ×1