Setting tectonic (LaTeX compiler) doesn't work
See original GitHub issueSetting tectonic
to the LaTeX build compiler doesn’t work. The extension automatically adds flags to the command it does not recognize and fails.
I also can’t find the part of the extension responsible for setting these flags. Any ideas?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
texmaker - Tectonic under text editors - LaTeX Stack Exchange
I tried to replace xelatex with tectonic in Commands configuration of texmaker... without success!
Read more >Tectonic Typesetting
Tectonic can be used from Github Actions to typeset your documents whenever a change to them is made: setup-tectonic - Use tectonic in...
Read more >tinytex: Helper Functions to Install and Maintain TeX Live, and ...
contains helper functions to compile 'LaTeX' documents, and install missing ... This function only works with LaTeX distributions based on TeX Live, ...
Read more >PDF Engines - Quarto
... engines including pdflatex, xelatex, lualatex, tectonic, and latexmk. ... installation of missing TeX packages will work for TinyTeX and TeX Live, ...
Read more >modern latex with bbedit and tectonic
TexLab gets recognized automatically by BBEdit. Create the following two scripts in BBEdit scripts folder. 01)TeX Compile PDF.scpt. set msg to " ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it would be reasonable to add an escape hatch for a completely user-customizable command sequence. A config for disabling bibtex also sounds like a good idea.
Okay, I have a working prototype on my private git server. Mind you, I call it a working prototype since I’ve only lightly tested it with tectonic, but it’s a simple enough implementation that it should work with most other compilers.
To make this work, I’ve added two additional configuration options (essentially exactly the two configuration options @ian-r-rose mentioned):
c.LatexConfig.manual_cmd_args
. It takes a list of arguments with placeholders for the latex file name ({filename}
), and whether or not synctex should be used ({synctex}
). Using it withtectonic
goes something like this:c.LatexConfig.manual_cmd_args = ['{filename}.tex', '-Z', 'shell-escape']
. Of course,c.LatexConfig.latex_command = 'tectonic'
is still needed.I did these changes as a rush job, and I have no experience developing extensions for JupyterLab whatsoever (I have more experience in python, but I feel most comfortable in slightly lower-level languages). That being said, I’d love to contribute these changes if given the opportunity and approval after some more rigorous testing.