Compare commits

...

3 Commits

Author SHA1 Message Date
Greg Shuflin 3882f4e791 gitignore generated pdfs 2024-04-10 22:28:28 -07:00
Greg Shuflin c4915f652d Support new #context feature
Typst 0.11 now has the concept of #context's, which can be used with
counters.
2024-04-09 22:54:27 -07:00
Greg Shuflin 4e46b5efcc Minor README fixes 2023-10-04 01:57:49 -07:00
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pdf

View File

@ -4,10 +4,12 @@
creating interlinear morpheme-by-morpheme glosses according to the [Leipzig
glossing rules](https://www.eva.mpg.de/lingua/pdf/Glossing-Rules.pdf).
Run `typst compile leipzig-gloss-examples.typ` in the root of the repository to
# Documentation
Run `typst compile documentation.typ` in the root of the repository to
generate a pdf file with examples and documentation. This command is also
codified in the accompanying [justfile](https://github.com/casey/just) as `just
build-example`.
build-doc`.
The definitions intended for use by end users are the `gloss` and
`numbered-gloss` functions, and the `abbreviations` submodule.

View File

@ -114,7 +114,7 @@
}
let gloss_number = if numbering {
[(#gloss-count.display())]
[(#context gloss-count.display())]
} else {
none
}