reformat compiling instructions authored by Malin Freeborn's avatar Malin Freeborn
## Linux [[_TOC_]]
# Linux # Linux
...@@ -16,7 +16,7 @@ cd core ...@@ -16,7 +16,7 @@ cd core
make all make all
``` ```
### Debian ## Debian
```bash ```bash
sudo apt install texlive-full inkscape git git-lfs make sudo apt install texlive-full inkscape git git-lfs make
...@@ -28,7 +28,7 @@ cd core ...@@ -28,7 +28,7 @@ cd core
make all make all
``` ```
### Void Linux ## Void Linux
```bash ```bash
sudo xbps-install texlive-most inkscape git git-lfs make texlive-latexmk sudo xbps-install texlive-most inkscape git git-lfs make texlive-latexmk
...@@ -40,7 +40,7 @@ cd core ...@@ -40,7 +40,7 @@ cd core
make all make all
``` ```
### Docker # Docker
You can select any number of books, then compile them via docker. You can select any number of books, then compile them via docker.
Just list the books at the end. Just list the books at the end.
...@@ -50,11 +50,11 @@ books='core stories oneshot' ...@@ -50,11 +50,11 @@ books='core stories oneshot'
docker run -it --rm --name texbooks andonome/texbind gimme $books docker run -it --rm --name texbooks andonome/texbind gimme $books
``` ```
## Windows # Windows
You have two options on Windows: WSL (the built-in Linux), and Cygwin. You have two options on Windows: WSL (the built-in Linux), and Cygwin.
### WSL ## WSL
The 'Windows Subsystem for Linux' virtualises Linux. The 'Windows Subsystem for Linux' virtualises Linux.
...@@ -63,7 +63,7 @@ The 'Windows Subsystem for Linux' virtualises Linux. ...@@ -63,7 +63,7 @@ The 'Windows Subsystem for Linux' virtualises Linux.
1. Open the terminal and access your Windows desktop by typing `cd /mnt/c/Users/$YOURNAME/Desktop` 1. Open the terminal and access your Windows desktop by typing `cd /mnt/c/Users/$YOURNAME/Desktop`
1. Follow the Debian instructions (above). 1. Follow the Debian instructions (above).
### Cygwin ## Cygwin
If you want to replicate a *nix-style workflow on a Windows platform, the following setup may work for you: If you want to replicate a *nix-style workflow on a Windows platform, the following setup may work for you:
...@@ -88,14 +88,13 @@ The above process should build the Core Rulebook. If you wish to execute the bui ...@@ -88,14 +88,13 @@ The above process should build the Core Rulebook. If you wish to execute the bui
+ `cp -R !(config) config/` + `cp -R !(config) config/`
+ `make` + `make`
## MacOS # MacOS
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` # `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`. 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.
If you're not familiar with `git`, there are some setup instructions on the [Basic Git](Basic-Git) page.