From be734d2543517a28bed7fef9b82d46dea56a61ea Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 11 Nov 2024 10:23:18 -0800 Subject: Remove definitions.typst partial. Remove unnecessary definition of `endnote`. Incorporate the one remaining definition into `default.typst`. --- data/templates/default.typst | 2 +- data/templates/definitions.typst | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 data/templates/definitions.typst (limited to 'data') diff --git a/data/templates/default.typst b/data/templates/default.typst index 6b0e305fc..79b2c33f5 100644 --- a/data/templates/default.typst +++ b/data/templates/default.typst @@ -1,4 +1,4 @@ -$definitions.typst()$ +#let horizontalrule = line(start: (25%,0%), end: (75%,0%)) #show terms: it => { it.children diff --git a/data/templates/definitions.typst b/data/templates/definitions.typst deleted file mode 100644 index a6deba053..000000000 --- a/data/templates/definitions.typst +++ /dev/null @@ -1,8 +0,0 @@ -// Some definitions presupposed by pandoc's typst output. -#let horizontalrule = [ - #line(start: (25%,0%), end: (75%,0%)) -] - -#let endnote(num, contents) = [ - #stack(dir: ltr, spacing: 3pt, super[#num], contents) -] -- cgit v1.2.3