prep work

master
Arthur Grisel-Davy 2 years ago
parent 3b3f7ea49f
commit 57f11d7cb1

11
.gitignore vendored

@ -0,0 +1,11 @@
# Latex files
*.dvi
*.fls
*.out
*.aux
*.fdb_latexmk
*.log
*.pdf
# vim swap file
*.swp

@ -6,5 +6,25 @@ wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh
```
packages:
```tlmgr install `cat requirements.txt` ```
```
tlmgr install `cat requirements.txt`
```
## Usage:
Save `.svg` files from latex and convert them before compiling the document with
```
inkscape -D -z file=images/plop.svg export-pdf=images/image.pdf --export-latex
```
For converting all hte figures:
```
find images/. -name "*.svg" -exec inkscape -D -z file=images/{} --export-latex \;
```
Include the figure in hte document with
```
\begin{figure}
\centering
\def\svgwidth{\columnwidth}
\input{image.pdf_tex}
\end{figure}
```

Loading…
Cancel
Save