copy config to paperback
This commit is contained in:
parent
1b050774e7
commit
982a8f0789
|
@ -53,7 +53,6 @@ monofontfallback = [
|
||||||
]
|
]
|
||||||
linkcolor = "Links"
|
linkcolor = "Links"
|
||||||
urlcolor = "Links"
|
urlcolor = "Links"
|
||||||
linkstyle = "bold"
|
|
||||||
urlstyle = "rm"
|
urlstyle = "rm"
|
||||||
documentclass = "book"
|
documentclass = "book"
|
||||||
fontsize = "11pt"
|
fontsize = "11pt"
|
||||||
|
@ -63,7 +62,6 @@ header-includes = [
|
||||||
# Reduce font size of code blocks
|
# Reduce font size of code blocks
|
||||||
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
|
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
|
||||||
]
|
]
|
||||||
highlight-style = "book/custom.theme"
|
|
||||||
|
|
||||||
[output.pandoc.profile.paperback]
|
[output.pandoc.profile.paperback]
|
||||||
output-file = "100-exercises-to-learn-rust.pdf"
|
output-file = "100-exercises-to-learn-rust.pdf"
|
||||||
|
@ -94,11 +92,12 @@ sansfontfallback = ["Noto Color Emoji:mode=harf"]
|
||||||
monofontfallback = [
|
monofontfallback = [
|
||||||
"Noto Color Emoji:mode=harf",
|
"Noto Color Emoji:mode=harf",
|
||||||
]
|
]
|
||||||
|
linkcolor = "Links"
|
||||||
|
urlcolor = "Links"
|
||||||
urlstyle = "rm"
|
urlstyle = "rm"
|
||||||
documentclass = "book"
|
|
||||||
fontsize = "11pt"
|
|
||||||
geometry = "papersize={8in,10in},top=2cm,bottom=2cm,left=2.8cm,right=2.5cm"
|
geometry = "papersize={8in,10in},top=2cm,bottom=2cm,left=2.8cm,right=2.5cm"
|
||||||
header-includes = [
|
header-includes = [
|
||||||
|
"\\definecolor{Links}{HTML}{6200EE}",
|
||||||
# Reduce font size of code blocks
|
# Reduce font size of code blocks
|
||||||
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
|
"\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\},fontsize=\\small}",
|
||||||
]
|
]
|
||||||
|
@ -116,14 +115,24 @@ metadata-file = "metadata.yml"
|
||||||
|
|
||||||
[output.pandoc.profile.html.variables]
|
[output.pandoc.profile.html.variables]
|
||||||
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
|
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
|
||||||
mainfont = "Noto Serif"
|
mainfont = "CoreSansA45.ttf"
|
||||||
sansfont = "Noto Sans"
|
mainfontoptions = [
|
||||||
|
"BoldFont=CoreSansA65.ttf",
|
||||||
|
"ItalicFont=CoreSansA45It.ttf",
|
||||||
|
"BoldItalicFont=CoreSansA65It.ttf",
|
||||||
|
]
|
||||||
|
sansfont = "CoreSansA45.ttf"
|
||||||
|
sansfontoptions = [
|
||||||
|
"BoldFont=CoreSansA65.ttf",
|
||||||
|
"ItalicFont=CoreSansA45It.ttf",
|
||||||
|
"BoldItalicFont=CoreSansA65It.ttf",
|
||||||
|
]
|
||||||
monofont = "Noto Sans Mono"
|
monofont = "Noto Sans Mono"
|
||||||
mainfontfallback = ["Noto Color Emoji:mode=harf"]
|
mainfontfallback = ["Noto Color Emoji:mode=harf"]
|
||||||
sansfontfallback = ["Noto Color Emoji:mode=harf"]
|
sansfontfallback = ["Noto Color Emoji:mode=harf"]
|
||||||
monofontfallback = [
|
monofontfallback = [
|
||||||
"Noto Color Emoji:mode=harf",
|
"Noto Color Emoji:mode=harf",
|
||||||
]
|
]
|
||||||
linkcolor = "blue"
|
linkcolor = "Links"
|
||||||
urlcolor = "blue"
|
urlcolor = "Links"
|
||||||
urlstyle = "rm"
|
urlstyle = "rm"
|
||||||
|
|
Loading…
Reference in New Issue