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
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...
Question
Quarto
#5: Post edited
- 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:
- ---
- 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:
- ---
- 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
- 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:
- ---
- 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:
- ---
- 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
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:
- ---
- 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:
- ---
- 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
- 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:
- ---
- 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:
- ---
- 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
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?