Skip to content

Commit

Permalink
update config info
Browse files Browse the repository at this point in the history
  • Loading branch information
svbaelen committed Apr 21, 2024
1 parent 4ce5c17 commit 601787b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
19 changes: 13 additions & 6 deletions config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
# ==================
# Pandoc base config
# =========================================================================
# Pandoc main config
#
# Notes:
# - <https://pandoc.org/MANUAL.html#general-writer-options-1>
# - <https://pandoc.org/MANUAL.html#options-affecting-specific-writers>
# - metadata (and other configs) is set in `src/_base.md`
# - all options can be overwritten in file-specific './config/<fmt>/config.yaml'
# (for `input-files`, file-specific additions are possible, but not a full
# overwrite)
# ==================
# =========================================================================

from: markdown
verbosity: WARNING # ERROR, WARNING, or INFO

filters:
- pandoc-crossref
- src/filters/multiple-bibliographies.lua # comment out for quick build (no refs)
#- src/filters/pandoc-quotes.lua

# you can set input files in output-specific config files as well, if a
# discrepancy is required
# -------------------------------------------------------------------------
# Layout
# -------------------------------------------------------------------------

# you can extend the input-files in the output-specific configs
input-files:
- ./src/_base.md
- ./src/abstract.md
Expand All @@ -27,6 +33,8 @@ input-files:
- ./src/05_references.md
#- ./src/appendix.md # add this per outpuf file (see ./<format>/config.yaml)

# -------------------------------------------------------------------------

cite-method: citeproc # citeproc, natbib, or biblatex
embed-resources: true
file-scope: false # Parse each file individually before combining for multifile
Expand All @@ -45,5 +53,4 @@ top-level-division: default # part, chapter, section, or default
toc: true
listings: true
number-sections: true
verbosity: WARNING # ERROR, WARNING, or INFO
toc-depth: 3
9 changes: 5 additions & 4 deletions config/html/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@

# add some input files
input-files:
#- ./src/appendix.md
- ./src/appendix.md

# styling
css:
- ./config/html/css/main.css
- ./config/html/css/print.css
- ./config/html/css/font_tufte.css
- ./config/html/css/main.css # use :root here for easy customization
- ./config/html/css/print.css # print to pdf styling
- ./config/html/css/font_tufte.css # font-related
# different font-styles (uncomment):
#- ./config/html/css/font_poppins.css
#- ./config/html/css/font_merriweather.css

Expand Down

0 comments on commit 601787b

Please sign in to comment.