2

Tectonic seems to be a great project.

I am wondering if I can call Tectonic from a text editor (ideally Texmaker or Texstudio)?

If I understand well, Tectonic is a command-line which is quite (not interactive) so not practical when it goes to correct latex errors!

4
  • 1
    surely you can run any command from your editor, why would you not be able to call tectonic? Commented Sep 25, 2022 at 18:41
  • @DavidCarlisle I don't know how to call an external program from Texmaker (for example). I tried to replace xelatex with tectonic in Commands configuration of texmaker...without success!
    – user56980
    Commented Sep 25, 2022 at 19:03
  • Can you say exactly what you did to change the configuration and/or show us the "Commands" and "Quick Build" pages of TeXmaker's config? Can you be more specific about "without success" means: what happened when you tried? I would think that texmaker or texstudio would process the .log file for error reporting and correction, not the console output of the command, so its being "quiet" shouldn't matter.
    – frabjous
    Commented Sep 25, 2022 at 21:14
  • @user56980 Why are the advantages of Tectonic?
    – projetmbc
    Commented Oct 29, 2022 at 16:58

1 Answer 1

5

It is actually quite easy to use tectonic with texmaker. After installing tectonic and texmaker, e.g. on Mac

brew install tectonic
brew install --cask texmaker

you can start texmaker. Then navigate to Preferences->Quick Build and select User. In the text field enter the following command

tectonic %.tex --keep-logs

texmaker preferences

That's it. Now you can compile your document simply starting Quick Build and then View PDF.

See also https://tectonic-typesetting.github.io/book/latest/ref/v1cli.html .

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .