Helper Functions to Install and Maintain 'TeX Live', and Compile 'LaTeX' Documents

Helper functions to install and maintain the 'LaTeX' distribution named 'TinyTeX' (< https://yihui.name/tinytex/>), a lightweight, cross-platform, portable, and easy-to-maintain version of 'TeX Live'. This package also contains helper functions to compile 'LaTeX' documents, and install missing 'LaTeX' packages automatically.


Build Status Downloads from the RStudio CRAN mirror

The installation and maintenance of LaTeX have bothered me for several years. Yes, there are MiKTeX, MacTeX, and TeX Live, but the common problems are:

  1. You have to either install a basic version that is relatively small (several hundred MB) but basically doesn't work, because it is very likely that certain frequently used LaTeX packages are missing; or you install the full version that is several GB, but in your whole life, you probably will only use 1% of the packages.

  2. The documentation for installation and maintenance is often way too long for beginners. For example, I doubt if anyone has the courage or patience to read the tlmgr manual (yes, it is very useful).

I believe these problems can be solved by TinyTeX, a different LaTeX distribution based on TeX Live that is small in size (about 150Mb) but still functions well in most cases. Even if you run into the problem of missing LaTeX packages, it should be super clear to you what you need to do. The manual should be at most two pages long.

This repo contains the installation scripts of TinyTeX (under the tools directory) and the R companion package tinytex. Please see the full documentation at https://yihui.name/tinytex/. Obviously I hope it is not too long.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tinytex")

0.5 by Yihui Xie, 8 days ago


https://github.com/yihui/tinytex


Report a bug at https://github.com/yihui/tinytex/issues


Browse source code at https://github.com/cran/tinytex


Authors: Yihui Xie [aut, cre, cph] (<https://orcid.org/0000-0003-0645-5666>), RStudio, Inc. [cph], Fernando Cagua [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testit


Imported by bookdown.

Suggested by NEArender, TeXCheckR, knitr, rmarkdown.


See at CRAN