Replies: 43 comments 1 reply
-
I think perhaps there is an issue with your installation of TeXLive. Perhaps this would be of help: https://tex.stackexchange.com/questions/137428/tlmgr-cannot-setup-tlpdb I'm guessing that you need to run the |
Beta Was this translation helpful? Give feedback.
-
tlmgr: user mode database already set up in
|
Beta Was this translation helpful? Give feedback.
-
I'm not enough of an expert on TeXlive to give too much additional help - it seems like the issue is that we're detecting that the
in your document front matter to instruct us not to use xelatex (note that pdflatex unicode character support is minimal). You also could manually install xelatex using tlmgr and we will use that installed version without problem. |
Beta Was this translation helpful? Give feedback.
-
As for pdflatex:
metadata running pdflatex - 1 updating tlmgr updating existing packages compilation failed- no matching packages Type X to quit or to proceed, Enter file name: l.144 @ifpackageloaded see authoring.log for more information. |
Beta Was this translation helpful? Give feedback.
-
Not looking good! I think until you figure out the underlying with the TeXLive installation, this may not work. Do you know how that TeXLive installation was installed / configured? We do support installation of TeXLive using |
Beta Was this translation helpful? Give feedback.
-
i only know that building works just fine, rendering doesn't. Using bookdown, i can build a nice PDF-file. i don't know exactly how TeXLive was installed / configured. How can i figure it out? Your given command resulted with:
apt nor snap recognize tinytex. |
Beta Was this translation helpful? Give feedback.
-
Currently running into a similar issue. There was some change in the tlmgr repositories:
Quarto detects an existing TexLive installation and thus doesn't want to instll tinytex:
So now I am trying to find all the remnants of the old TexLive installation and remove them. |
Beta Was this translation helpful? Give feedback.
-
Here is what worked for me:
Then |
Beta Was this translation helpful? Give feedback.
-
i also could solve the issue using a similar workaround. This however doesn't answer the question why PDF'ying works with bookdown and doesn't with Quarto without manual interfering into the installation of TinyTex. |
Beta Was this translation helpful? Give feedback.
-
I think the issue is likely that Bookdown doesn't need to install any additional packages to render your PDF and Quarto does. Since TeXLive can't install any new packages, anything that needs a new package and attempts to use I believe that if you add a package requirement to your rmarkdown document (for example tcolorbox, which Quarto uses for callouts), you will find that rendering fails as well.
Until the TexLive installation is able to install new packages, rendering of documents will be dependent upon what packages are available locally / already installed. |
Beta Was this translation helpful? Give feedback.
-
Random sidenote: I just love how the installation guide for TeX Live (https://www.tug.org/texlive/quickinstall.html), which was apparently updated in 2022, features this sentence: "A separate page describes various ways to acquire the software. It boils down to either getting the DVD from a TeX user group (ideally by becoming a member), or downloading in various ways." |
Beta Was this translation helpful? Give feedback.
-
Posting in case helpful: if you are looking for a template repo with a Dockerfile and the appropriate configuration so that things (mostly) 'just work' with Docker + VSCode, you can check out this project: https://github.com/jeremiahpslewis/quarto-reproducible-gh-actions which might save you some of the 'works on my PC' pain of getting latex installed. |
Beta Was this translation helpful? Give feedback.
-
@dragonstyle This has been causing the RSW doc builds to fail for almost a month now as well. Quarto initially recognizes this and skips over an attempt to reinstall it:
...but eventually
It looks very similiar to the errors we debugged a few months ago. I'm trying to figure out the correct way to get it installed in our docker image but keep hitting similar errors. |
Beta Was this translation helpful? Give feedback.
-
If you are running an older version of Quarto you may need to update (there was a texlive update from 2021 to 2022 which required some changes to Quarto to work correctly). @dragonstyle is that your understanding as well? |
Beta Was this translation helpful? Give feedback.
-
It is probably related to this bigger texlive update (https://tug.org/texlive/upgrade.html), which advises to just do a fresh installation. It also states that "You don't need to remove an existing installation.", but I am not sure how true that is. Maybe |
Beta Was this translation helpful? Give feedback.
-
kalmer@test:~/rstudio-projects$
|
Beta Was this translation helpful? Give feedback.
-
Does that symlink point elsewhere? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Ok this is pretty conclusive that we're just very confused trying to find a healthy happy TeX installation. Thx for going through all that! We actually try to detect the TeX installation by see whether we can run the |
Beta Was this translation helpful? Give feedback.
-
If that was a question then yes - pdftex is runnable in the terminal emulator but not in RStudio's console. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I appreciate the follow up- this is obviously very difficult to debug remotely. @piiskop can you please try the following in the terminal:
If those both succeed, can you then try:
I am at a loss for what is going wrong here, we appear to be finding and attempting to use the existing TeXLive installation, and for some packages like |
Beta Was this translation helpful? Give feedback.
-
Both first commands succeeded. Rendering after second removal went also fine even without any attempt to install tcolorbox. |
Beta Was this translation helpful? Give feedback.
-
That seems very unexpected. I have no currently viable explanation for what you're seeing other than there being more than one TeXLive environment on your machine. But this seems to have been conclusively ruled out, so I am not sure what to try to next. Can you confirm that quarto rendering is still not working and the error that you receive is that the package tcolobox.sty can't be found? |
Beta Was this translation helpful? Give feedback.
-
i can't render to PDF as there's no such option. There are only: Render, Render Website and Preview Website. |
Beta Was this translation helpful? Give feedback.
-
hi maybe it helps: on a Debian 11 install (TexLive over repos and quarto via .deb) pdf output does fail as well:
I tried also to install the package 'r-cran-tinytex' from the repos or try the render command as root. No success with that. Using On the other hand |
Beta Was this translation helpful? Give feedback.
-
For @piiskop's problem, it seems to me there are several issues:
I can reproduce @LibrEars's problem on Debian/Ubuntu, if I make a "small" texlive installation with the system package manager, for example if I install
The core problem seems to be: quarto uses tlmgr to install
and even so, I think the So for @LibrEars's issue the proper fix is probably to document that "when using the system texlive, the user must install |
Beta Was this translation helpful? Give feedback.
-
More generally, maybe the right fix would be for quarto to stop using the system tlmgr (at least be default). The Debian/Ubuntu documentation in
This readme also gives a list of potential problems when using the system tlmgr. By default, when using the system texlive quarto could ask the user to install the correct system package for the missing LaTeX package? As I understand, the next version of quarto will manage its own TinyTeX in a way completely isolated from the system? That sounds great and will mostly fix this issue I guess... The documentation can then say something like:
|
Beta Was this translation helpful? Give feedback.
-
Yes. User who still have this issue should really try out the latest prerelease version (https://quarto.org/docs/download/) and reinstall TinyTeX with it. If you are not using TinyTeX, but another distrution, then the constraint still remain: TeX Live should be in PATH for Quarto to found it. |
Beta Was this translation helpful? Give feedback.
-
Quarto documentation now states1:
I would recommend to convert this to a discussion. Footnotes |
Beta Was this translation helpful? Give feedback.
-
Please help, I am really sorry if I am not in the right section: updating tlmgr updating existing packages compilation failed- error For immediate help type H . l.78 \ExplLoaderFileDate{expl3.sty}} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Once i want a file to be rendered to pdf, i get the following error message:
Beta Was this translation helpful? Give feedback.
All reactions