refactor
This commit is contained in:
parent
207933c534
commit
b4a76500b6
20 changed files with 23 additions and 1064 deletions
60
README.md
60
README.md
|
|
@ -2,50 +2,28 @@
|
|||
|
||||
Adapted from Ernesto Martínez García's [definitely-not-isec-slides](https://typst.app/universe/package/definitely-not-isec-slides).
|
||||
|
||||
Quickstart (CLI):
|
||||

|
||||
|
||||
```sh
|
||||
typst init @preview/definitely-not-kfu-slides:1.0.1 slides
|
||||
## Installation (Linux only)
|
||||
|
||||
#### Using `typship`
|
||||
|
||||
```bash
|
||||
typship download -n local https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template
|
||||
```
|
||||
|
||||
Quickstart (WebIDE):
|
||||
#### Manually
|
||||
|
||||
- [Create Document](https://typst.app/app?template=definitely-not-kfu-slides&version=1.0.1)
|
||||
- [Homepage](https://typst.app/universe/package/definitely-not-kfu-slides)
|
||||
```bash
|
||||
mkdir -p ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
||||
cd ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
||||
curl https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template/archive/v1.0.1.tar.gz | tar zx --xform 's/definitely-not-kfu-slides/1.0.1/'
|
||||
```
|
||||
|
||||
## Quickstart (CLI):
|
||||
|
||||
```sh
|
||||
typst init @local/definitely-not-kfu-slides:1.0.1 slides
|
||||
```
|
||||
|
||||
Tested typst version: `0.14.0`.
|
||||
|
||||
## Typst
|
||||
|
||||
### What's Typst?
|
||||
|
||||
A modern typesetting system which has:
|
||||
|
||||
- Milisecond incremental (memoized) builds¹
|
||||
- Subsecond full builds¹
|
||||
- Multithreaded builds per pagebreak
|
||||
- Easy rustc-like compiler error messages (and no intermediates!)
|
||||
- Transparent multiple compiler passes (no more mklatex/makefiles)
|
||||
- Simple & powerful scripting and syntax
|
||||
- WebAssembly plugin support (python/js interpreters in your thesis? Sure)
|
||||
|
||||
Migrating from LaTeX? Check the [migration guide](https://typst.app/docs/guides/guide-for-latex-users/)
|
||||
|
||||
¹: This is obviously not a serious benchmark and depends on the document. But
|
||||
it's fast trust me
|
||||
|
||||
### Quick usage
|
||||
|
||||
Start incremental compilations with:
|
||||
|
||||
```sh
|
||||
typst watch slides.typ
|
||||
```
|
||||
|
||||
then open the generated PDF:
|
||||
|
||||
```sh
|
||||
xdg-open slides.typ
|
||||
```
|
||||
|
||||
Now edit `slides.typ` and it will be incrementally built in each save.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue