Open ujtwr opened 4 weeks ago
It seems this bug is similar to the scenario that happened to Chinese https://github.com/quarto-dev/quarto-cli/issues/10291
I believe @TomBener is correct, and we need the analogous fix to https://github.com/quarto-dev/quarto-cli/commit/7b5c2477d12c84a0ddc9ca11e6b492cdac21f616
But, more generally, I subscribe to the "there's only three numbers in software engineering: 0, 1, and infinity" theory. So I don't believe this is only needed for simplified chinese and japanese; other writing systems probably need addressing as well, and we should come up with a more general fix.
So I don't believe this is only needed for simplified chinese and japanese; other writing systems probably need addressing as well, and we should come up with a more general fix.
Totally. We just need a way to know which one needs it or which don't. Or we just need to revert the feature in a way that we don't try to install it automatically and let user do it if there is a real problem.
I'll compare with tinytex R package because we don't have this issue, and probably because we don't try to install automatically a package if we detect this hyphen message in the log file.
there is a list of languages that support hypenation at https://github.com/hyphenation/tex-hyphen/blob/master/data/language-codes/tex-languages.txt
maybe that helps
Definitely helpful ! This can be a good base for us, to only try installing for one of those known packages
Bug description
When rendering this qmd file, an error occurs with the following message. Although it shows a permission issue here, even attempting installation as root fails because the specified LaTeX package does not exist."
Steps to reproduce
Render qmd file bellow:
Expected behavior
No response
Actual behavior
No response
Your environment
RStudio Server: 2024.09.0+375 on Ubuntu 24.04.1 Client: Windows11 + chrome Quarto: 1.5.57 (bundled with RStudio) Latex: texlive2024 (the latest version today)
Quarto check output