Replies: 4 comments 2 replies
-
I think this is a tinytex question, not a quarto question. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. I've still searched during the week-end , discover the existence of commands like I've then created a ticket on the TinyTex repo (rstudio/tinytex#426) Have a nice day. |
Beta Was this translation helpful? Give feedback.
-
I am posting back here the answer I gave at tinytex R repo. This question is mainly about using TeX Live in a docker container so that you can render document using Quarto. So this is as much a Quarto question that a tinytex question, as both are using TinyTeX distribution based on TeX Live. Also depending on the document you are trying to render, it could be a Quarto related improvment if some of the missing CTAN package in the install you get by Anyhow, here is my reply on other thread for any future readers:
When you install So if your document requires some specific packages from CTAN that are missing from the install, quarto will try to install them as part of the auto-install feature (https://quarto.org/docs/output-formats/pdf-engine.html#quarto-pdf-engine). And updating is part of the process, also because When using docker with LaTeX, you need to deal with installing everything you need once, or allowing updates indeed. Several option for you:
About manually installing packageSee https://tug.org/texlive/doc/tlmgr.html#install-option...-pkg , Though the error message won't give you the package name but the filename missing, which you need to look for it using > tlmgr search --file --global /fvextra.sty
tlmgr.pl: package repository https://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet/ (verified)
fvextra:
texmf-dist/tex/latex/fvextra/fvextra.sty This tells you that Once you have the list of all the package you need, you can have one call in your dockerfile This is only TeX Live knownledge - nothing Quarto specific. Though, Quarto do that for you through the auto install - if you want to have those install when building, you need to add them in your install. |
Beta Was this translation helpful? Give feedback.
-
Thanks Christophe. Your help was precious, problem solved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello
I'm (trying) to run Quarto from a Docker container. The Docker image has been built right now and the container is up and running.
I was expecting that everything was up-to-date. I mean, I just build the Docker image and one of the instruction is
quarto tool install tinytex
so that one is up-to-dateBut, when running Quarto using my Docker container, using
quarto render /project/input/readme.md --log /tmp/quarto.log --to pdf
, I see the output below.Of course, since it's a container, it has no sense to update packages in my container since once the conversion has been made, the container is removed so, on the next call, boum, update packages again and again ...
Did you know how can avoid this ? I mean : can I "force" Quarto (or another tool) to update every dependencies during the creation of my Docker image or, if not possible, how can I disable packages update ?
Many thanks!!
My output :
Beta Was this translation helpful? Give feedback.
All reactions