Skip to content

Commit

Permalink
Bump version to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sematre committed Apr 2, 2024
1 parent 9921196 commit 85d5a77
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Sematre
Copyright (c) 2023 Sematre and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
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.0.0.pdf)
## [Documentation](https://raw.githubusercontent.com/wiki/Sematre/typst-letter-pro/documentation-v2.1.0.pdf)

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

### Code
```typst
#import "@preview/letter-pro:2.0.0": letter-simple
#import "@preview/letter-pro:2.1.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.0.0": letter-simple
#import "@preview/letter-pro:2.1.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.0.0 ~/.local/share/typst/packages/local/letter-pro/2.0.0
$ 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
```

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

### Manual
Download the ``letter-pro-v2.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*:
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*:

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

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

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

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

#set document(
title: "Documentation for typst-letter-pro (Version " + project-version + ")",
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.0.0": letter-simple
#import "@preview/letter-pro:2.1.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.0.0": letter-simple
#import "@preview/letter-pro:2.1.0": letter-simple

#show: letter-simple.with(
sender: (
Expand Down

0 comments on commit 85d5a77

Please sign in to comment.