85 Commits

Author SHA1 Message Date
Greg Shuflin 92559deb83 Add documentation for example number formatting
Also change the default sub-example format to "a."
2025-09-01 17:42:28 -07:00
arkady shaldov c10d7ed52a Subexample numbering customization (#9)
* add subexample numbering customization

* add subexample numbering customization

* first-level numbering patterns
2025-09-01 17:33:47 -07:00
Greg Shuflin 434d5287ac update changelog 2025-02-20 00:18:15 -08:00
Greg Shuflin 32400b43db version 0.5.0 2025-02-19 23:55:43 -08:00
Greg Shuflin 9ea3b6167a Update supported typst version to 0.13 2025-02-19 23:51:23 -08:00
Greg Shuflin cde9954621 justfile tweaks 2025-02-19 21:34:40 -08:00
Greg Shuflin bb774aac50 Update to version 0.4 2024-11-11 20:24:36 -08:00
Greg Shuflin 66af71ab90 Update changelog 2024-11-11 20:23:22 -08:00
Greg Shuflin c91bb54399 Fix context in abbreviations example 2024-11-09 00:17:36 -08:00
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 c7eded63d5 Mention Radicle in README 2024-09-27 17:30:54 -07: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 78eaeca178 Bump package version to 0.3.0 2024-08-18 23:19:27 -07:00
Greg Shuflin f03b69fb5f Blocks in documentation
For each code + rendered markup example, put a black border around it to
visually group them in the documentation pdf.
2024-08-18 23:18:52 -07:00
Greg Shuflin d420851864 Update contributors 2024-08-18 23:18:52 -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 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
Greg Shuflin e7b417f0d3 Document with-used-abbreviations
And fix some minor formatting concerns
v0.2.0
2023-10-04 01:50:21 -07:00
Greg Shuflin e008aa16f4 Clean up abbreviations 2023-10-04 01:48:11 -07:00
Greg Shuflin 55545eeccc Documentation PDF improvements 2023-10-04 01:35:46 -07:00
Greg Shuflin 80844f5575 Set version to 0.2.0 2023-09-24 01:20:57 -07:00
Greg Shuflin 69ec9263a1 Fix readme 2023-09-21 17:41:52 -07:00
Greg Shuflin 169c6c912d TODO note 2023-09-21 00:42:29 -07:00
Greg Shuflin 3304ab8f3e Add 12th gloss 2023-09-21 00:06:42 -07:00
Greg Shuflin 977810e8cd Add source comment for gloss 2023-09-21 00:03:09 -07:00
Greg Shuflin 9e20916e37 Add example of long gloss 2023-09-21 00:02:09 -07:00
Greg Shuflin e4726bbbbd Abbreviations documentation 2023-09-20 23:44:22 -07:00
Greg Shuflin 04e327e5a1 Quick fix 2023-09-19 03:49:32 -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 1753717dd8 Add changelog 2023-09-19 01:45:13 -07:00
Greg Shuflin 9f48e3f9a7 Start to document abbreviations 2023-09-19 01:41:04 -07:00
Greg Shuflin c313590827 Reorganize abbreviations 2023-09-19 01:22:15 -07:00
Greg Shuflin 33862861a8 better header 2023-09-19 01:09:45 -07:00
Greg Shuflin 08c8f3871d correct line break 2023-09-19 01:07:51 -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 42c2651178 Use new function everywhere 2023-09-19 00:22:10 -07:00
Greg Shuflin 656597f120 Move remaining glosses to the neew #codeblock 2023-09-18 22:16:40 -07:00
Greg Shuflin 090bf21e44 Use new codeblock fn to avoid markup duplication 2023-09-18 21:56:26 -07:00
Greg Shuflin 4dd6d27026 Allow morphemes to be none 2023-07-31 02:17:09 -07:00
Greg Shuflin 320f1ad0e5 Redefine fmnt custom abbreviation 2023-07-11 01:41:37 -07:00
Greg Shuflin 6592ebd444 Use snake-case 2023-07-11 01:40:00 -07:00
Greg Shuflin 2b5cad038d Use-order and alphabetical used symbols 2023-07-11 01:33:29 -07:00
Greg Shuflin 6fee9d6e4c More misc work 2023-07-11 01:17:41 -07:00