Install LaTeX TU Design on Linux

Moderator: Aktive Fachschaft

jvieten
Moderator
Moderator
Beiträge: 3
Registriert: 11. Jun 2014 14:21

Install LaTeX TU Design on Linux

Beitrag von jvieten »

This manual shows you how to install the LaTeX TU design on Linux operating systems.

Here, the TU design will be installed locally for the user performing the following steps.

At first, you need to install the LaTeX distribution TeX Live along with a few dependencies. As opposed to the TU design that will be installed locally, the TeX Live packages will be installed globally using your Linux distribution's package manager. The following example uses the dnf package manager under the Linux distribution Fedora. Commands and package names can differ on other distributions.

Code: Alles auswählen

sudo dnf install texlive texlive-ptex texlive-mathdesign texlive-titlesec texlive-german texlive-multirow texlive-ly1
Next, download the files belonging to the TU design, either with a browser from the website (http://exp1.fkp.physik.tu-darmstadt.de/tuddesign/) or using wget. Note that access to the files might be restricted to the internal network of the TU Darmstadt.

Code: Alles auswählen

cd ~/Downloads
wget http://exp1.fkp.physik.tu-darmstadt.de/tuddesign/latex/tudfonts-tex/tudfonts-tex_0.0.20090806.zip
wget http://exp1.fkp.physik.tu-darmstadt.de/tuddesign/latex/latex-tuddesign/latex-tuddesign_1.0.20140928.zip
wget http://exp1.fkp.physik.tu-darmstadt.de/tuddesign/latex/latex-tuddesign-thesis/latex-tuddesign-thesis_0.0.20140703.zip
Now, unzip the TU design files.

Code: Alles auswählen

unzip tudfonts-tex_0.0.20090806.zip
unzip latex-tuddesign_1.0.20140928.zip
unzip latex-tuddesign-thesis_0.0.20140703.zip
To prepare the installation of the TU design fonts and to automatically create the right folder for the TU design TeX Live files in your home directory, run updmap.

Code: Alles auswählen

updmap
In the output of updmap, you can spot the path to the config directory. The name of the local TeX Live folder depends on the version of TeX Live and your distribution. It should be something like "~/.cache/texlive/texmf-var", "~/.texlive2015" or ".texmf-var". Substitute this in the following commands appropriately.

Now, copy the TU design from your Downloads folder to the local TeX Live directory.

Code: Alles auswählen

# e.g. if the directory is like .texlive2015
cp -R texmf/* ~/.texlive2015/texmf-var/
After that, enable the TU design fonts with updmap.

Code: Alles auswählen

updmap --enable Map 5ch.map
updmap --enable Map 5fp.map
updmap --enable Map 5sf.map
The TU design should be functional now. The files in your Downloads folder are no longer needed, so you can remove them.

Code: Alles auswählen

rm -Rf tudfonts-tex_0.0.20090806.zip latex-tuddesign_1.0.20140928.zip latex-tuddesign-thesis_0.0.20140703.zip texmf doc

Troubleshooting

Problem:
!pdfTeX error: pdflatex (file md-chr7m): Font md-chr7m at 572 not found
Solution:

Code: Alles auswählen

sudo dnf reinstall texlive-mathdesign
updmap
Problem:
!pdfTeX error: pdflatex (file t1xtt): Font t1xtt at 660 not found
Solution:
Add the line "\usepackage{courier}" to your LaTeX file.


Comments and Questions

For comments, improvements, questions and other things, please open another thread or write a personal message.

Zurück zu „Offtopic“