added devbox json
This commit is contained in:
parent
67a2464c77
commit
531424f6ad
15
README.md
15
README.md
|
@ -28,11 +28,22 @@ This project requires the following:
|
|||
- python
|
||||
- pygments (python package for minted)
|
||||
|
||||
## Quick start for Linux/WSL and Devbox
|
||||
In the repository you will find a `devbox.json`. If you have devbox installed you can simply setup a ready to go container by running:
|
||||
```shell
|
||||
devbox shell
|
||||
```
|
||||
then inside the container compile with:
|
||||
```shell
|
||||
latexmk
|
||||
```
|
||||
Alternatively you can launch VSCode/VSCodium inside the devbox and compile with the LaTeX workstation plugin.
|
||||
|
||||
## Files created during build
|
||||
The build process of latexmk will create two folders for storing temporary cache files for faster rebuilds. The primary folder being `.tmp` which will hold every created .aux file. Additionally the resulting pdf file will be located besides main.tex as well as an index file called `main.synctex.gz` used for indexing between main.tex and main.pdf (unused by VSCode, used by Overleaf).
|
||||
|
||||
Build files:
|
||||
- main.pdf
|
||||
- main.synctex.gz
|
||||
- .build/*
|
||||
- .tmp/*
|
||||
- build/*
|
||||
- tmp/*
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"packages": [
|
||||
"texlive.combined.scheme-small",
|
||||
"python311",
|
||||
"python311Packages.pygments"
|
||||
],
|
||||
"nixpkgs": {
|
||||
"commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"
|
||||
}
|
||||
}
|
Reference in New Issue