Replies: 71 comments 99 replies
-
公司服务器没有互联网链接,最近两天鼓捣了会TexLive,想看看怎么才能弄一个离线的Repo。然后,我发现真是太乱了…真看不懂… |
Beta Was this translation helpful? Give feedback.
-
这个你可以早一点问我,就不必浪费这个时间了。其实我已经把 TeX Live 全集都打包好了,只不过我还没昭告天下而已(因为我还没确定最终把这些超级大包存在哪里,是放我个人 Github 账号里还是转移到公司账号下)。全集是 TinyTeX-2:https://github.com/yihui/tinytex-releases/releases/tag/daily 通过 R 安装: tinytex:::install_prebuilt('TinyTeX-2') 或者通过脚本安装皆可:https://yihui.org/tinytex/#installation 设置环境变量 当然,你也可以直接下载文件,解压缩到合适的位置。 这个精简版的全集体积比官方应该是能小一半的。装它之后就不必再担心缺包了。 |
Beta Was this translation helpful? Give feedback.
-
本以为这个需求能很快找到答案,我还是低估了LaTeX的复杂程度!太赞了,我马上试试,谢谢! |
Beta Was this translation helpful? Give feedback.
-
嗯,架设一个可以离线使用的仓库估计是会有点复杂,但打包所有的 LaTeX 包就简单多了。既然架设库的主要目的是为了装缺失的包,那还不如就整锅端下来后一劳永逸了。 |
Beta Was this translation helpful? Give feedback.
-
是的。其实我本来就是想全装,但tlmgr install scheme-full 在最后一步老是报错,原因不详,已放弃。现在直接一步到位,非常开心,正合我意。 |
Beta Was this translation helpful? Give feedback.
-
嗯,是的,这个命令确实是有出错的可能,我也一样读不懂错误消息、不明白原因。比如在 AppVeyor 平台上的 macOS 系统就会出错,我直接加个 |
Beta Was this translation helpful? Give feedback.
-
您好,我现在正在做一个仿真软件(mmCEsim)可以自动导出并编译 LaTeX 报告,仅在软件安装包里给用户提供 minimal 的 packages。我想是不是可以直接利用您在 |
Beta Was this translation helpful? Give feedback.
-
@Teddy-van-Jerry 是的,不过更简单的办法是你先安装 |
Beta Was this translation helpful? Give feedback.
-
哦哦明白啦,非常感谢! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the works. I got it to install on a windows machine without problems. Where I ran into problems was installing it in Linux on Windows (WSL). it reports back with warning: In tinytex::install_tinytex() : Tried it as a user or with sudo ... to install system-wide. |
Beta Was this translation helpful? Give feedback.
-
thank you so much Yihui, the package works flawlessly. |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for your work!! I installed it and everything worked fine until I needed a package called "pifont". It reported as: I am not really a TeX expert, so I wonder if there is an other way to install this package. |
Beta Was this translation helpful? Give feedback.
-
The installation script did not work for me due to authenticated proxies not being automatically considered/found. |
Beta Was this translation helpful? Give feedback.
-
Dear Yihui, thank you very much for your work! |
Beta Was this translation helpful? Give feedback.
-
Yihui, can you help? I am stumped. I installed tinytex and am now unable to generate pdf reports from Shiny/Rmarkdown. The error I consistently see is pasted below. Any ideas? Thank you so much! Judy Lewis "C:/Users/lewisjt4/AppData/Local/Pandoc/pandoc" +RTS -K512m -RTS reportPDF.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output pandoc14c46ff645e9.tex --template "C:Userslewisjt4DocumentsRwin-library3.4rmarkdownrmdlatexdefault-1.17.0.2.tex" --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in" |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, I have gone through numerous blogs and installation methods, however I still get error when installing tinytex. error is as follows: Error in download.file(url, output, ..., method = method) : I am using windows 10. i also tried the code devtools::install_github('yihui/tinytex') any guidance on how to deal with this error? thanks |
Beta Was this translation helpful? Give feedback.
-
Thank you so much Yihui. I really appreciate your work on this package. |
Beta Was this translation helpful? Give feedback.
-
Hello. How do I actually use it after installing. I am on Linux OS. What command should I write in Terminal. |
Beta Was this translation helpful? Give feedback.
-
How to update TinyTeX ? specifically on Mac OS X? if I get a new installation, things are deleted from the tlmgr settings and it's rather annoying. |
Beta Was this translation helpful? Give feedback.
-
Hi There! I installed the package tinytex via terminal on my Ubuntu 20.04 When I compiled my file to PDF, it appears **"! LaTeX Error: File (running on Debian, switching to user mode!) when I tried |
Beta Was this translation helpful? Give feedback.
-
Hi! After compiling my
So, how can I (re)run Biber on the file teste_pres? |
Beta Was this translation helpful? Give feedback.
-
Hi - I am trying to install TinyTex for a class. I get an install error on the console that I see is well documented online, but when I go to use the sudo chown command in the terminal tab and enter my correct system password I am getting an error that says: chown: whomami: illegal user name I have not seen this covered on any other forum, any idea how to get around this? I've tried creating a new user on my Mac OS and get the same error regardless. |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks. |
Beta Was this translation helpful? Give feedback.
-
学长,我安装了tinytex, 但是还是没法生成pdf. 请问这是什么原因啊? ! The log file hopefully contains the information to get MiKTeX going again: ! C:UsersKKAppDataLocalMiKTeXmiktexlogpdflatex.log Error: LaTeX failed to compile STAT-Project1-KK.tex. See |
Beta Was this translation helpful? Give feedback.
-
I installed tinytex with the following command |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui If we have full latex installation before we install R/Rstudio/bookdown, do we still need to install tinytex in R? Let say that on mac I have already TeX Live installation that I use frequently; do I still have to install tinytex for R/RStudio/bookdown? |
Beta Was this translation helpful? Give feedback.
-
Hi I got an error message trying to use "escape = F" ! Misplaced noalign. Error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See test.log for more info. Could you please help me debug? Thank you |
Beta Was this translation helpful? Give feedback.
-
after including library(kableExtra) to the rmarkdown, i recive the following message which crashes the markdown: |
Beta Was this translation helpful? Give feedback.
-
I use Rstudio on my both Mac and Windows (files on the cloud). While I am able to render my Quarto file (a journal article draft) into a pdf on my Mac, it does not render on Windows. The error message is as follows: "running xelatex - 1 updating tlmgr updating existing packages compilation failed- no matching packages Type X to quit or to proceed, Enter file name: l.14 \usepackage The following and other related advice did not work: tinytex::parse_install(here::here("myfile.log")). $ tlmgr search --global --file "/setspace.sty" How can I work around this? |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, 我是tinytex的mac用户,最近我想为公司的一台电脑安装tinytex,但是公司非常注重数据的安全问题,目前电脑并没有也不允许连接网络,我已经通过password protected的USB成功安装了R和Rstudio,和里面需要的必要package, 但是tinytex是一个LaTex的distribution,你提供的下载和安装方式要么是通过R studio或者通过bash或者powershell联网实现,想问一下我能否在自己的mac上下载windows版本的TinyTex,然后通过USB转移进去后离线安装么?可以提供一下我这种情况的详细教程吗?公司电脑是windows版本 提前感谢你的解答! |
Beta Was this translation helpful? Give feedback.
-
TinyTeX: A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
https://yihui.org/tinytex/
Beta Was this translation helpful? Give feedback.
All reactions