From cd752847638947bc87980b0efabb8fcdd8e92031 Mon Sep 17 00:00:00 2001
From: Nicolas Martin <nicolas.martin@sorbonne-universite.fr>
Date: Wed, 2 Feb 2022 12:14:24 +0100
Subject: [PATCH] Fixes for latex font and latemk custom makeindex cmd

---
 doc/latex/global/latexmk.pl   | 2 +-
 doc/latex/global/packages.tex | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/latex/global/latexmk.pl b/doc/latex/global/latexmk.pl
index 62cbcc672..266016dd2 100644
--- a/doc/latex/global/latexmk.pl
+++ b/doc/latex/global/latexmk.pl
@@ -10,7 +10,7 @@ $out_dir            = '../build';
 ## Custom cmds
 set_tex_cmds('-shell-escape -file-line-error -interaction=nonstopmode');
 #set_tex_cmds('-shell-escape -file-line-error');
-$makeindex = 'makeindex %O -s %R.ist -o %D %S';
+$makeindex = "makeindex %O -s ../../global/index.ist -o $out_dir/%D $out_dir/%S";
 ## %D: Destination file (.ind for index)
 ## %O: Options
 ## %R: Root filename (${model}_manual)
diff --git a/doc/latex/global/packages.tex b/doc/latex/global/packages.tex
index 557557e3b..11508d5ed 100644
--- a/doc/latex/global/packages.tex
+++ b/doc/latex/global/packages.tex
@@ -14,7 +14,7 @@
 %% Fonts
 \usepackage{fontspec}
 %% Issue with path to 'FontAwesome.otf'
-\defaultfontfeatures{Path=/usr/local/texlive/2020/texmf-dist/fonts/opentype/public/fontawesome/}
+\defaultfontfeatures{Path=/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/fontawesome/}
 \usepackage{academicons,fontawesome}
 
 %% Formatting
-- 
GitLab