Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 使用latex文件的bookdown输出生成phd html站点_R_Latex_Rstudio_Bookdown - Fatal编程技术网

R 使用latex文件的bookdown输出生成phd html站点

R 使用latex文件的bookdown输出生成phd html站点,r,latex,rstudio,bookdown,R,Latex,Rstudio,Bookdown,嗯,我试图了解R Bookdown如何生成不同的html输出,以便在html网站上轻松迁移latex中的博士学位 \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} 如您所见

嗯,我试图了解R Bookdown如何生成不同的html输出,以便在html网站上轻松迁移latex中的博士学位

\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}
如您所见,我的论文使用biblatex与biber和natbib,这允许我使用
\autosite
\autosite
命令。我尝试了多种配置来直接在降价(而不是[@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}.
这些.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}
}

您需要记住,在呈现
Rmd
文件时会应用以下规则

  • bookdown
    特定命令将由
    bookdown
    转换为相关的LaTeX\HTML等效命令
  • markdown
    将由
    pandoc
    转换为相关的LaTeX\HTML等效文件
  • 当输出格式为
    LaTeX
    HTML
    )时,将按原样传递
    LaTeX
    HTML
  • 当输出格式为
    HTML
    LaTeX
    )时,将忽略
    LaTeX
    LaTeX
  • 底线:如果要将文档同时转换为
    LaTeX
    HTML