2017-06-29 2 views
0

Hum、私は、R Bookdownがhtmlウェブサイト上のラテックスで実際にphdを簡単に移行するために異なるhtml出力を生成する方法を理解しようとしています。あなたが見ることができるようにlatexファイルのブックダウン出力を使用してphd htmlサイトを生成する

\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} 

、私を許すビーバーとnatbibと私の論文の利用biblatexは\autocite\autocitesコマンドを使用します。私はマークアップで([@key]や@key引用ではなく)このタイプの引用を直接再利用するために複数の設定を試していますが、成功することはありません。あなたはRmdファイルをレンダリングする際、以下の規則が適用されていることを心に留めておく必要がある

@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} 
} 

答えて

1

:私は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は、この単純な引用が含まれています

  1. bookdown特定のcom mands等価
  2. markdownは、出力フォーマットはLaTeXHTML)である場合のように等価
  3. LaTeXHTML)が渡される関連LaTeXの\ HTMLにpandocによって変換され、関連するLaTeXの\ HTMLにbookdownによって翻訳されます出力フォーマットはHTMLLaTeX
とき
  • LaTeXHTML)はを無視します

    結論:文書をLaTeXHTMLの両方に変換する場合は、@key[@key]を使用してください。

  • +0

    私は理解しています。 – reyman64

    関連する問題