welcome: please sign in
location: Diff for "Computer/Latex/FedoraTex"
Differences between revisions 1 and 2
Revision 1 as of 2022-04-20 13:44:15
Size: 1240
Editor: leif
Comment:
Revision 2 as of 2022-04-20 13:56:46
Size: 1240
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
It is a good idea to run {{{/usr/local/bin/update-texmf-local}}} regularly (once a month?) to get any new och updated packages. It is a good idea to run {{{/usr/local/bin/update-texmf-local}}} regularly (once a month?) to get any new and updated packages.

LaTeX setup for Fedora, on machines not maintained by the department

If you are installing LaTeX on a Fedora and want to use department-specific styles and fonts, follow these steps:

  • Install the standard tex packages from your distribution. You may of course choose to install only a selection, but a full installation is about 4.5GB, and a reasonable working selection will be close to 3 GB, so you might just as well go for the full installation, i.e.
    • sudo dnf install texlive-scheme-full
  • The next step is to download and install the department packages.
    • sudo curl -o /usr/local/bin/update-texmf-local http://dist.control.lth.se/public/Texlive/texmf-local/scripts/update-texmf-local
      
      sudo chmod +x /usr/local/bin/update-texmf-local
      
      sudo /usr/local/bin/update-texmf-local

Done. You may do a quick test by copying the directory /usr/share/texmf-local/template/LTHreport (use cp -a) to a test area and then run pdflatex template. This should confirm that everything works as intended.

It is a good idea to run /usr/local/bin/update-texmf-local regularly (once a month?) to get any new and updated packages.

Computer/Latex/FedoraTex (last edited 2022-04-20 13:56:46 by leif)