diff options
Diffstat (limited to 'common/Makefile.common')
-rw-r--r-- | common/Makefile.common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/Makefile.common b/common/Makefile.common index d739a5e..a05db25 100644 --- a/common/Makefile.common +++ b/common/Makefile.common @@ -60,7 +60,11 @@ tmp: # Hack used to identify the path to the shared configuration in latex. tmp/model.tex: | tmp - $(file >$@,\def\commonPath{$(MODEL)/../common/}) + # Transform the path to the model into an absolute path, because this path + # will be used in the lualatex cache to references the fonts, and using + # relative path can cause issues if we need to references the font from + # another location. + $(file >$@,\def\commonPath{$(abspath $(MODEL)/../common/)}) # Generate the latex file from rst tmp/%.tex: %.rst $(INCLUDED_PDF) $(SOURCES) | tmp |