diff --git a/BIND_ref.tex b/BIND_ref.tex deleted file mode 100644 index a8b9b04d4cb2383c51084e96f7626cac5de23962..0000000000000000000000000000000000000000 --- a/BIND_ref.tex +++ /dev/null @@ -1,58 +0,0 @@ -\documentclass[a5paper,openany]{book} -\title{BIND} -\date{} - -\usepackage{config/bind} -\input{cs/commands.tex} -\input{charts.tex} - -\hypersetup{pdfinfo={ -Title={BIND}, -Author={Ghost}, -Subject={TTRPG}, -Keywords={TTRPG,RPG,roleplaying,reference} -}} - -\settoggle{verbose}{false} - -\externalReferent{aif} - -\input{glossary.tex} - -\begin{document} - -\pagenumbering{gobble} - -\tableofcontents - -\mainmatter - -\footnotesize - -\include{cc.tex} - -\include{rules.tex} - -\include{combat.tex} - -\include{knacks.tex} - -\include{magic.tex} - -\include{spheres.tex} - -\include{stories.tex} - -\include{codes.tex} - -\include{appendix.tex} - -\settoggle{sideTab}{false} - -\printacronyms[style=mcolindex, title=Abbreviations, nonumberlist] - -\printglossary[style=mcolindex] - -\printindex - -\end{document} diff --git a/Makefile b/Makefile index f7c270c6c0d6caf69e21320a921b05818c730601..ad861876da065c14a151ef1fbf5afb84b7d12c91 100644 --- a/Makefile +++ b/Makefile @@ -12,20 +12,19 @@ svg-inkscape/logo_svg-tex.pdf: config/bind.sty images/ pdflatex -shell-escape main.tex pdflatex main.tex pdflatex main.tex - config/bind.sty: git submodule update --init ref: BIND_ref.pdf -BIND_ref.pdf: $(wildcard *tex) story BIND_ref.aux +BIND_ref.pdf: $(wildcard *tex) BIND_ref.aux makeglossaries BIND_ref - pdflatex BIND_ref.tex + pdflatex -jobname BIND_ref main.tex BIND_ref.aux: svg-inkscape - pdflatex BIND_ref.tex - pdflatex BIND_ref.tex + pdflatex -jobname BIND_ref main.tex + pdflatex -jobname BIND_ref main.tex svg-inkscape: - pdflatex -shell-escape BIND_ref.tex - pdflatex BIND_ref.tex + pdflatex -shell-escape -jobname BIND_ref main.tex + pdflatex -jobname BIND_ref main.tex resources: resources.pdf resources.pdf: main.aux $(wildcard CS/*tex) diff --git a/main.tex b/main.tex index f2a70250ba8740b8bb426f655f24eba84a0280c2..6bbf417e86ad294a3b8e69ca0627486c8ac6b7bb 100644 --- a/main.tex +++ b/main.tex @@ -13,10 +13,16 @@ Subject={TTRPG}, Keywords={TTRPG,RPG,roleplaying} }} -\settoggle{verbose}{true} +\ifStrSame{\jobname}{BIND_ref}% + {\settoggle{verbose}{false}} + {\settoggle{verbose}{true}} \externalReferent{aif} +\iftoggle{verbose}{}{ + \geometry{a5paper} +} + \input{glossary.tex} \iftoggle{aif}{ \input{../aif/glossary.tex} @@ -34,7 +40,9 @@ Keywords={TTRPG,RPG,roleplaying} \frontmatter -\include{intro.tex} +\iftoggle{verbose}{ + \include{intro.tex} +}{} \iftoggle{aif}{ \section*{Monsters \& Malthus} @@ -61,16 +69,20 @@ Keywords={TTRPG,RPG,roleplaying} \include{spheres.tex} -\include{races.tex} +\iftoggle{verbose}{ + \include{races.tex} -\include{gm.tex} + \include{gm.tex} +}{} \input{appendix.tex} -\include{cs/reset_cs.tex} +\iftoggle{verbose}{ + \include{cs/reset_cs.tex} -\include{cs/GS.tex} + \include{cs/GS.tex} -\include{cs/CS.tex} + \include{cs/CS.tex} +}{} \end{document} diff --git a/rules.tex b/rules.tex index bbc362a9c7660267a7a2075eb2ea0e4cf56190e2..25d668000df2d5f93f63662aaa230e89686a7007 100644 --- a/rules.tex +++ b/rules.tex @@ -359,8 +359,8 @@ Prices for weapons are placed next to the weapon in chapter \ref{combat}, page \ Lavish clothes & -5 & 3 \gls{gp} \\ - Warm clothes & -3 & 5 \gls{sp} \\ \label{warmClothes} + Warm clothes & -3 & 5 \gls{sp} \\ \end{boxtable}