update installation instructions authored by Malin Freeborn's avatar Malin Freeborn
...@@ -5,39 +5,80 @@ ...@@ -5,39 +5,80 @@
## Arch Linux ## Arch Linux
```bash ```bash
sudo pacman -S inkscape make git git-lfs texlive-binextra texlive-latexextra texlive-fontsrecommended texlive-fontsextra one='inkscape make git git-lfs cups-filters psutils imagemagick'
two='texlive-binextra texlive-latexextra texlive-fontsrecommended'
three='texlive-fontsextra texlive-luatex biber texlive-plaingeneric'
four='texlive-bibtexextra'
sudo pacman -S $one $two $three
git lfs install git lfs install
source /etc/profile
git clone https://gitlab.com/bindrpg/core.git git clone https://gitlab.com/bindrpg/core.git
cd core make -C core all
make all
``` ```
## Debian ## Void Linux
```bash ```sh
sudo apt install texlive-full inkscape git git-lfs make assumed='tar'
one='inkscape git git-lfs make ImageMagick'
two='cups-filters psutils'
three='texlive-bin texlive-latexmk'
git clone https://gitlab.com/bindrpg/core.git sudo xbps-install $one $two $three
source /etc/profile/
cd core git clone https://gitlab.com/bindrpg/aif.git
make all make -C aif all
``` ```
## Void Linux ### Troubleshooting
- Uninstall everything related to TeX except for the packages above.
- Possibly use `xbps-reconfigure`.
- Log out and in, then source the profile again.
- Check `/opt/texlive/2025/bin/tlmgr` exists.
## `tlmgr`
If you want to install just the LaTeX packages you'll need with `tlmgr`, clone the [config repo](https://gitlab.com/bindrpg/config), and run `./Docker/tlmgrDeps.sh`.
Run the [tlmgrDeps.sh](https://gitlab.com/bindrpg/config/-/blob/master/Docker/tlmgrDeps.sh?ref_type=heads) script.
## Debian
Debian's texlive installation does not work because it is too old (as usual).
A `tlmgr` installation should work fine (see above).
If it ever updates beyond 2022, it should work like this:
```bash ```bash
sudo xbps-install texlive-most inkscape git git-lfs make texlive-latexmk one='cups-filters psutils'
two='texlive-full inkscape git git-lfs make imagemagick'
apt update
sudo apt install $one $two
git lfs install
git clone https://gitlab.com/bindrpg/core.git git clone https://gitlab.com/bindrpg/core.git
cd core make -C core all
```
## Other
Install `make`, `git-lfs` and `git`, then use the in-built dependency check.
make all ```sh
git lfs install
git clone https://gitlab.com/bindrpg/config.git
make -C config check
``` ```
# Docker # Docker
...@@ -47,7 +88,8 @@ Just list the books at the end. ...@@ -47,7 +88,8 @@ Just list the books at the end.
```bash ```bash
books='core stories oneshot' books='core stories oneshot'
docker run -it --rm --name texbooks andonome/texbind gimme $books image='registry.gitlab.com/bindrpg/config:latest'
docker run -it --rm --name texbooks "$image" gimme $books
``` ```
# Windows # Windows
...@@ -92,9 +134,3 @@ The above process should build the Core Rulebook. If you wish to execute the bui ...@@ -92,9 +134,3 @@ The above process should build the Core Rulebook. If you wish to execute the bui
I don't have a Mac to test on, but this will probably work with `homebrew`. I don't have a Mac to test on, but this will probably work with `homebrew`.
# `tlmgr`
If you want to install just the LaTeX packages you'll need with `tlmgr`, clone the [config repo](https://gitlab.com/bindrpg/config), and run `./Docker/tlmgrDeps.sh`.
Run the [tlmgr.sh](https://gitlab.com/bindrpg/config/-/blob/master/Docker/tlmgrDeps.sh?ref_type=heads) script.