Commit Graph
100 Commits
Author SHA1 Message Date
swaits 7117a1e60f chore(glossy): update minimum compiler version to 0.13.0 2025-02-19 15:48:45 -07:00
swaits 9be60483a5 Merge pull request #33 from eltos/patch-1
Draft: [Glossy] Typst 0.13 compatibility
2025-02-19 15:42:20 -07:00
swaits 8f3ef0d1d0 chore: merge bookmarkes which got merged upstream 2025-02-06 15:47:05 -07:00
swaits 28d0951b85 chore(finely-crafted-cv): add excludes, update Copyright in LICENSE 2025-01-26 13:22:28 -07:00
swaits ccd0e62ce2 chore(finely-crafte-cv): bump version to 0.3.0 2025-01-26 12:59:34 -07:00
swaits 081b821457 feat(finely-crafte-cv): make icon header user defineable 2025-01-26 12:56:09 -07:00
swaits 57c961dd18 test(finely-crafted-cv): copy the example into a test 2025-01-26 11:03:28 -07:00
swaits 4e4e93e096 chore(glossy): bump version to 0.6.0
Closes [#24](https://github.com/swaits/typst-collection/issues/24)

- Fixed academic theme (no longer hardcodes a font)
- New modifiers: noref/noindex - keeps terms out of glossary
- New behavior: short/long/both no longer count against "first use"
2025-01-25 16:10:14 -07:00
swaits 5b0bdf333f doc(glossy): update docs with new 0.6.0 features
- noref/noindex
- updated theme gallery (academic changed to not specify font)
- short/long/both no longer count against "first use"
2025-01-25 16:10:14 -07:00
swaits a903bf0fc8 feat(glossy): adds noref|noindex modifier
Per suggestion in [#24](https://github.com/swaits/typst-collection/issues/24)
2025-01-25 15:46:16 -07:00
swaits ee570f7487 fix(glossy): short/long/both usage no longer counts against a term's "first use"
Fixes [#24](https://github.com/swaits/typst-collection/issues/24)
2025-01-25 15:30:40 -07:00
swaits ef03fdfbc4 fix(glossy): remove font from academic theme 2025-01-25 12:30:32 -07:00
swaits 07c8fa50f9 chore(codly-languages): bump version to 0.1.6 2025-01-22 16:37:27 -07:00
swaits 8da80916df test(codly-languages): update test for splunk and nextflow 2025-01-22 16:02:26 -07:00
swaits 588eca1c7d Merge pull request #26 from SwiftSeal/nextflow
Add nextflow
2025-01-22 15:49:19 -07:00
swaits 7f3183bd92 Merge branch 'main' into nextflow 2025-01-22 15:48:21 -07:00
swaits 3e70585ffa Merge pull request #25 from philxws692/codly-languages-splunk
Added Splunk to codly-languages
2025-01-22 15:42:29 -07:00
swaits 7ad3c5ad65 chore(codly-languages): bump version to 0.1.5 2025-01-10 10:25:31 -07:00
swaits 079e80edb2 doc(codly-languages): update README
- clean up icon attribution section
- eliminate nauseating list of missing languages
2025-01-10 10:23:50 -07:00
swaits 4761b49867 chore(codly-languages): update LICENSE to 2025 copyright 2025-01-10 10:23:46 -07:00
swaits e4c1350ebc Merge pull request #23 from Kees-van-Beilen/patch-1
Update css3.svg
2025-01-10 09:37:52 -07:00
swaits d0e7fe4371 chore: add clean.sh to remove test artifacts 2025-01-10 09:21:44 -07:00
swaits 0cd345a123 merge: published easy-typography-0.1.0 and tasteful-pairings-0.1.0 to main 2025-01-10 08:47:52 -07:00
swaits d296f3a3f1 chore(tasteful-pairings): updated description from @neuralpain
Integrates change in [this
PR](https://github.com/typst/packages/pull/1526) from
[neuralpain](https://github.com/neuralpain).
2025-01-09 13:05:37 -07:00
swaits 338fee564f fix(tasteful-pairings): update Adobe open-source fonts to latest versions 2025-01-09 13:00:08 -07:00
swaits a2f2b6e59c merge: published versions codly-0.1.4, run-liners:0.1.0, and glossy-0.5.2 to main 2025-01-09 12:39:32 -07:00
swaits a76b261348 chore(easy-typography): rm rogue pdf 2025-01-09 12:17:26 -07:00
swaits 093fcf88fd fix(easy-typography): incorporates changes from community
Incoroporates changes from [this
PR](https://github.com/typst/packages/pull/1527) and updates tests
accordingly.

Thank you to [neuralpain](https://github.com/neuralpain) and
[ssotoen](https://github.com/ssotoen) for the suggestions and code
fixes.
2025-01-09 12:06:06 -07:00
swaits 9bb814f108 test(codly-languages): add test for cuda+cu 2025-01-08 17:26:17 -07:00
swaits 7ed699d2f7 chore(glossy): bumps version to 0.5.2 2025-01-07 22:54:43 -07:00
swaits 257926d7a5 chore(glossy): exclude bin dir in package manifest 2025-01-07 22:54:43 -07:00
swaits 647fddbf18 test(glossy): update test refs (minor layout diffs only) 2025-01-07 22:54:43 -07:00
swaits 93a7794c2e fix(glossy): fix forward linking (broken themes)
Fixes [#19](https://github.com/swaits/typst-collection/issues/19).

Themes must emit `entry.label` for terms to be able to forward-link to
their glossary entrie.
2025-01-07 22:54:43 -07:00
swaits 40cc652aeb test(glossy): add bin/autotest.sh (uses watchexec) 2025-01-07 22:54:43 -07:00
swaits 600925157a fix(codly-languages): replace awk/groovy icons with smaller file sized icons 2025-01-07 22:54:20 -07:00
swaits ed552faef2 chore(codly-languages): bump version to 0.1.4 2025-01-07 22:54:19 -07:00
swaits 5964bc082a feat(codly-languages): add Lisp
Closes [#20](https://github.com/swaits/typst-collection/issues/20).
2025-01-07 22:54:19 -07:00
swaits 41e1c184e8 chore(codly-language): change to codly:1.1.1 2025-01-07 22:54:19 -07:00
swaits 1e095a8b26 feat(tasteful-pairings): initial version 2025-01-07 22:52:47 -07:00
swaits 5d8eb4763e feat(run-liners): initial implementation 2025-01-07 22:52:47 -07:00
swaits 5ad6c10b65 feat(easy-typography): initial implementation 2025-01-07 22:52:47 -07:00
swaits 05a66f4956 test(glossy): repair utf-handling test 2024-12-22 13:40:13 -07:00
swaits df889d8d72 feat(glossy): add sort: true parameter to glossary() 2024-12-21 22:27:07 -07:00
swaits c008b5bd86 feat(glossy): release 0.5.1 2024-12-20 12:48:19 -07:00
swaits 842166c211 fix(glossy): use codepoints (not bytes!) in article code
Fixes [#18](https://github.com/swaits/typst-collection/issues/18)
2024-12-20 12:37:21 -07:00
swaits c37c6750c6 feat(glossy): release 0.5.0
New feature:

`init-glossary()` now accepts a `format-term()` function which gives the
user control over how the short-form and long-form of the terms are
assembled based on the needed mode ("short", "long", or "both").

Change:

Default theme changed to `theme-academic`, which is probably more
generally useful than the prior (`theme-twocol`).
2024-12-20 11:28:32 -07:00
swaits 03d82458bb feat(glossy): change default theme to theme-academic 2024-12-20 11:28:32 -07:00
swaits 725f657f49 feat(glossy): adds format-term customizability
Idea [from Discord
conversation](https://discord.com/channels/1054443721975922748/1318670789150642246/1319338465757757562).

Let's users more precisely control how short-form and long-form terms
are used based on the mode ("short", "long", or "both").

Defaults to `__default-format-term()` as below:

```typst
// Formats a term string based on the specified mode.
//
// Given mode, long-form, and short-form, this function returns the formatted
// term based on the mode. When mode is ...
//
// - "short" -> returns "short-form"
// - "long" -> returns "long-form"
// - "both" -> returns "short-form (long-form)"
//
// Parameters:
//   mode (string): The mode in which to format the term. Possible values are "short", "long", or "both".
//   short-form (string): The short form of the term.
//   long-form (string): The long form of the term.
//
// Returns:
//   string: The formatted term based on the specified mode.
//
#let __default-format-term(mode, short-form, long-form) = {
    if mode == "short" {
      short-form
    } else if mode == "long" {
      long-form
    } else {
      // mode assumed to be "both"
      long-form + " (" + short-form + ")"
    }
}
```
2024-12-20 11:28:32 -07:00
swaits cf139b66f6 chore(glossy): rm trailing whitespace 2024-12-20 11:28:31 -07:00
swaits 461439d2f9 chore: update .build.yml (missing cd into repo dir) 2024-12-19 10:54:12 -07:00
swaits 607814713a chore: update .build.yml (change $HOME for ~) 2024-12-19 10:52:13 -07:00
swaits 4d94a3f7f2 chore: update .build.yml (remove duplicate clone) 2024-12-19 10:48:11 -07:00
swaits bc011bfa6b chore: update .build.yml 2024-12-19 10:44:36 -07:00
swaits 1e1cb91163 feat(glossy): terms now link to glossary entries
- Merges [16](https://github.com/swaits/typst-collection/pull/16).
- Fixes [3](https://github.com/swaits/typst-collection/issues/3).

A big PR from [@eltos](https://github.com/eltos)!

This adds labels for each `key`, so that auto-complete (in the typst.app
/ `typst-ide`) works properly. It also makes it so terms can link to
their glossary entry. In the case that terms are used but no glossary is
shown (which is a core feature of Glossy), placeholder labels are used
so that the auto-complete still works.

All tests, but one (theme-gallery), passed straight from the PR. The
ddiff in the `theme-gallery` test were non-visible (ie a few pixels),
making it effectively passing too. Updated that test so it passes, and
updated the theme screenshot to match its output as well.

Huge thanks to [@eltos](https://github.com/eltos) who demonstrates a
deep understanding of Typst!
2024-12-19 09:36:49 -07:00
swaits 2286037bd6 chore(glossy): release version 0.4.0
## New features:

**Articles with `a`/`an` modifier**

Now you can include articles using this new modifier. The articles may
be defined in your dictionary entry (fields `artcile`, and
`longarticle`). But, if you don't define them, Glossy will do a
reasonably good job at guessing them.

This modifier is also allowed before the term. For example, you might
have this term:

```yaml
www: Worldwide Web
```

And you could display it with an article by any of these:

```typst
@a:www
@an:www
@www:a
@www:an
```

These, `a` and `an` are exactly equivalent. They're just provided for
your convenience. Use either or both.

The `a`/`an` modifier works with all modifiers except `pl` and
`def`/`desc`.

If you want to define custom articles for your terms, do so like this:

```typst
#let glossary = (
  rf: (
    short: "RF",
    article: "an",
    long: "radio frequency",
    longarticle: "a",
  )
  uts: (
    short: "UTS",
    article: "a",
    long: "untranslatable string",
    longarticle: "an",
  )
)
```

But again, in most cases (for English) you shouldn't need to because
Glossy should usually get it right.

Fixes [#12](https://github.com/swaits/typst-collection/issues/12).

## Other changes:

- added test which exhausts all reference options
- added panic if 'def'/'desc' used when no `description` field exists
- significantly improved the (English) pluralizer function
- `__gls()` function refactored, cleaned up
- removed a rogue PDF

## Contributors:

- [@eltos](https://github.com/eltos)
- [@theRealProHacker](https://github.com/theRealProHacker)
2024-12-18 10:15:20 -07:00
swaits a8e0ef7c02 test(glossy): add test to exhaust all reference options 2024-12-18 10:14:18 -07:00
swaits 3dce3d1734 feat(glossy): add support for articles through modifiers 2024-12-18 06:39:43 -07:00
swaits ba8fdda1bf feat(glossy): improve pluralize 2024-12-18 06:08:52 -07:00
swaits e14331cfc0 feat(glossy): add utility for determining indefinite articles in English 2024-12-18 06:08:51 -07:00
swaits b1aa11705c chore(glossy): cleanup rogue PDF 2024-12-18 06:08:51 -07:00
swaits 64fbdce1d2 fix(rfc-vibe): thumbnail update 2024-12-18 06:05:11 -07:00
swaits 62741c691c doc(README): typo fix 2024-12-17 21:42:51 -07:00
swaits f018aebc7b fix(rfc-vibe): typo - thank you theRealProHacker
Merge pull request #15 from theRealProHacker/patch-1

Typo in /tests/basic-output/test.typ
2024-12-17 12:46:36 -07:00
swaits 95b21505cb doc(glossy): cleanup some stale TODOs 2024-12-17 12:46:36 -07:00
swaits 5eee23a59e chore(glossy): bump version to 0.3.0 2024-12-16 18:30:53 -07:00
swaits 0a87404a18 feat(glossy): add type-checking
- adds type-checking via the valkyrie package
- fixes handling of groups parameter on #glossary()
- new test for relevant changes
2024-12-16 18:30:09 -07:00
swaits d2e44f4131 doc(glossy): update docs on concise syntax 2024-12-16 17:46:09 -07:00
swaits 7f1d1d711a test(glossy): add tests for concise syntax 2024-12-16 17:45:40 -07:00
swaits f4b7cc1374 chore: recreate sync.sh for new dir scheme 2024-12-11 00:24:46 +00:00
swaits 9645626ee5 chore: try (again) to make github mirroring include all branches 2024-12-10 22:46:36 +00:00
swaits 4fdd6e2ccd chore: try to make github mirroring include all branches 2024-12-10 22:41:52 +00:00
swaits 7c9ab5f046 chore: rm sync.sh, not applicable any more 2024-12-10 22:25:28 +00:00
swaits a2a9ad0eed doc(README): add swank-tex to the package directory 2024-12-10 22:23:41 +00:00
swaits 274e9bad2f chore: remove preview/ directory 2024-12-10 22:21:15 +00:00
swaits 78c5b8a000 chore: bring all branches back together 2024-12-10 22:19:46 +00:00
swaits 53c0206a03 feat(swank-tex): 0.1.0 2024-12-10 22:09:57 +00:00
swaits 3107573ef2 feat(rfc-vibe): 0.1.0 2024-12-10 22:09:15 +00:00
swaits 6ea69a0ddb feat(pro-letter): 0.1.1 2024-12-10 22:07:36 +00:00
swaits 6231fe43fb feat(pro-letter): 0.1.0 2024-12-10 21:59:22 +00:00
swaits 155568c435 feat(finely-crafted-cv): 0.1.0 2024-12-10 21:56:46 +00:00
swaits 248c520952 feat(codely-languages): 0.1.3 2024-12-10 21:54:54 +00:00
swaits adf2ea5021 feat(codely-languages): 0.1.2 2024-12-10 21:54:25 +00:00
swaits bae9716298 feat(codely-languages): 0.1.1 2024-12-10 21:54:04 +00:00
swaits 21a9a2aac8 feat(codely-languages): 0.1.0 2024-12-10 21:53:05 +00:00
swaits 86f16a7ac0 feat(glossy): 0.2.2 2024-12-10 20:45:18 +00:00
swaits bf97dcdbab feat(glossy): 0.2.1 2024-12-10 20:45:05 +00:00
swaits 0adcf0bdc0 feat(glossy): 0.2.0 2024-12-10 20:44:56 +00:00
swaits d30225f4e6 feat(glossy): 0.1.2 2024-12-10 20:44:44 +00:00
swaits 347d44b5da feat(glossy): 0.1.1 2024-12-10 20:44:16 +00:00
swaits 927c52d402 feat(glossy): 0.1.0 2024-12-10 20:37:43 +00:00
swaits d861d506b2 feat(glossy): theme-table courtesy of Fevol 2024-12-07 22:50:08 +00:00
swaits 6d596852ff fix(glossy): fixes page numbering thanks to Fevol
Bug fix thanks to [@Fevol](https://github.com/Fevol).

See PR: https://github.com/swaits/typst-collection/pull/9
2024-12-07 22:50:08 +00:00
swaits 68d1085719 style(glossy): minor cleanup in theme gallary test 2024-12-05 21:20:49 +01:00
swaits 73348abeaf feat(glossy): add new themes, update tests, README 2024-12-05 01:08:43 +01:00
swaits db46a5e025 fix(glossy): clean up themes, update tests, README 2024-12-05 01:08:43 +01:00
swaits 006bf65247 chore(glossy): move themes into individual files 2024-12-05 01:08:43 +01:00
swaits 12db300709 test(glossy): switch to typst-test, add tests
- move examples/readme.typ into a test (demo)
- add test for sorting (both ways)
- add test to generate theme gallery
- add theme gallery image to README
2024-12-05 01:08:43 +01:00
swaits f2052745e0 feat(glossy): add case-insensitive sorting 2024-12-04 22:53:32 +01:00
swaits 7f9a6856ba chore(glossy): cp 0.2.0 -> 0.2.1, update version 2024-12-04 21:04:52 +01:00
swaits 3edab60c37 chore(codly-languages): update to codly 1.1.0, including test updates 2024-12-03 14:22:59 +01:00