From f0fcdfbc09f29e3c3f562e3dd5c55db3327e444f Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Sat, 22 Jul 2023 20:57:33 +0100 Subject: [PATCH] asy, sync with latexcgi --- assets/scripts/runlatex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/runlatex.js b/assets/scripts/runlatex.js index 5bd2d55a..b26492a9 100644 --- a/assets/scripts/runlatex.js +++ b/assets/scripts/runlatex.js @@ -62,7 +62,7 @@ var editors=[]; const noeditregex = /^\s*[/%#\*]+ *!TEX.*[^a-zA-Z]noedit *(\n|$)/i; const norunregex = /^\s*([/%#\*]+ *!TEX.*[^a-zA-Z]none *|[^% \t\\][^\\]*)(\n|$)/i; const commentregex = / %.*/; -const engineregex = /% *!TEX.*[^a-zA-Z](((pdf|xe|lua|u?p)?latex(-dev)?)|context|(pdf|xe|lua|[ou]?p)?tex) *\n/i; +const engineregex = /% *!TEX.*[^a-zA-Z](((pdf|xe|lua|u?p)?latex(-dev)?)|asy|context|(pdf|xe|lua|[ou]?p)?tex) *\n/i; const returnregex = /% *!TEX.*[^a-zA-Z](pdfjs|pdf|log|make4ht|latexml|lwarp) *\n/i; const bibregex = /% *!TEX.*[^a-zA-Z](p?bibtex8?|biber) *\n/i; const makeglossariesregex = /% *!TEX.*[^a-zA-Z](makeglossaries(-light)?) *\n/i;