-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Corporate Computer Install issue - warning: kpathsea: Unrecognized variable construct `$/' #150
Comments
I guess I won't be able to help with this issue (it is beyond my capability when Someone else asked the similar question on SO: https://stackoverflow.com/q/57777988/559676 Before you try to install TinyTeX to a different location, be sure to remove the old copy first: |
Ok, thanks anyways for the response. If I figure something out I will post it here. |
I know this issue has now been closed, but it seems it was closed without a resolution. I think I've figured out the problem Basically, kpathsea is searching everywhere in your system for the needed packages. This means it's trying to search in directories that it can't read properly (because of the
When searching, kpathsea replaces the I replaced anywhere that had a Hope this helps anybody having this issue and provides some help for developers on how to maybe stop this problem in the future. |
…be the default ~/.texlive2019/...); this may be the actual fix to #150
@MyKo101 That's very helpful. Thanks for the diagnosis and information! With your help, I think I have managed to fix this issue in the install the development version: remotes::install_github('yihui/tinytex') It will be great if you and/or @mr-illington could try it (restart R after installing the dev version, then |
Hi Yihui,
Thanks for your support with this great package. I am having a similar although different issue to what is discussed later on in #103.
After installing TinyTex through RStudio and rebooting I do get tinytex:::is_tinytex(TRUE). Upon Kniting my first document (a bookdown/thesisdown thesis template) TinyTex attempts to install a few missing packages, but is repeatedly met with:
It seems to work through the download of the missing packages in terms of fetching the content, but after the 5 or so missing Latex packages are staged it throws a bunch of errors related to the dollar sign ($) in the path.
I know TinyTex can be installed to a different location, but on trying this, it continued to look at the old one (from path environment variable) to download/update the missing packages.
I still would like to move the TinyTex install and the whatever tells R and pandoc bookdown etc. to point to it to another location and try again, but so far my attempts to do this with tmlgr commands have been unsuccessful, specifically in being able to change (tinytex::tlmgr_path()) which I think might be the problem (although I'm not sure).
When I do some of what was suggested in #103 I get the following:
By filing an issue to this repo, I promise that
xfun::session_info('tinytex')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/tinytex')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: