Fix libraries
This commit is contained in:
33
lib/latex-common/README.md
Normal file
33
lib/latex-common/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# latex-common
|
||||
|
||||
Repository containing common latex code that can be shared across multiple projects.
|
||||
|
||||
## Usage
|
||||
|
||||
Put
|
||||
|
||||
```latex
|
||||
\input{/path/to/common.tex}
|
||||
```
|
||||
|
||||
in your preamble. See the `examples` folder for usage examples.
|
||||
|
||||
## Build examples
|
||||
|
||||
### Build manually
|
||||
|
||||
```bash
|
||||
$ make
|
||||
```
|
||||
|
||||
### Build using docker
|
||||
|
||||
1. Build docker image
|
||||
```bash
|
||||
$ docker build -f dockerfiles/Dockerfile.alpine . -t latex-common
|
||||
```
|
||||
2. Build examples
|
||||
```bash
|
||||
$ docker run --rm -v $PWD:$PWD -w $PWD -u `id -u`:`id -g` latex-common make
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user