Browse Source

Change latex error to warning

Chris Bradfield 7 years ago
parent
commit
e8f709e650
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -15,7 +15,7 @@ endif
 
 
 # check for latex dependencies
 # check for latex dependencies
 E := $(foreach exec, $(LATEXDEPS),\
 E := $(foreach exec, $(LATEXDEPS),\
-	$(if $(shell which $(exec)), some string,$(error The $(exec) command was not found. Make sure you have LaTeX installed and added to your PATH. If you don't have LaTeX installed, grab it from https://www.latex-project.org/get/)))
+	$(if $(shell which $(exec)), some string,$(warning The $(exec) command was not found: math formulas will not be built. LaTeX is required for math formula support. If you don't have LaTeX installed, grab it from https://www.latex-project.org/get/)))
 
 
 # Internal variables.
 # Internal variables.
 PAPEROPT_a4     = -D latex_paper_size=a4
 PAPEROPT_a4     = -D latex_paper_size=a4