Changes made for LaTeX.to to the novathesis template Template page: https://latex.to/templates/github/novathesis/ Repository: https://github.com/joaomlourenco/novathesis Commit: dc96fd01211f977668ce39016a5d159616b6787d Author: João M. Lourenço License: LPPL 1.3c, see LICENSE With: Jost fonts from https://github.com/joaomlourenco/novathesis-extras at 0bb13634715e194cdddcc64037339179eede6b1e, SIL OFL 1.1, unchanged With: SDG icons from https://github.com/joaomlourenco/SDGs at 9494e4898714ed9088b9db909ea62a84990e9946, CC0 1.0, unchanged Changes from the original (a/) to this copy (b/): --- a/novathesisFiles/StyFiles/nt-core.sty +++ b/novathesisFiles/StyFiles/nt-core.sty @@ -1,3 +1,4 @@ +% Modified for the LaTeX.to template catalogue, not the original file. The changes are listed in changes.txt. %!TEX root=template.tex %% ---------------------------------------------------------------------------- @@ -1063,14 +1064,7 @@ % Check if using XeLaTeX or LuaLaTeX \ifxeorlua { - % Check if shell escape is enabled (compatible with all engines) - \sys_if_shell_unrestricted:TF - { - \nt_check_fonts:nnnnn { #1 } { #2 } { #3 } { #4 } { #5 } - } - { - \msg_error:nn { ntdownload } { shell-escape-required } - } + \nt_check_fonts:nnnnn { #1 } { #2 } { #3 } { #4 } { #5 } } { \ClassError { novathesis } Why each change was made, in the order of the diff: - novathesisFiles/StyFiles/nt-core.sty: the first line is added. The LaTeX Project Public License asks a changed file to say that it was changed and to point to the list of its changes, which is this file. - novathesisFiles/StyFiles/nt-core.sty: \ntcheckfonts no longer asks for unrestricted shell escape before it looks for the font files. LaTeX.to compiles in TeX Live's restricted mode and downloads nothing, so the Jost fonts the class would fetch are shipped in novathesisFiles/FontStyles/Fonts, where the check finds them. A font file that is missing still stops the compile with the class's own message: its download routine asks for shell escape itself. On your own computer the class works as the repository ships it, and with -shell-escape it downloads what is missing.