wtsnjp / llmk

Light LaTeX Make
https://ctan.org/pkg/llmk
MIT License
110 stars 5 forks source link

Support for !TeX program #12

Closed koppor closed 3 years ago

koppor commented 3 years ago

According to https://tex.stackexchange.com/a/78352/9075, !TeX program is also understood by TeXShop. I have it in use in many documents, e.g., in my template for scientific theses (https://github.com/latextemplates/scientific-thesis-template/blob/main/main-english.tex).

Would it be possible to add support for !TeX program in addition to !TeX TS-program?

% !TeX spellcheck = de-DE
% !TeX encoding = utf8
% !TeX program = pdflatex
% !BIB program = bibtex
% -*- coding:utf-8 mod:LaTeX -*-
wtsnjp commented 3 years ago

The syntax of !TEX program is already supported (cf. Section 4.1 of the reference manual.)

Screen Shot 2021-08-18 at 17 20 49

But, I didn't know TeX can be not entirely capitalized. Does TeXShop recognize the directive case-insensitively?

koppor commented 3 years ago

Thank you - I think, I mixed up some files when experimenting with llmk.

koppor commented 3 years ago

I closed too early, sorry. I was fully aware that !TEX is supported. I requested support for !TeX.

But, I didn't know TeX can be not entirely capitalized.

I am using TeXStudio - and it says !TeX:

grafik

Source: http://transit.iut2.upmf-grenoble.fr/doc/texstudio/html/usermanual_en.html#TEXCOM

Does TeXShop recognize the directive case-insensitively?

I do not own a Mac, so I cannot test. My first aim is to support TeXStudio 😇 .

wtsnjp commented 3 years ago

I've just made a change to allow %!TeX program to support the magic comment mentioned in the TeXStudio document.

koppor commented 3 years ago

Thank you! Can't wait for a new release!