Skip to content

Local Setup

In order to contribute, you'll need a LaTeX distribution, Inkscape ang git. Please read the instructions for your operating system.

Install required software

Windows

Download and install the following:

  • MiKTeX - a LaTeX distribution for Windows

  • Inkscape - while installing on Windows, make sure to tick Add Inkscape to the System Path option

  • git to commit files to the repository

GitHub Account

If you don't have an account on GitHub, please create one now.

Fork and clone the repository

In the Mission Book's GitHub repository, click "Fork":

fork

Go to your repositories in GitHub, open the forked Mission Book repository, click the green "Code" button, and copy the clone URL:

fork

Open the git program you installed. Run this command:

git clone <copied_url>

A new directory titled Homm3bg-mission-book should appear now in your file explorer.

Building the project

In the directory, find main_en.tex file and open it in TeXstudio.

Use these instructions to add --shell-escape option to your build process. Once done, press the "Play" button in TeXstudio. After a while, the PDF file should open.

MacOS

You can install everything using Homebrew:

brew install mactex inkscape poppler po4a

Fork the repository and clone it. To build the project, it's best to use the script:

tools/build.sh en

Linux

Install a texlive distribution, inkscape, and pdftoppm using your package manager. If you're not on Ubuntu, you could also install po4a.

Fork and clone the repo. Build the project using the script:

tools/build.sh en