Я делаю отчет в Rmarkdown
, но «et al» в краткой форме списка авторов не выделяется курсивом в строках цитаты. Илликация происходит в нормальных ссылках.Italicising «et al» in inline citiations в Rmarkdown
Вот некоторые Rmarkdown
для иллюстрации:
---
title: "testCite"
output:
html_document:
keep_md: true
csl: the-plant-journal.csl
bibliography: test.bib
---
The fly *Drosophila melanogaster* is one of the most intensively studied organisms in biology [@Adams:2000tj].
According to @Adams:2000tj, the fly *Drosophila melanogaster* is one of the most intensively studied organisms in biology.
Это заставляет меня на следующей странице:
Глядя в html
я могу видеть <em>
теги не добавляются к inline ссылка:
<p>The fly <em>Drosophila melanogaster</em> is one of the most intensively studied organisms in biology <span class="citation">(Adams <em>et al.</em>, 2000)</span>.</p>
<p>According to <span class="citation">Adams et al. (2000)</span>, the fly <em>Drosophila melanogaster</em> is one of the most intensively studied organisms in biology.</p>
the-plant-journal.csl
был загружен from the repository. Вот содержание test.bib
:
@article{Adams:2000tj,
author = {Adams, MD and Celniker, SE and Holt, RA and Evans, CA and Gocayne, JD and Amanatides, PG and Scherer, SE and Li, PW and Hoskins, RA and Galle, RF and George, RA and Lewis, SE and Richards, S and Ashburner, M and Henderson, SN and Sutton, GG and Wortman, JR},
title = {{The genome sequence of \emph{Drosophila melanogaster}}},
journal = {Science},
year = {2000},
volume = {287},
number = {5461},
pages = {2185--2195},
affiliation = {Celera Genom, Rockville, MD 20850 USA},
language = {English},
read = {Yes},
rating = {0},
date-added = {2012-03-02T23:35:05GMT},
date-modified = {2015-07-28T15:38:34GMT},
abstract = {The fly Drosophila melanogaster is one of the most intensively studied organisms in biology...},
url = {http://www.sciencemag.org/content/287/5461/2185.short}
}
}
Не уверен, что я делаю неправильно здесь. Я использую Rstudio 0.99.473
, который звонит pandoc 1.13.1
и pandoc-citeproc 0.5
. SessionInfo в конце. Надеюсь, это вся необходимая информация!
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.3 LTS
locale:
[1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=en_AU.UTF-8
[5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] htmltools_0.2.6 tools_3.2.2 yaml_2.1.13 rmarkdown_0.8 digest_0.6.8