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.

Post History

60%
+1 −0
Q&A Disable automatic tlmgr updates in Quarto

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

1 answer  ·  posted 1y ago by samcarter‭  ·  last activity 7mo ago by samcarter‭

Question Quarto
#5: Post edited by user avatar samcarter‭ · 2023-03-22T12:22:32Z (about 1 year ago)
  • 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.
  • 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.`
#4: Post edited by user avatar samcarter‭ · 2023-03-22T11:54:49Z (about 1 year ago)
  • 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, so I don't have to do this for every file separately.
  • 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.
#3: Post edited by user avatar samcarter‭ · 2023-03-22T11:49:35Z (about 1 year ago)
  • 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 the 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, so I don't have to do this for every file separately.
  • 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, so I don't have to do this for every file separately.
#2: Post edited by user avatar samcarter‭ · 2023-03-22T11:46:19Z (about 1 year ago)
  • 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 the 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?
  • 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 the 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, so I don't have to do this for every file separately.
#1: Initial revision by user avatar samcarter‭ · 2023-03-22T11:25:51Z (about 1 year ago)
Disable automatic tlmgr updates in Quarto
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 the 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?