Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Disable automatic tlmgr updates in Quarto

+1
−0

Let's assume one has a Quarto document which does not compile because of an error in the latex code, e.g. here a simply typo in a macro name:

---
format:
  pdf
---

test\newlin test

Quarto will first try to compile this document and when it notices the error it will then try to run tlmgr --update to update my texlive installation.

Can this automatic update be switched off?

From within the .qmd file, I can disable them with

---
format:
  pdf:
    latex-auto-install: false
---

test\newlin test

but I'm looking for some command line option or similar, so I don't have to do this for every file separately.

I'm using quarto render test.qmd --debug to compile the file.


I had a look into the Quarto source code and found this promising line https://github.com/quarto-dev/quarto-cli/blob/fdaa357e6d1f8656f741fac02c77d18a44955004/src/command/render/latexmk/quarto-latexmk.ts#L89 but when I tried quarto render test.qmd --no-auto-install I get a message Unknown option --no-auto-install.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+0
−0

I didn't yet find a clean solution, but as a dirty hack one can edit the quarto.js file and change the line

[kLatexAutoInstall]: true,

to

[kLatexAutoInstall]: false,

(this obviously won't survive any updates to Quarto)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »