tinytex v0.9

0

Monthly downloads

0th

Percentile

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.

Readme

TinyTeX

Build Status AppVeyor build status Coverage 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 custom 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. In fact, if you are an R Markdown user, there is nothing you need to do, because missing packages will just be installed automatically. You may not even know the existence of LaTeX at all since it should rarely bother you.

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.

Functions in tinytex

Name Description
tl_sizes Sizes of LaTeX packages in TeX Live
tlmgr Run the TeX Live Manager
r_texmf Add/remove R's texmf tree to/from TeX Live
tl_pkgs List the names of installed TeX Live packages
install_tinytex Install/Uninstall TinyTeX
copy_tinytex Copy TinyTeX to another location and use it in another system
latexmk Compile a LaTeX document to PDF
parse_packages Find missing LaTeX packages from a LaTeX log file
No Results!

Last month downloads

Details

Type Package
License MIT + file LICENSE
URL https://github.com/yihui/tinytex
BugReports https://github.com/yihui/tinytex/issues
Encoding UTF-8
LazyData true
RoxygenNote 6.1.0
NeedsCompilation no
Packaged 2018-10-23 17:27:45 UTC; yihui
Repository CRAN
Date/Publication 2018-10-23 17:50:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/tinytex)](http://www.rdocumentation.org/packages/tinytex)