Updating the NTNU templates for LaTeX on Linux

This page describes how you update your Linux computer to have the newest available version of the LaTeX templates for NTNU.

This page only applies to Linux, but there are other instructions for Mac and for Windows.

Desktop or laptop computer installed by Drift

If your Linux computer is a desktop or laptop computer installed by Drift, the LaTeX templates are already OK. You don't need to update anything.

Other computers installed by yourself

If your computer isn't installed by Drift, the LaTeX templates are probably not installed at all, and you will need to install them manually. The local texmf tree can be downloaded from our server with the command:

git clone https://www.math.ntnu.no/git/texmf.git

To determine which directory your local texmf tree should be stored in, run:

kpsewhich -var-value TEXMFHOME

To clone the LaTeX templates directly into this directory in one operation, you can run:

git clone https://www.math.ntnu.no/git/texmf.git $(kpsewhich -var-value TEXMFHOME)

If you have trouble installing the templates, there are a few options to try:

  • Copy the file to your home directory on the server and log on to one of our servers to compile your document there.
  • Contact drift [at] math [dot] ntnu [dot] no for assistance.
2021-09-14, Per Kristian Hove