-
-
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
Portability seems broken #133
Comments
You are correct that the default installation on Linux is not strictly portable. That is due to a trade-off: I want the default installation to just work. If a true portable TinyTeX is desired, you have to know more about TeX Live. First, use the method in FAQ 5 to install TinyTeX: https://yihui.name/tinytex/faq/ That is, use the flags |
Hi and thank you for your response. I installed it using Now I get:
I understand that Basically, I need an offline installation since I'm behind a corparate proxy, like #121. Since I'm on Linux I can't use I looked into
So again, it doesn't seem to be as portable as advertised :-) What can you recommend? UpdateWhen I replace
But this shouldn't be necessary, should it? Also, it only works with the prebuilt TinyTeX. With the one built with
|
Thanks! |
https://tug.org/texlive/doc/install-tl.html#PROFILES It seems the |
@simaoafonso-pwt I think they recently changed the names of the options. I just updated them in the profile file. Thanks! |
I checked and it seems compatibility was maintained, since I don't get docs nor source code. In fact, I tried the changes you did and there was an error about missing options, sorry about that. 😢
Revert it quick, before anyone notices! No matter what, I get the path on the following files:
For now, I think it's fair enough the environment is not portable (I mean I won't chase this further myself). This is a similar behaviour to Python's I think a better approach is trying to share the remote cache between users, or just run a local TUG mirror with a limited number of packages, and add that as the first repository. |
Okay. Thank you very much for testing! Just reverted the commit. |
Hi,
The documentation claims that TinyTeX is portable, but that doesn't seem to be the case.
On Linux, it can be reproduced like this.
1. Install TinyTeX"
2. Find all occurrences of the user's home directory
In a portable installation, you would expect that there are no hardcoded paths. Yet, there are:
Of which these are probably relevant:
3. Pack .TinyTeX
4. As another user, unpack .TinyTeX
5. Execute tlmgr path add
Which results in:
6. Test TinyTeX
Results in:
Session Info
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: