[texworks] Documentation suggestion:

Duncan Murdoch murdoch.duncan at gmail.com
Tue Mar 14 15:22:22 CET 2023


Section 5.2 of the "Short Manual" docs says:

" If we want to compile a file with another programme than the default 
TEX or LATEX, we put at the beginning of the file:

   % !TeX program = "

This was causing me some trouble, because I have a custom script (named 
"JSWeave"), and other programs don't recognize JSweave as a valid tex 
program.  So I was going to suggest that

   % !TeX TW-program = JSWeave

was supported, and lo and behold, it worked!

So now I'm suggesting that the docs be changed to mention this.

(It's possible that it doesn't work and I was just fooled by TW 
remembering the tool I used last time.  But I'm pretty sure TW-program 
is supported.)

Duncan Murdoch


More information about the texworks mailing list.