-
Notifications
You must be signed in to change notification settings - Fork 0
/
uberdoc.cfg
35 lines (24 loc) · 969 Bytes
/
uberdoc.cfg
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
35
[MAIN]
doc_dir = .
# dir for chapter content
in_dir = source
# build output dir
out_dir = build
# chapter image folder name
img_dir = img
# dir for css styles
style_dir = style
# file name of table of contents file
toc_filename =toc.txt
# base name for resulting document
doc_filename = index
# extension for chapter files, default is Markdown
input_ext = .md
# pandoc command, needs to be in path
pandoc_cmd = pandoc
# pandoc conversion options for html
pandoc_options_html = -s --default-image-extension=png --template=../templates/default.html
# pandoc conversions options for pdf
pandoc_options_pdf = -s --default-image-extension=pdf --template=../templates/default.tex --toc --number-sections -V "geometry:top=2cm, bottom=3cm, left=2.5cm, right=2cm" --latex-engine=xelatex
# on Windows this should look like
# pandoc_options_pdf = -s --template=..\templates/default.tex --toc --number-sections -V "geometry:top=2cm, bottom=3cm, left=2.5cm, right=2cm"