Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8085fc768
|
||
|
|
e262a2eafe
|
||
|
|
022892df88
|
||
|
|
6d83a858c8
|
||
|
|
bacb6cebd1
|
||
|
|
279217dfd2
|
||
|
|
8b98b9e89f
|
||
|
|
9972b93b52
|
||
|
|
ae6405c288
|
||
|
|
a6572d07ff
|
||
|
|
8e3ede34dc
|
||
|
|
c8f2c0d975
|
||
|
|
a2947f2b7b
|
||
|
|
f745af74cc
|
||
|
|
9de06d3781
|
||
|
|
4f26f9a194
|
||
|
|
2e9b81dff4
|
||
|
|
3b7a1404ea
|
||
|
|
b250c35f78
|
||
|
|
552858d813
|
||
|
|
03e8e62c70
|
||
|
|
f7727f5abd
|
||
|
|
f3cc41360c | ||
|
|
68945132fb
|
||
|
|
93af7fa6b4
|
||
|
|
0bd35b1984 | ||
|
|
392e8a8122
|
||
|
|
b8af7ab776 | ||
|
|
ca57b15ccf | ||
|
|
3e0d7a9812
|
No files matched your search
@@ -1,6 +0,0 @@
|
||||
STOP! This repository is being migrated.
|
||||
|
||||
All packages have moved to:
|
||||
https://github.com/swaits-typst-packages
|
||||
|
||||
Do NOT create new issues or PRs here.
|
||||
@@ -1,9 +0,0 @@
|
||||
Migration started: 2025-10-26 21:22
|
||||
|
||||
This repository is being split into individual package repositories.
|
||||
During this transition:
|
||||
- No new issues or PRs should be created
|
||||
- Existing issues are being triaged and moved
|
||||
- The repository will be archived once migration is complete
|
||||
|
||||
New organization: https://github.com/swaits-typst-packages
|
||||
@@ -1,54 +1,3 @@
|
||||
# 🚨 REPOSITORY MOVING - DO NOT CREATE NEW ISSUES OR PRS HERE 🚨
|
||||
|
||||
<div align="center">
|
||||
|
||||
## ⛔ THIS REPOSITORY IS BEING MIGRATED ⛔
|
||||
|
||||
### **ALL PACKAGES ARE MOVING TO:** [github.com/swaits-typst-packages](https://github.com/swaits-typst-packages)
|
||||
|
||||
**DO NOT:**
|
||||
- ❌ Create new issues here
|
||||
- ❌ Submit new pull requests here
|
||||
- ❌ Start new work based on this repo
|
||||
|
||||
**INSTEAD:**
|
||||
- ✅ Go to the new organization: [swaits-typst-packages](https://github.com/swaits-typst-packages)
|
||||
- ✅ Find your specific package repository there
|
||||
- ✅ Create issues/PRs in the individual package repos
|
||||
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## 📦 New Repository Locations
|
||||
|
||||
| If you're looking for... | Go to... |
|
||||
|--------------------------|----------|
|
||||
| **codly-languages** | ➡️ [github.com/swaits-typst-packages/codly-languages](https://github.com/swaits-typst-packages/codly-languages) |
|
||||
| **easy-typography** | ➡️ [github.com/swaits-typst-packages/easy-typography](https://github.com/swaits-typst-packages/easy-typography) |
|
||||
| **finely-crafted-cv** | ➡️ [github.com/swaits-typst-packages/finely-crafted-cv](https://github.com/swaits-typst-packages/finely-crafted-cv) |
|
||||
| **glossy** | ➡️ [github.com/swaits-typst-packages/glossy](https://github.com/swaits-typst-packages/glossy) |
|
||||
| **pro-letter** | ➡️ [github.com/swaits-typst-packages/pro-letter](https://github.com/swaits-typst-packages/pro-letter) |
|
||||
| **rfc-vibe** | ➡️ [github.com/swaits-typst-packages/rfc-vibe](https://github.com/swaits-typst-packages/rfc-vibe) |
|
||||
| **run-liners** | ➡️ [github.com/swaits-typst-packages/run-liners](https://github.com/swaits-typst-packages/run-liners) |
|
||||
| **swank-tex** | ➡️ [github.com/swaits-typst-packages/swank-tex](https://github.com/swaits-typst-packages/swank-tex) |
|
||||
| **tasteful-pairings** | ➡️ [github.com/swaits-typst-packages/tasteful-pairings](https://github.com/swaits-typst-packages/tasteful-pairings) |
|
||||
|
||||
## ⏳ Migration In Progress
|
||||
|
||||
We are currently:
|
||||
1. Moving existing issues to the appropriate new repositories
|
||||
2. Redirecting pull requests to the new locations
|
||||
3. Setting up the new package infrastructure
|
||||
|
||||
**Expected completion: [Coming Soon]**
|
||||
|
||||
---
|
||||
|
||||
|
||||
<details>
|
||||
<summary>📜 Original README (click to expand)</summary>
|
||||
|
||||
# `typst-collection`
|
||||
|
||||
A collection of `typst` templates and packages by [swaits](https://swaits.com/about).
|
||||
@@ -86,5 +35,3 @@ links below to their main page.
|
||||
## License
|
||||
|
||||
All content licensed under the [MIT license](LICENSE).
|
||||
|
||||
</details>
|
||||
@@ -1,37 +0,0 @@
|
||||
# `typst-collection`
|
||||
|
||||
A collection of `typst` templates and packages by [swaits](https://swaits.com/about).
|
||||
|
||||
Everything in this collection is available for use at the [`typst`
|
||||
universe](https://typst.app/universe/). For details on each, please visit the
|
||||
links below to their main page.
|
||||
|
||||
## Packages
|
||||
|
||||
- [**codly-languages**](https://typst.app/universe/package/codly-languages): A
|
||||
set of language configurations for use with
|
||||
[codly](https://typst.app/universe/package/codly).
|
||||
- [easy-typography](https://typst.app/universe/package/easy-typography): Sets up
|
||||
sensible typography defaults.
|
||||
- [**glossy**](https://typst.app/universe/package/glossy): A very simple
|
||||
glossary system with easily customizable output.
|
||||
- [**rfc-vibe**](https://typst.app/universe/package/rfc-vibe): Bring RFC language
|
||||
into everyday docs.
|
||||
- [**run-liners**](https://typst.app/universe/package/run-liners): Functions to
|
||||
create various run-in lists.
|
||||
- [**swank-tex**](https://typst.app/universe/package/swank-tex): Render those
|
||||
funky logos for TeX, LaTeX, and friends.
|
||||
- [**tasteful-pairings**](https://typst.app/universe/package/tasteful-pairings):
|
||||
A carefully curated collection of font pairings focusing on readability and
|
||||
typographic harmony.
|
||||
|
||||
## Templates
|
||||
|
||||
- [**finely-crafted-cv**](https://typst.app/universe/package/finely-crafted-cv):
|
||||
A modern résumé/curriculum vitæ template with high attention to detail.
|
||||
- [**pro-letter**](https://typst.app/universe/package/pro-letter): A formal
|
||||
business letter template.
|
||||
|
||||
## License
|
||||
|
||||
All content licensed under the [MIT license](LICENSE).
|
||||
@@ -1,69 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SRC_REPO_ROOT="$(pwd)"
|
||||
DEST_PARENT="../swaits-typst-collection" # change if you like
|
||||
|
||||
DIRS=(
|
||||
codly-languages
|
||||
)
|
||||
|
||||
command -v git-filter-repo >/dev/null || {
|
||||
echo "git-filter-repo is required. Install via 'uv tool install git-filter-repo' (or pipx/pip)."
|
||||
exit 1
|
||||
}
|
||||
|
||||
mkdir -p "$DEST_PARENT"
|
||||
|
||||
for d in "${DIRS[@]}"; do
|
||||
[ -d "$d" ] || {
|
||||
echo "Skip: '$d' not found in $(pwd)"
|
||||
continue
|
||||
}
|
||||
|
||||
TARGET="$DEST_PARENT/$d"
|
||||
echo
|
||||
echo "==> Splitting '$d' → '$TARGET'"
|
||||
|
||||
rm -rf "$TARGET"
|
||||
git clone --no-local --branch main --origin origin "$SRC_REPO_ROOT" "$TARGET"
|
||||
|
||||
(
|
||||
cd "$TARGET"
|
||||
|
||||
git filter-repo --force \
|
||||
--path "$d/" \
|
||||
--path-rename "$d/:"
|
||||
|
||||
# ---- Tag rename: '<dir>-X.Y.Z' -> 'vX.Y.Z' (annotated, with message) ----
|
||||
# Peel old tags to the commit/object they point to to avoid nested tags.
|
||||
while IFS= read -r oldtag; do
|
||||
# only proceed if the (filtered) repo still has this tag
|
||||
git rev-parse -q --verify "refs/tags/$oldtag" >/dev/null || continue
|
||||
|
||||
peeled=$(git rev-parse -q --verify "${oldtag}^{}" || true)
|
||||
[ -z "$peeled" ] && continue
|
||||
|
||||
ver="${oldtag#${d}-}"
|
||||
newtag="v${ver}"
|
||||
|
||||
if git rev-parse -q --verify "refs/tags/$newtag" >/dev/null; then
|
||||
echo "Tag exists, deleting old: $oldtag"
|
||||
git tag -d "$oldtag" >/dev/null
|
||||
else
|
||||
# annotated tag with message equal to tag name (avoids interactive prompt)
|
||||
git -c advice.nestedTag=false tag -a "$newtag" -m "$newtag" "$peeled"
|
||||
git tag -d "$oldtag" >/dev/null
|
||||
echo "Renamed: $oldtag -> $newtag (at $peeled)"
|
||||
fi
|
||||
done < <(git tag -l "${d}-*")
|
||||
|
||||
# standalone: drop the monorepo remote that filter-repo rewired
|
||||
git remote remove origin || true
|
||||
|
||||
echo "Done: $TARGET"
|
||||
)
|
||||
done
|
||||
|
||||
echo
|
||||
echo "All splits complete under: $DEST_PARENT"
|
||||
@@ -10,10 +10,10 @@ Pretty simple. Import `codly`. Initialize it. Import `codly-languages`.
|
||||
Configure `codly` with the languages. Like this:
|
||||
|
||||
```typst
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#show: codly-init
|
||||
|
||||
#import "@preview/codly-languages:0.1.10": *
|
||||
#import "@preview/codly-languages:0.1.8": *
|
||||
#codly(languages: codly-languages)
|
||||
```
|
||||
|
||||
|
||||
@@ -4,20 +4,21 @@
|
||||
// To use:
|
||||
//
|
||||
// ```typst
|
||||
// #import "@preview/codly:1.3.0": *
|
||||
// #import "@preview/codly:1.2.0": *
|
||||
// #show: codly-init
|
||||
//
|
||||
// #import "codly-languages.typ:0.1.10": *
|
||||
// #import "codly-languages.typ:0.1.8": *
|
||||
// #codly(languages: codly-languages)
|
||||
// ```
|
||||
#let codly-languages = {
|
||||
// helper function which takes an image filename and creates an icon
|
||||
let __icon(image-filename) = {
|
||||
box(
|
||||
image("icons/" + image-filename, height: 130%, fit: "contain"),
|
||||
image("icons/" + image-filename, height: 0.9em),
|
||||
baseline: 0.05em,
|
||||
inset: 0pt,
|
||||
outset: 0pt,
|
||||
)
|
||||
) + h(0.3em)
|
||||
}
|
||||
|
||||
let __emoji(emoji) = {
|
||||
@@ -25,7 +26,7 @@
|
||||
emoji,
|
||||
inset: 0pt,
|
||||
outset: 0pt,
|
||||
)
|
||||
) + h(0.3em)
|
||||
}
|
||||
|
||||
// configurations for languages
|
||||
@@ -642,9 +643,9 @@
|
||||
tsx: (name: "TSX", color: rgb("#007acc"), icon: __icon("typescript.svg")), //Devicons
|
||||
typescriptreact: (name: "React", color: rgb("#61dafb"), icon: __icon("react.svg")), //Devicons
|
||||
//Typst
|
||||
typst: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typst: (name: "Typst", color: rgb("#8b70c3"), icon: __icon("typst.svg")), //Typst
|
||||
typ: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typc: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typc: (name: "Typst", color: rgb("#8b70c3"), icon: __icon("typst.svg")), //Typst
|
||||
typm: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
//UML
|
||||
uml: (name: "UML", color: rgb("#452e7f"), icon: __icon("unifiedmodelinglanguage.svg")), //Devicons
|
||||
|
||||
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 72 KiB |
@@ -1,4 +1,4 @@
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#import "/lib.typ": *
|
||||
#show: codly-init
|
||||
#codly(languages: codly-languages)
|
||||
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 254 KiB |
@@ -1,5 +1,5 @@
|
||||
#import "/lib.typ": *
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#show: codly-init
|
||||
#codly(languages: codly-languages)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "codly-languages"
|
||||
version = "0.1.10"
|
||||
version = "0.1.8"
|
||||
entrypoint = "lib.typ"
|
||||
authors = ["Stephen Waits <steve@waits.net>"]
|
||||
license = "MIT"
|
||||
|
||||