From 6fdc33026732e01d8e68c5976bdc480c95c7be85 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 14 May 2023 03:50:49 +0200
Subject: [PATCH] create test image for docs

---
 .gitignore | 1 +
 Makefile   | 7 ++++++-
 README.md  | 8 ++++++++
 docs.tex   | 2 +-
 4 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index dd9d1582..738738c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,3 +36,4 @@ old
 *.slo
 *.sls
 .switch-*
+images/wide.jpg
diff --git a/Makefile b/Makefile
index c647007c..a65877ad 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 08a11def..878c308d 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 7f14f21f..c50358a1 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.
-- 
GitLab