aboutsummaryrefslogtreecommitdiff
path: root/tests/test-config.toml
diff options
context:
space:
mode:
authorlukeflo2025-06-03 17:38:49 +0200
committerlukeflo2025-06-03 17:38:49 +0200
commitd7236320fde1994fa38c5d8b85c9f81f1559fff4 (patch)
treea3ff2fe49886d6bd33f0c6627d07669b377cbd22 /tests/test-config.toml
parent1dcb24c381990bdead5fa3df2fb95d74b176a8c1 (diff)
parent201aecebcd7c85127df9c43da01fdafc3465e53e (diff)
downloadbibiman-d7236320fde1994fa38c5d8b85c9f81f1559fff4.tar.gz
bibiman-d7236320fde1994fa38c5d8b85c9f81f1559fff4.zip
Merge pull request 'pdf-by-filename' (#28) from pdf-by-filename-#27 into main
Implemented PDF dir: + now you can set a `pdf_path` variable in the config and throuch the CLI flag `--pdf-dir` + this dir will be searched recursivley for PDF files which mathc a citekey from the used `.bib` files and connects with them + every entry can have multiple PDFs with the citekey-basename in different subdirs + the bibfile itself will not be altered + additionally, i rewrote the internal popup code for easier contribution
Diffstat (limited to 'tests/test-config.toml')
-rw-r--r--tests/test-config.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test-config.toml b/tests/test-config.toml
index 3913f16..4e4f8c5 100644
--- a/tests/test-config.toml
+++ b/tests/test-config.toml
@@ -14,7 +14,12 @@ bibfiles = [ "tests/biblatex-test.bib" ]
## Prefix which is prepended to the filepath from the `file` field
## Use absolute paths (~ for HOME works). Otherwise, loading might not work.
-# file_prefix = "/some/path/prefix"
+file_prefix = "/some/path/prefix"
+
+## Path to folder (with subfolders) containing PDF files with the basename
+## of the format "citekey.pdf". Other PDF basenames are not accepted.
+## Use absolute paths (~ for HOME works). Otherwise, loading might not work.
+pdf_path = "tests/pdf-files"
# [colors]
## Default values for dark-themed terminal