-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
tinytex installation pain on Mac #92
Comments
I just ran find / -type d -name texmf 2> /dev/null
find / -type d -name '*texlive*' 2> /dev/null |
No luck. I ran those two commands in Terminal, and they did catch a few directories: Then I ran I really appreciate your help trying to troubleshoot this! Do you have any other suggestions for me? |
Still spinning wheels here--I've walked line-by-line through the tinytex shell scripts, but haven't gotten anywhere: fmtutil-sys can't see the .ini files, though I don't know why it wouldn't. Anyway, coming from another angle, I've noticed though that after running |
What is your |
and so does a Terminal tab |
How about |
That returns nothing in R or a Terminal tab but returns |
And |
OMG thanks so much for patiently walking me through all of that: I'd had an old TEXINPUT in my .Renviron that was messing everything up. After deleting that line, the Knit button works perfectly. 😳😭 |
Glad to hear that! I just added a message in |
I know you've heard it before, but I also know it doesn't really get old, so: you rock! Thanks again for your help and all of your contributions to making R great |
I met a similar issue on RStudio sever. But Sys.getenv('TEXINPUT')) is empty. I'm not sure should I add floor here.
Downloading install-tl-unx.tar.gz to /tmp ... 2020-04-13 10:03:02 (4.30 MB/s) - ‘install-tl-unx.tar.gz’ saved [3950836/3950836] 2020-04-13 10:03:02 (15.7 MB/s) - ‘tinytex.profile’ saved [183/183] Automated TeX Live installation using profile: ../tinytex.profile Logfile: ./install-tl.log tlmgr: An error has occurred. See above messages. Exiting. tlmgr: package log updated: /tmp/texlive/texmf-var/web2c/tlmgr.log @currdir set to: ./. Assuming \openin and \input Defining UNIX/DOS style filename parser. catcodes, registers, parameters, Local config file fonttext.cfg used Beginning to dump on file latex.fmt running fmtutil-sys --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --byhyphen "/PHShome/user**/.TinyTeX/texmf-var/tex/generic/config/language.def" ...
|
@guocg09 What's exactly the problem that you ran into? You only showed the installation log, but I don't know what problem you were trying to solve (failing to compile R Markdown?). |
@yihui When installing the tinyTex, it showed "tlmgr: An error has occurred". And I can't export pdf file and said no tlmgr. But sometimes it works. I just try to reinstall it and tested to esport pdf. It worked again. But the error during installation is still there. Thanks. |
@guocg09 not sure if this is the cause of your problem, but I see in your log the following:
I've faced this problem recently since reinstalling TinyTeX after TeXLive 2020 was released. Eventually I found that for some reason the
@yihui any ideas why |
@zzamboni It was a TeX Live bug that has been fixed: https://github.com/yihui/tinytex/issues?q=is%3Aissue+luahbtex+ It should work now if you install or reinstall TinyTeX. |
@yihui thanks! I just uninstalled/reinstalled TinyTeX and can confirm everything seems to work now. |
I am running into issues on Mac while trying to compile a Rmarkdown LaTeX snippet as well:
Here are my diagnostics:
|
I'm struggling to get tinytex up and running on my Mac. I'd previously installed TeX Live 2018, but RStudio's knit button didn't work for me with that either, so I've done my best to get rid of it and start fresh with tinytex. Neither CRAN or the GitHub version have worked for me.
My problem isn't #24 (sadly)--instead,
tinytex::install_tinytex()
warns it cannot find various ini files and tlmgr errors out (see below).tinytex:::is_tinytex()
nevertheless returnsTRUE
, but knitting a default test.Rmd gets meError: Failed to compile test.tex.
Any ideas? I feel like I must be missing something obvious, but I just can't find it.
The text was updated successfully, but these errors were encountered: