Skip to content

Commit

Permalink
Bump version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sematre committed Oct 27, 2024
1 parent ee5d850 commit 0bc8f4c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The goal of typst-letter-pro is to simplify the process of creating business let
while maintaining a clean and professional appearance. It offers predefined sections
for the sender and recipient information, subject, date, header, footer and more.

## [Documentation](https://raw.githubusercontent.com/wiki/Sematre/typst-letter-pro/documentation-v2.1.0.pdf)
## [Documentation](https://raw.githubusercontent.com/wiki/Sematre/typst-letter-pro/documentation-v3.0.0.pdf)

## Example
Text source: [Musterbrief Widerspruch gegen Einkommensteuerbescheid](https://web.archive.org/web/20230927152049/https://www.deutschepost.de/de/b/briefvorlagen/beschwerden.html#Einspruch)
Expand All @@ -21,7 +21,7 @@ Text source: [Musterbrief Widerspruch gegen Einkommensteuerbescheid](https://web

### Code
```typst
#import "@preview/letter-pro:2.1.0": letter-simple
#import "@preview/letter-pro:3.0.0": letter-simple
#set text(lang: "de")
Expand Down Expand Up @@ -76,30 +76,30 @@ Anja Ahlsen
### Preview repository
Import the package in your document:
```typst
#import "@preview/letter-pro:2.1.0": letter-simple
#import "@preview/letter-pro:3.0.0": letter-simple
```

### Local namespace
Download the repository to the local package namespace using Git:
```sh
$ git clone -c advice.detachedHead=false https://github.com/Sematre/typst-letter-pro.git --depth 1 --branch v2.1.0 ~/.local/share/typst/packages/local/letter-pro/2.1.0
$ git clone -c advice.detachedHead=false https://github.com/Sematre/typst-letter-pro.git --depth 1 --branch v3.0.0 ~/.local/share/typst/packages/local/letter-pro/3.0.0
```

Then import the package in your document:
```typst
#import "@local/letter-pro:2.1.0": letter-simple
#import "@local/letter-pro:3.0.0": letter-simple
```

### Manual
Download the ``letter-pro-v2.1.0.typ`` file from the [releases page](https://github.com/Sematre/typst-letter-pro/releases) and place it next to your document file, e.g., using *wget*:
Download the ``letter-pro-v3.0.0.typ`` file from the [releases page](https://github.com/Sematre/typst-letter-pro/releases) and place it next to your document file, e.g., using *wget*:

```sh
$ wget https://github.com/Sematre/typst-letter-pro/releases/download/v2.1.0/letter-pro-v2.1.0.typ
$ wget https://github.com/Sematre/typst-letter-pro/releases/download/v3.0.0/letter-pro-v3.0.0.typ
```

Then import the package in your document:
```typst
#import "letter-pro-v2.1.0.typ": letter-simple
#import "letter-pro-v3.0.0.typ": letter-simple
```

## Contributing
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation.typ
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
hyphenate: false,
)

#let project-version = "2.1.0"
#let project-version = "3.0.0"
#let project-authors = "Sematre and contributors"

#set document(
Expand Down Expand Up @@ -114,7 +114,7 @@ The goal of typst-letter-pro is to simplify the process of creating business let
= Quickstart

```typ
#import "@preview/letter-pro:2.1.0": letter-simple
#import "@preview/letter-pro:3.0.0": letter-simple
#set text(lang: "de")
Expand Down
2 changes: 1 addition & 1 deletion template/src/main.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/letter-pro:2.1.0": letter-simple
#import "@preview/letter-pro:3.0.0": letter-simple

#set text(lang: "de")

Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "letter-pro"
version = "2.1.0"
version = "3.0.0"
entrypoint = "src/lib.typ"
authors = ["Sematre"]
license = "MIT"
Expand Down

0 comments on commit 0bc8f4c

Please sign in to comment.