diff --git a/.gitignore b/.gitignore index dd9d1582cc57319489fe0d79fdd9f2d95708ee49..738738c2f5097862b45750a0564935f6cd96cc68 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ old *.slo *.sls .switch-* +images/wide.jpg diff --git a/Makefile b/Makefile index c647007c11ef5630df7d70e2cb4835287fb48654..a65877addb082f5e1b9435bccdf2479b1d546af7 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,18 @@ filename=docs output: ${filename}.pdf ${filename}.pdf: ${filename}.aux bind.sty monsters.sty pdflatex ${filename}.tex -docs.aux: +docs.aux: images/wide.jpg pdflatex --shell-escape docs.tex pdflatex docs.tex docs: docs.aux pdflatex docs.tex test: pdflatex --shell-escape test.tex + +images: + mkdir images +images/wide.jpg: images + magick -size 100x60 xc:skyblue -fill white -stroke black -draw "ellipse 50,30 40,20 45,270" images/wide.jpg all: docs test clean: rm -rf *pdf *.aux *.toc *.acn *.acr *.log *.ptc *.out *.idx *.ist *.alg *.glo svg-inkscape diff --git a/README.md b/README.md index 08a11def7a4fc7a472117c467934e62813b304ae..878c308dcce538f434619826aa42f7f413d82a1c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ These config files make the BIND RPG books look and act the way they do. +# Dependencies + +- `inkscape` +- `make` +- `texlive-most` +- `git-lfs` +- (optional) `imagemagick` + # Usage To make a book, start a git, then do: diff --git a/docs.tex b/docs.tex index 7f14f21fae1dc1e468e0773ae8a33c69c15ca2f5..c50358a1b6cf43c6154f9847a0209bbdc4df7bcc 100644 --- a/docs.tex +++ b/docs.tex @@ -187,7 +187,7 @@ Wider pictures should be placed with \verb"\widePic{s1}", and they will appear o The map function works like \verb"\widePic", but for maps. You can add a list of coordinates, and the names or number-labels to place on those coordinates. -\mapPic[\large]{t}{../config/images/l1}{\Huge Toptown/8/8,Leftown/2/75,2/8/6} +\mapPic[\large]{t}{wide}{\Huge Toptown/8/8,Leftown/2/75,2/8/6} Imagine the shield image is a map to be labelled. We can start by putting `Toptown' at the top.