This is the GEWIS LaTeX root. This folder was created to allow GEWIS members to easily install all packages neccessary to compile the diverse GEWIS document templates. Currently, of all packages the latest version is installed.
On GEWIS computers these packages are also available, next to the TU/e wide LaTeX packages. Users can also maintain their own packages, but cannot use a different version of a package already included in the TU/e installation. You can maintain separate versions of the packages in the GEWIS repository, but this will most likely break the
Start by cloning this repository on your local machine. For most use cases, the main
branch suffices. You can also download a zip file, but cloning the repository allows for easy updates.
Windows/Linux with desktop environment:
- Clone this repository:
git clone [email protected]:GEWISstijl/texmf.git
orgit clone https://github.com/GEWISstijl/texmf.git
You can also use your favourite git GUI to clone the repository - Open the MikTeX Console
> When installing for all users: Switch to administrator mode - Go to
Settings
>Directories
- Add the
textroot
subfolder as a root in the settings. To guarantee you do not have local (system-wide or user-specific) conflicting versions, you can move it to the top
Windows/Linux (headless): If you did not prepare your MikTeX system, please run the following steps:
miktexsetup finish
- Enable the automatic installation of packages (optional):
initexmf --set-config-value=[MPM]AutoInstall=yes
- Select the closest mirror as your repository:
mpm --pick-repository-url
To set the root, please perform the following steps:
- Clone this repository:
git clone [email protected]:GEWISstijl/texmf.git
orgit clone https://github.com/GEWISstijl/texmf.git
- Set the
texroot
folder as a user root folder:initexmf --user-roots=$HOME/texmf/texroot/
(update the filepath to the location)
If you have any roots configured, you'll have to specify those here as well - Update the filename database to let MikTeX know where all files are located:
initexmf --update-fndb=$HOME/texmf/texroot/
- Upgrade your MikTeX to the latest version and install all packages neccessary for the correct working of LaTeX:
mpm --upgrade --package-level=essential
- Install updated versions of packages:
mpm --update
- Pull the new list of packages from the remote repository URL (this step also checks locally installed packages; that is why it is needed here):
mpm --update-db
- Pull the new version of the repository:
git pull
Usually, updates are automatically processed. If not, you may want to update the filename database