浏览代码

Change latex error to warning

Chris Bradfield 8 年之前
父节点
当前提交
e8f709e650
共有 1 个文件被更改,包括 1 次插入1 次删除
  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