@@ -15,7 +15,7 @@ func main() {
1515 equationDirectory := flag .String ("eqdir" , "equations" , "directory to output equations" )
1616 inputUrl := flag .String ("inurl" , "eqn://" , "input webtex URL prefix" )
1717 outputUrl := flag .String ("outurl" , "equations" , "image src root" )
18- engine := flag .String ("engine" , "lualatex" , "TeX engine" )
18+ engine := flag .String ("engine" , "lualatex* " , "TeX engine" )
1919 templateFilename := flag .String ("template" , "" , "TeX template file" )
2020 onlyInner := flag .Bool ("innerhtml" , false , "export only inner HTML of the result (without <html><body> tags)" )
2121 version := flag .Bool ("version" , false , "prints current roxy version" )
@@ -52,6 +52,14 @@ func main() {
5252 config .OutputURL = * outputUrl
5353 config .OnlyInnerHTML = * onlyInner
5454
55+ if * engine == "lualatex*" {
56+ * engine = "lualatex"
57+ log .Println ("-------------------------------------------------------------------------" )
58+ log .Println ("The default engine will change in a future release of WebTeX Render" )
59+ log .Println ("if you want to continue using 'lualatex', please specify -engine lualatex" )
60+ log .Println ("in the command line arguments." )
61+ log .Println ("-------------------------------------------------------------------------" )
62+ }
5563 config .Engine , err = webtex_api .GetEngine (* engine )
5664 if err != nil {
5765 panic (err )
0 commit comments