Remove definitions.typst partial.

Remove unnecessary definition of `endnote`.
Incorporate the one remaining definition into `default.typst`.
This commit is contained in:
John MacFarlane
2024-11-11 10:23:18 -08:00
parent 13d37b4713
commit be734d2543
4 changed files with 2 additions and 17 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
$definitions.typst()$
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
#show terms: it => {
it.children
-8
View File
@@ -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)
]
-1
View File
@@ -102,7 +102,6 @@ data-files:
data/templates/affiliations.jats
data/templates/default.markua
data/templates/default.typst
data/templates/definitions.typst
data/templates/template.typst
data/templates/common.latex
data/templates/hypersetup.latex
+1 -7
View File
@@ -1,11 +1,5 @@
// Some definitions presupposed by pandoc's typst output.
#let horizontalrule = [
#line(start: (25%,0%), end: (75%,0%))
]
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
#let endnote(num, contents) = [
#stack(dir: ltr, spacing: 3pt, super[#num], contents)
]
#show terms: it => {
it.children
.map(child => [