Commit Graph

77 Commits

Author SHA1 Message Date
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
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
Greg Shuflin
3c87ec58c8 Hide helper function in closure 2023-07-11 00:42:45 -07:00
Greg Shuflin
4519b8da22 WIP tryign out ways to define custom abbreviations 2023-07-10 03:20:42 -07:00
Greg Shuflin
ae47d30fef Handle N- (non-) ? 2023-07-10 03:00:53 -07:00
Greg Shuflin
ff20fc0c76 More code simplifications 2023-07-10 02:51:34 -07:00
Greg Shuflin
fe6de041a5 Ensure ordering of used abbrevs is correct 2023-07-10 02:49:04 -07:00
Greg Shuflin
26e0bbdab6 Flesh out full linguistics abbreviation chart 2023-07-10 02:44:03 -07:00
Greg Shuflin
ffec36460d Simplify how tracking abbreviations works 2023-07-10 02:23:15 -07:00
Greg Shuflin
c45e645b1a Concision 2023-07-10 02:19:57 -07:00