0
嗡嗡聲,我想了解R Bookdown如何生成不同的html輸出,以輕鬆遷移我的phd實際上在html網站上的乳膠。生成phd html網站使用bookdown輸出從乳膠文件
\usepackage[backend=biber,backref=true, natbib=true, isbn=false, doi=true, url=true, style=authoryear,maxcitenames=1, maxbibnames=999, sorting=nyt, refsection=chapter, hyperref]{biblatex}
正如你所看到的,與BIBER和natbib我的論文使用biblatex這允許我使用\autocite
和\autocites
命令。我嘗試多種配置,直接在markdown(而不是[@key]或@key引用)中重複使用這種類型的引用,但沒有成功。
我先從簡單的事情在index.Rmd:
---
title: "A Minimal Book Example"
author: "Yihui Xie"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
bibliography: [these.bib]
biblio-style: apalike
latex_engine: xelatex
citation_package: natbib
link-citations: yes
github-repo: rstudio/bookdown-demo
description: "This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook."
---
# Introduction
test my citation with \autocite{Pumain1997}.
these.bib
包含這個簡單的引用:
@article{Pumain1997,
author = {Pumain, Denise},
doi = {10.3406/spgeo.1997.1063},
issn = {0046-2497},
journal = {Espace g\'{e}ographique},
number = {2},
pages = {119--134},
title = {{Pour une th\'{e}orie \'{e}volutive des villes}},
url = {http://www.persee.fr/web/revues/home/prescript/article/spgeo\_0046-2497\_1997\_num\_26\_2\_1063},
volume = {26},
year = {1997}
}
好吧,我明白了,thx :) – reyman64