Skip to content

Commit d7e2a3b

Browse files
committed
check for local latexml
1 parent 68adc41 commit d7e2a3b

File tree

4 files changed

+12
-43
lines changed

4 files changed

+12
-43
lines changed

lab/boolprob/boolprob.tex

Lines changed: 0 additions & 20 deletions
This file was deleted.

lab/leftColor/leftColor.tex

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
\listfiles
12
\documentclass{article}
23
\usepackage{tikz}
34
\begin{document}
4-
%\tikz{\shadedraw[color=brown](0,0)--++(0,20pt)--++(20pt,0)--++(0,-20pt)--cycle;} % recursion error and 3 undefined macros
5-
\tikz{\draw[fill=brown](0,0)circle(1);}
6-
\tikz{\draw[{fill}=brown](0,0)--++(0,20pt)--++(20pt,0)%--++(0,-20pt)
7-
--cycle;} % causes Fatal Illegal division by zero
5+
\tikz{\shadedraw[color=brown](0,0)--++(0,20pt)--++(20pt,0)--++(0,-20pt)--cycle;} % recursion error and 3 undefined macros
6+
%\tikz{\draw[left color=brown](0,0)--++(0,20pt)--++(20pt,0)--++(0,-20pt)--cycle;} % causes Fatal Illegal division by zero
7+
\tikz{\shadedraw[{left color}=brown](0,0)--++(0,20pt)--++(20pt,0)--++(0,-20pt)--cycle;} % causes Fatal Illegal division by zero
8+
%\tikz{\draw[fill=brown](0,0)circle(1);}
9+
%\tikz{\draw[{fill}=brown](0,0)--++(0,20pt)--++(20pt,0)%--++(0,-20pt)
10+
%--cycle;} % causes Fatal Illegal division by zero
11+
%\tikz{\draw[left color=brown](0,0)circle(1);}
812
\end{document}

lab/pages/pages.tex

Lines changed: 0 additions & 16 deletions
This file was deleted.

make.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,10 @@ def getsuffix(args):
317317
return newsuffix
318318

319319
def getlatexmlbin(exe):
320-
if platform.mac_ver()[0]:
321-
return os.path.join('..','LaTeXML','bin',exe)
322-
if platform.win32_ver()[0]:
320+
locallatexml = os.path.join('..','LaTeXML','bin',exe)
321+
if os.path.isfile(locallatexml):
322+
return locallatexml
323+
else:
323324
return exe
324325

325326
def getlatexmlcommandline(base='Calculus'):

0 commit comments

Comments
 (0)