Debian Codegraph @

texmf-dist/doc/latex/wargame/tutorial/README.md

raw
1 # Tutorial on how to use the `wargame` package
2
3 This directory contains a tutorial on how to use the `wargame` package
4 to make a hex'n'counter (Print'n'Play) wargame.
5
6 It also contains information on how to make a VASSAL module from a
7 game.
8
9 ## The PDF and VASSAL module
10 -
11 [PDF](https://gitlab.com/wargames_tex/wargame_tex/-/jobs/artifacts/master/file/public/doc/latex/wargame/tutorial.pdf?job=dist)
12 - [VASSAL
13 module](https://gitlab.com/wargames_tex/wargame_tex/-/jobs/artifacts/master/file/public/doc/latex/wargame/Game.vmod?job=dist)
14
15 ## Content
16
17 - [`game.tex`](game.tex) The tutorial and game
18 - [`game.sty`](game.sty) Package defining most stuff for the game
19 - [`export.tex`](export.tex) Export graphics to VASSAL
20 - [`patch.py`](patch.py) Patch VASSAL module
21
22 ## How to build
23
24 To build the tutorial, simple do
25
26 pdflatex game
27 pdflatex game
28
29 Alternatively, if you use some sort of LaTeX Integrated Development
30 Environment (IDE), load [`game.tex`](game.tex) into your IDE and run
31 LaTeX from there.
32
33 To build the VASSAL module, simply do
34
35 pdflatex export.tex
36 `kpsewhich wgexport.py` export.pdf export.json -o Game.vmod \
37 -d "Example module from LaTeX PnP game" \
38 -t "LaTeX wargame tutorial" -v 0.1 \
39 -p patch.py
40
41