-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add citation element * feat: add preamble parsing * feat: allow multiple csl locale files * fix: only merge preamble if a preamble exists * add citeproc-js + rendering of the in-text part of citations * prepare citeproc adapter for footnotes and bibliography * use values from preamble + add some styles and locales * add bibliography and footnotes to end of document * replace String::from with .to_string() * support german and english for bibliography heading * add the csl struct that Manuel generated * merge input .csl files to one json object * change type of citation_locales to HashMap<Locale, PathBuf> * add warnings to reading the locale and style files * add CiteErrors * run cargo fmt * move json serialization from get_citation_strings to new of Context + add logs when it fails * serialize each citation ids vector individually * add class for Css entries * try to stop clippy from complaining about the generated file * parse csl-locales from cli using a vector of tuples * serialize locale-pathbuf map using map serializer from serde * use custom visitor for citation_locales deserialization * use custom visitor for multiple locales deserialization * run cargo fmt * Revert "Merge branch 'main' into cite-box" This reverts commit 4c5eeb0, reversing changes made to 9d064a9. * Revert "Revert "Merge branch 'main' into cite-box"" This reverts commit 2746775. * fix: resolve merge conflicts * fix: add bib & footnotes to umi * fix: pass output format to render context * add unit test for citations * don't print bibliography and footnotes if the strings are empty * don't start the citeproc processor if the input doesn't contain citations * fix: remove double insert of locale serialization * fix: use clap::Error when converting csl locales * fix: destructure csl locale tuple in loop * fix: use Option for footnote & bib rendering * fix: add prop-column to footnote & bib umi dummies * fix: resolve logic conflicts due to merge --------- Co-authored-by: Elena Krippner <[email protected]> Co-authored-by: ElenaKrippner <[email protected]>
- Loading branch information
1 parent
7a46853
commit b133fb6
Showing
68 changed files
with
43,136 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
+++ | ||
lang: "de-AT" | ||
+++ | ||
|
||
Deutscher Text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.