Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support magic TeX comments #122

Open
koppor opened this issue Jul 5, 2022 · 1 comment
Open

Support magic TeX comments #122

koppor opened this issue Jul 5, 2022 · 1 comment

Comments

@koppor
Copy link
Contributor

koppor commented Jul 5, 2022

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").

@reitzig
Copy link
Owner

reitzig commented Mar 9, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants