From 60aa2447c4b035dd589421df38df320390355470 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Mon, 20 Jan 2025 10:15:50 -0500 Subject: [PATCH 1/2] chore: update version to 0.8.0 --- README.md | 7 ++++--- template/coverletter.typ | 2 +- template/coverletter2.typ | 2 +- template/resume.typ | 2 +- tests/resume/test.typ | 2 +- tests/utilities/test.typ | 2 +- typst.toml | 2 +- 7 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2cfa1ce..ebe05ad 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ See `typst fonts --help` for more information on configuring fonts for `typst` t Below is a basic example for a simple resume: ```typst -#import "@preview/modern-cv:0.7.0": * +#import "@preview/modern-cv:0.8.0": * #show: resume.with( author: ( @@ -55,7 +55,8 @@ Below is a basic example for a simple resume: ) ), profile-picture: none, - date: datetime.today().display() + date: datetime.today().display(), + page-size: "us-letter" ) = Education @@ -98,7 +99,7 @@ To build and test the project locally, you will need to install the `typst` CLI. With typst installed you can make changes to `lib.typ` and then `just install` or `just install-preview` to install the package locally. Change the import statements in the template files to point to the local package (if needed): ```typst -#import "@local/modern-cv:0.6.0": * +#import "@local/modern-cv:0.8.0": * ```` If you use `just install-preview` you will only need to update the version number to match `typst.toml`. diff --git a/template/coverletter.typ b/template/coverletter.typ index eb96aab..eec8b33 100644 --- a/template/coverletter.typ +++ b/template/coverletter.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.7.0": * +#import "@preview/modern-cv:0.8.0": * #show: coverletter.with( author: ( diff --git a/template/coverletter2.typ b/template/coverletter2.typ index f620687..b6affe8 100644 --- a/template/coverletter2.typ +++ b/template/coverletter2.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.7.0": * +#import "@preview/modern-cv:0.8.0": * #show: coverletter.with( author: ( diff --git a/template/resume.typ b/template/resume.typ index b4450c1..523965f 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -1,4 +1,4 @@ -#import "@preview/modern-cv:0.7.0": * +#import "@preview/modern-cv:0.8.0": * #show: resume.with( author: ( diff --git a/tests/resume/test.typ b/tests/resume/test.typ index 3c27c6f..c2d9d55 100644 --- a/tests/resume/test.typ +++ b/tests/resume/test.typ @@ -1,4 +1,4 @@ -#import "@local/modern-cv:0.7.0": * +#import "@local/modern-cv:0.8.0": * // setup the document like we do for the resume #let font = ("Source Sans Pro", "Source Sans 3") diff --git a/tests/utilities/test.typ b/tests/utilities/test.typ index 7059148..d8a7828 100644 --- a/tests/utilities/test.typ +++ b/tests/utilities/test.typ @@ -1,4 +1,4 @@ -#import "@local/modern-cv:0.7.0": * +#import "@local/modern-cv:0.8.0": * // setup the document like we do for the resume #let font = ("Source Sans Pro", "Source Sans 3") diff --git a/typst.toml b/typst.toml index 504a017..2caa85b 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "modern-cv" -version = "0.7.0" +version = "0.8.0" compiler = "0.12.0" entrypoint = "lib.typ" authors = ["Paul Tsouchlos "] From 71ccbf8cb92fafe6fad40a0eac095b03b0e37b12 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Thu, 23 Jan 2025 08:18:56 -0500 Subject: [PATCH 2/2] chore: update manual generation lib --- docs/manual.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual.typ b/docs/manual.typ index 5d159ff..7d0120c 100644 --- a/docs/manual.typ +++ b/docs/manual.typ @@ -1,9 +1,9 @@ #import "../lib.typ" -#import "@preview/tidy:0.3.0" +#import "@preview/tidy:0.4.1" #let docs = tidy.parse-module( read("../lib.typ"), name: "Modern CV", scope: (resume: lib), ) -#tidy.show-module(docs) +#tidy.show-module(docs, style: tidy.styles.minimal)