Skip to content

calendaring:0.1.0#4910

Open
TAJD wants to merge 4 commits into
typst:mainfrom
TAJD:add-calendaring-0.1.0
Open

calendaring:0.1.0#4910
TAJD wants to merge 4 commits into
typst:mainfrom
TAJD:add-calendaring-0.1.0

Conversation

@TAJD
Copy link
Copy Markdown

@TAJD TAJD commented May 21, 2026

I am submitting

  • a new package
  • an update for a package

Description: calendaring lays out month calendar grids from a year and month. Given (year, month), it computes the correct leading and trailing blank days (via datetime + duration), supports Monday- or Sunday-first weeks, optional 90° rotation for portrait pages, and a custom cell renderer for adding labels per day. It is intended for personal planners, training logs, and habit trackers where each day is a writable cell — not for displaying scheduled events (for that, see cineca).

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
    • Explanation: calendaring is the gerund of "calendar", directly analogous to the example in the naming rules (slidessliding). The canonical names calendar, month, and month-grid are intentionally avoided so that future packages with broader calendar functionality remain available.
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license (MIT) and added a LICENSE file
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

Lay out month calendar grids from a year and month.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TAJD TAJD temporarily deployed to Package Check May 21, 2026 18:29 — with GitHub Actions Inactive
@typst-package-check typst-package-check Bot added the new A new package submission. label May 21, 2026
- cell-content callback receives datetime instead of bare day int
- events and today parameters (TikZ calendar / wallcalendar style)
- weekday-names for localization
- year-grid composition helper
- input validation

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TAJD TAJD temporarily deployed to Package Check May 21, 2026 18:52 — with GitHub Actions Inactive
Borrowed from wallcalendar. Opt-in via `week-numbers: true`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TAJD TAJD temporarily deployed to Package Check May 21, 2026 18:58 — with GitHub Actions Inactive
- New `is-leap-year(year)` public helper.
- `year-grid` exposes cell-height, inset, month-label-size.
- Year input validation.
- CHANGELOG.md added.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant