-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No TeX installation detected when trying to render pdf #2408
Comments
@ericvmai We keep getting some report about similar issues. Can you give us more information :
Thank you. |
quarto check output:
quart tools info tinytex output:
TeX was installed utilizing Yihui's instructions on: https://yihui.org/tinytex/ I'm on Windows OS 11 Pro. Not sure about tlmgr. |
This is probably the issue. Can you open
This is to check if this is found in terminal. I think it will not be found. @dragonstyle this seems to be another case where
|
|
Yes so the issue is that for some reason, Installation was not complet and This leads to Quarto not finding it. Is this possible to uninstall TinyTeX and reinstall using Installation should call |
What method do you suggest for uninstalling TinyTeX? |
if you used |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I'm teaching beginner students (their first R class) and they are having the same issue. What is the best way to help them debug? |
You mean the no TeX installation detected ? We are currently working on improving all this in Quarto so that when TinyTeX is found, it will be used. Currently, Quarto assumes that TeX Live is available by looking at To debug:
So basically, the thing is for now Hope it helps |
We've uninstalled and reinstalled a few times using You're saying in the console run
Is the best next step? |
How was TinyTeX installed in the first place ? Using the tinytex R package ? You can still try to run it yourself. For R users managing with R package:
Not that going to
I am sorry this looks so complex. I am trying to give as much information as I can to help without seeing the real environment and trying to see the real issues. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Count me among the people whose students are having issues with this! I would estimate about 50% of my students were able to get a TeX installation that Quarto could detect using |
I found a work around @AmeliaMN! Have them render an HTML, you can open the HTML in a website and save it as a pdf! They can open in Chrome and hit print and to save to a pdf! |
This comment was marked as resolved.
This comment was marked as resolved.
We have added better detection process for the TinyTeX installation, installed by Quarto or by R with tinytex This currently lives in the pre release for 1.2 that can be downloaded at https://quarto.org/docs/download/ Changes are:
Please do give a try to the pre-release if you still encounter issue with some installation. Thank you everyone for your feedback. This helped us improve ! |
I ran into this issue and it turned out that my /usr/local/bin was not writable. This old tinytex issue resolved it for me. |
I ran into this issue while trying to install quarto and tex into the rstudio image: Dockerfile.
[✓] Checking Quarto installation......OK
Version: 1.2.335
Path: /usr/lib/rstudio-server/bin/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.6
Path: /usr/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
ERROR: PermissionDenied: Permission denied (os error 13), stat '/root/pyvenv.cfg' Do I need python/pip/jupyter for compiling quarto documents with only R chunks? running xelatex - 1
command xelatex not found, attempting install
finding package for xelatex
ERROR: Error executing '/home/rstudio/.TinyTeX/bin/x86_64-linux/tlmgr': No such file or directory (os error 2)
Exited with status 1. Any hints? |
No you don't need Python / Jupyter is you don't need document with Python.
It seems you have a valid installation of LaTeX - See https://quarto.org/docs/output-formats/pdf-engine.html#installing-tex
Please do update to 1.3 Release Candidate available at https://quarto.org/docs/download/ - it should have some fix toward better error message I believe. |
@cderv This was an useful tip given that I was struggling to find the location of tinytex. But FYI it's not documented |
@memeplex are you using the version of Quarto from last year? Be cautious of the date/version. |
1.4.549. It was just a heads up. |
Yes we know. quarto CLI help needs some improvements, especially on some specific commands like this. Thanks for the heads up. |
Discussed in #2406
Originally posted by ericvmai September 12, 2022
I keep trying to render a quarto html and pdf but rstudio tells me: No TeX installation was detected.
But when I enter quarto install tool tinytex then it says it is already installed. When I try to produce a pdf of a different project - I can produce a PDF with no issue. Help!
https://github.com/hdadvisors/chesterfield-market-analysis/tree/quarto-transition
The text was updated successfully, but these errors were encountered: