Skip to content

Commit

Permalink
Tweak forest drawing to work better with newer lualatex
Browse files Browse the repository at this point in the history
  • Loading branch information
DMRobertson committed Aug 27, 2018
1 parent db76b04 commit 98935d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion thompson/drawing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def forest(aut, jobname=None, display=True, scale=1, **kwargs):
check_call(['lualatex',
'-output-directory=' + outdir,
'-interaction=batchmode',
'-no-shell-escape',
'--halt-on-error',
tex
])

Expand Down
3 changes: 2 additions & 1 deletion thompson/drawing/forest_diagram.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% if standalone %}
\RequirePackage{luatex85}
\documentclass[tikz]{standalone}
\usetikzlibrary{graphs, graphdrawing, positioning, calc, backgrounds}
\usegdlibrary{trees}
Expand Down Expand Up @@ -106,4 +107,4 @@
\end{tikzpicture}
{% if standalone %}
\end{document}
{% endif %}
{% endif %}

0 comments on commit 98935d2

Please sign in to comment.