Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
feat: Typst instead LaTeX (#62)
Browse files Browse the repository at this point in the history
* fix(typos): rename _typos.toml to .typos.toml

* feat(typst): templating done

fix: fmt

* fix: refactor let stuff into utils.typ

* feat(typst): bibliography style using yml and hayagriva

fix(typst): add typst-live

fix references

fix: fmt

* chore: remove pureminimalistic

* feat(typst): 00-tools

fix tools

* refactor: images

tools

* feat(typst): 03-priors

* refactor: lowercase

* refactor: lowercase

* refactor: images

* feat(typst): 04-bayesian_workflow

* feat(typst): 05-linear_regression

* fix(typst): typstfmt

* ci: pre-commit fixes

* feat(typst): 06-logistic_regression

* fix: some assumptions about linear regression.

* fix(priors): ∈ instead of in

* feat(typst): 07-ordinal_regression

* fix: linear regression fixes

* feat(typst): 02-statistical_distributions

* fix(ordinal regression): remove unused import

* feat(typst): 08-poisson_regression

* fix(typst): normalize all slide entries

* feat(typst): 09-robust_regression

* feat(typst): 10-sparse_regression

* feat(typst): backup_slides

* feat(typst): utils functions

* feat(typst): 13-model_comparison

* feat(typst): remove some tex files

* feat(typst): 11-hierarchical_models

* feat(typst): roman numbering footnotes

* feat(typst): 01-bayesian_statistics

* feat(typst): 12-mcmc

* fix: turing links and stan/turing versions
  • Loading branch information
storopoli authored Dec 28, 2023
1 parent 806944e commit 6da6ecc
Show file tree
Hide file tree
Showing 129 changed files with 63,212 additions and 28,863 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-slides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Cache Nix artifacts
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Nix Flake Check
run: nix flake check -L
- name: Nix pre-commit check
run: nix develop -L . --command bash -c 'pre-commit run --all-files'

- name: Build Slides
run: nix build -L
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-slides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Cache Nix artifacts
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Nix Flake Check
run: nix flake check -L
- name: Nix pre-commit check
run: nix develop -L . --command bash -c 'pre-commit run --all-files'

- name: Build Slides
run: nix build -L
Expand Down
296 changes: 3 additions & 293 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,298 +1,8 @@
### Julia ###
Manifest.toml

### LaTeX ###
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
*.out.ps
### Typst ###
*.pdf

## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Generated if empty string is given at "Please type another file name for output:"
.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Build tool directories for auxiliary files
# latexrun
latex.out/

## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.pre
*.snm
*.vrb

# changes
*.soc

# comment
*.cut

# cprotect
*.cpt

# elsarticle (documentclass of Elsevier journals)
*.spl

# endnotes
*.ent

# fixme
*.lox

# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm

#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.*-glg
*.*-glo
*.*-gls
*.glsdefs
*.lzo
*.lzs

# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist

# gnuplottex
*-gnuplottex-*

# gregoriotex
*.gaux
*.gtex

# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref

# hyperref
*.brf

# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary

# listings
*.lol

# luatexja-ruby
*.ltjruby

# makeidx
*.idx
*.ilg
*.ind

# minitoc
*.maf
*.mlf
*.mlt
*.mtc
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*

# minted
_minted*
*.pyg

# morewrites
*.mw

# nomencl
*.nlg
*.nlo
*.nls

# pax
*.pax

# pdfpcnotes
*.pdfpc

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# scrwfile
*.wrt

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# pdfcomment
*.upa
*.upb

# pythontex
*.pytxcode
pythontex-files-*/

# tcolorbox
*.listing

# thmtools
*.loe

# TikZ & PGF
*.dpth
*.md5
*.auxlock

# todonotes
*.tdo

# vhistory
*.hst
*.ver

# easy-todo
*.lod

# xcolor
*.xcp

# xmpincl
*.xmpi

# xindy
*.xdy

# xypic precompiled matrices and outlines
*.xyc
*.xyd

# endfloat
*.ttt
*.fff

# Latexian
TSWLatexianTemp*

## Editors:
# WinEdt
*.bak
*.sav

# Texpad
.texpadtmp

# LyX
*.lyx~

# Kile
*.backup

# gummi
.*.swp

# KBibTeX
*~[0-9]*

# TeXnicCenter
*.tps

# auto folder when using emacs and auctex
./auto/*
*.el

# expex forward references with \gathertags
*-tags.tex

# standalone packages
*.sta

# Makeindex log files
*.lpz

# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib

### LaTeX Patch ###
# LIPIcs / OASIcs
*.vtc

# glossaries
*.glstex
### pre-commit-hooks.nix ###
.pre-commit-config.yaml
17 changes: 11 additions & 6 deletions _typos.toml → .typos.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[default]
extend-ignore-re = [
# citation keys
"textcite\\{.*\\}",
# citation keys
"@\\w*",
"<\\w*>",
]

[default.extend-words]
Expand All @@ -10,14 +11,18 @@ lik = "lik"
# surnames
Yau = "Yau"

[type.bib]
extend-glob = ["*.bib"]
check-file = false

[type.sty]
extend-glob = ["*.sty"]
check-file = false

[type.gitignore]
extend-glob = [".gitignore"]
check-file = false

[type.svg]
extend-glob = ["*.svg"]
check-file = false

[type.references]
extend-glob = ["references.yml"]
check-file = false
Loading

0 comments on commit 6da6ecc

Please sign in to comment.