-
Notifications
You must be signed in to change notification settings - Fork 300
/
_output.yml
34 lines (34 loc) · 949 Bytes
/
_output.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
bookdown::gitbook:
css: css/style.css
config:
toc:
collapse: none
before: |
<li><a href="./">计算机体系结构基础</a></li>
after: |
<li><a href="http://www.loongson.cn" target="blank">本书电子版由龙芯中科赞助提供</a></li>
download: [pdf, docx]
sharing:
github: yes
facebook: no
pandoc_args: "--variable=lang:zh-CN"
bookdown::pdf_book:
includes:
in_header: latex/preamble.tex
before_body: latex/before_body.tex
after_body: latex/after_body.tex
keep_tex: yes
dev: "cairo_pdf"
latex_engine: xelatex
# citation_package: natbib
template: latex/template.tex
pandoc_args: "--top-level-division=chapter"
toc_depth: 3
toc_unnumbered: no
toc_appendix: yes
quote_footer: ["\\begin{flushright}", "\\end{flushright}"]
bookdown::epub_book:
stylesheet: css/style.css
bookdown::word_document2:
reference_docx: ./word/template.docx
toc: true