g

glossy

@preview

A very simple glossary system with easily customizable output.

v0.9.2
MIT

Package Information

Last Updated
Minimum Typst Version
0.14.0
Categories
model

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/glossy:0.9.2

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/glossy:0.9.2": *

Version History

0.9.20.14.0
6a6d4bf73bc5...
0.9.10.14.0
f70cae25875c...
0.9.00.14.0
ab5cf28a443b...
0.8.00.13.0
ab5a34dcb890...
0.7.00.13.0
e643ee742274...
0.6.0
a7501aedc4c4...
0.5.2
aa3b7ff204aa...
0.5.1
8d6fb8c33194...
0.5.0
9caf14d98bb8...
0.4.1
a07771dbfbc4...
0.4.0
0b6cdea955d1...
0.3.0
30e91034e285...
0.2.2
c16a9ebab50b...
0.2.1
19e393d10aed...
0.2.0
feaea436876e...
0.1.2
f8c9e90c920b...
0.1.1
bbe6f145f052...
0.1.0
cc2e7b9c09b7...

Publish changes

Example PR from glossy:

Prepare to publish

There is a branch submitted-upstream: It will no longer be used for publishing.

  1. Make these commands run without error

    just fmt    # format all .typ files in place
    just check  # fmt-check + full test suite
    
  2. Update changelog in README.md

  3. Update version in typst.toml

    just bump patch # or minor
    
  4. Run full pre-submission checks

    just pre-submit  # clean → images → check
    
  5. Commit to main and create a version tag.

    git tag -a vx.y.z -m "x.y.z"
    git push && git push --tags
    
  6. Create a fork of https://github.com/typst/packages/

  7. Copy package files into a local clone of the upstream registry.

    cd ~/src/glossy
    TYPST_PACKAGES_REPO=~/typst-packages
    
    ver=$(grep '^version' "typst.toml" | cut -d'"' -f2)
    dest="$TYPST_PACKAGES_REPO/packages/preview/glossy/$ver"
    
    rm -r "$dest"
    mkdir -p "$dest"
    cp -r src "$dest/"
    cp -r lib.typ LICENSE README.md README_publish.md README_development.md typst.toml themeshots.png thumbnail.png "$dest/"
    
  8. On fork of https://github.com/typst/packages/

    cd $TYPST_PACKAGES_REPO
    git switch -c submit_glossy
    git add packages/preview/glossy/$ver
    git commit -m "glossy:$ver"
    git push -u origin submit_glossy
    

Notes on just

Run just (or just help) to list all available recipes.