Greg Shuflin
5ac111ee54
Use typst 0.12 workaround for label name
2024-11-09 00:05:27 -08:00
Greg Shuflin
32dc733b78
Fix use of measure function for new version of typst
2024-11-09 00:00:12 -08:00
Maja Abramski-Kronenberg
ae3784f4ec
Add sub-examples functionality ( #7 )
...
* Add sub-examples (resolves #4 )
* Separate `gloss()` and `example()`
`gloss()` typesets are interlinear glosses, while `example()` treats everything extra that has to do with linguistic examples.
2024-11-07 21:14:25 -08:00
Greg Shuflin
4cd6492cdc
Implement suggestions from typst-package
...
* use kebab-case consistently for argument names
* fix the compiler version string
2024-08-19 15:22:39 -07:00
Greg Shuflin
225c53929b
Some tweaks to the label-ing functionality
2024-08-18 23:18:52 -07:00
Júda Ronén
705dc665fc
Add reference capability
...
This adds a new argument, `label`, and makes use of the referencing mechanism of Typst.
2024-08-18 23:18:52 -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
34ae1b4df6
Better examples
2023-09-19 03:40:56 -07:00
Greg Shuflin
1eead20457
Change from snake_case to kebab-case in most places
2023-09-19 03:23:50 -07:00
Greg Shuflin
c313590827
Reorganize abbreviations
2023-09-19 01:22:15 -07:00
Greg Shuflin
42c97f6e80
change gloss_count to gloss-count
...
And document it better
2023-09-19 01:07:23 -07:00
Greg Shuflin
c65665036d
Change numbered_gloss to numbered-gloss
2023-09-19 00:59:05 -07:00
Greg Shuflin
4dd6d27026
Allow morphemes to be none
2023-07-31 02:17:09 -07:00
Greg Shuflin
6f70bdaa94
header and translation _style params
2023-07-04 01:52:43 -07:00
Greg Shuflin
f621f17f19
Minor code cleanup
2023-07-04 01:41:26 -07:00
Greg Shuflin
1cc3bd5d4b
Use ltr stack technique to display gloss
...
This lets the numbering appear on the same line as the gloss.
2023-07-03 16:35:01 -07:00
Greg Shuflin
2efa9a71b7
Merge pull request #3 from betoma/counter-fix
...
changed counter to work with typst 0.1.0
2023-04-08 00:11:06 -07:00
Greg Shuflin
752bbce889
Handle latest typst version breaking changes
...
* Use the now-required `compile` subcommand in the justfile
* Use the new syntax for enumerated for-loops
2023-04-08 00:07:42 -07:00
Bethany E. Toma
870e346bc1
changed counter to work with typst 0.1.0
2023-04-05 16:59:29 +02:00
Greg Shuflin
5cd99ebd59
Initial commit
2023-03-23 21:34:17 -07:00