From 8cd6dc790de0d2886449d306c915ee45b5f6aed7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 16 Feb 2024 12:06:43 +0100 Subject: [PATCH] refactor(code): Move zotero live citations to quarto ext Instead of it lying in the src directory (where, reasonably, only python data extraction, processing and modelling code should lie), I turned the retorque filter into a simple quarto extension. Could reasonably be repackaged separately from this repo since I believe other people could profit off it. --- _extensions/pandoc-to-zotero-live/_extension.yml | 7 +++++++ .../pandoc-to-zotero-live}/pandoc-to-zotero-live.lua | 0 _quarto.yml | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 _extensions/pandoc-to-zotero-live/_extension.yml rename {src => _extensions/pandoc-to-zotero-live}/pandoc-to-zotero-live.lua (100%) diff --git a/_extensions/pandoc-to-zotero-live/_extension.yml b/_extensions/pandoc-to-zotero-live/_extension.yml new file mode 100644 index 0000000..2394ec5 --- /dev/null +++ b/_extensions/pandoc-to-zotero-live/_extension.yml @@ -0,0 +1,7 @@ +title: pandoc-to-zotero-live +author: Emiliano Heyns +maintainer: Marty Oehme +version: 0.1.0 +contributes: + filters: + - pandoc-to-zotero-live.lua diff --git a/src/pandoc-to-zotero-live.lua b/_extensions/pandoc-to-zotero-live/pandoc-to-zotero-live.lua similarity index 100% rename from src/pandoc-to-zotero-live.lua rename to _extensions/pandoc-to-zotero-live/pandoc-to-zotero-live.lua diff --git a/_quarto.yml b/_quarto.yml index bf7b931..e33fec8 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -23,7 +23,7 @@ format: number-sections: true reference-doc: 02-data/supplementary/justified.docx filters: - - src/pandoc-to-zotero-live.lua + - pandoc-to-zotero-live pdf: echo: false number-sections: true