ltx2any icon indicating copy to clipboard operation
ltx2any copied to clipboard

Support magic TeX comments

Open koppor opened this issue 2 years ago • 1 comments

TeXStudio suports [magic comments]:

% !TeX program = lualatex
% !BIB program = biber

When these magic comments are present, lualatex and biber are used as compilers.

In case ltx2any would recognize these, it could be used "seamlessly" as LaTeX build tool without any additional configuration ("knobless use").

koppor avatar Jul 05 '22 17:07 koppor

biber should be chose automagically. 🤔 If not (do you have an MWE?) Biber.do? needs an update. Happy to accept a PR in that case!

Selecting the appropriate TeX program (which I call "engine" here 🫣) from the file sounds reasonable to me; if we can avoid having to specify a CLI flag, I'm all for it! Happy to accept a PR!

reitzig avatar Mar 09 '24 16:03 reitzig