Skip to content

@yihui yihui released this Sep 22, 2020 · 25 commits to master since this release

  • The LaTeX distribution TinyTeX is now officially released at https://github.com/yihui/tinytex-releases. Prebuilt binaries of TinyTeX are provided for Windows, macOS, and Linux. Now you can install the prebuilt binaries, which should be both faster and safer (safer because the prebuilt binaries are released only after they pass some tests to compile some R Markdown documents to PDF). There are several ways to install the binaries, such as via Chocolatey and Scoop. Please see the release repo for more information.

  • The R function tinytex::install_tinytex() installs prebuilt binaries of TinyTeX now. Previously uses the TeX Live installer to install packages. Now it only downloads a single prebuilt package and extracts it locally. If the operating system is not Windows, macOS, or Linux, the installation method is still the same as before (i.e., using the TeX Live installer).

  • By default, tinytex::install_tinytex() will reinstall all currently installed LaTeX packages after reinstalling TinyTeX, so you won't lose any packages after reinstalling or upgrading TinyTeX. If you want a refresh installation (i.e., keep the behavior in previous versions of tinytex), you may use install_tinytex(extra_packages = NULL).

  • Added an argument version to install_tinytex(), so users can install a specific version of TinyTeX. The version numbers can be found in the releases (usually in the form YYYY.MM such as 2020.10): https://github.com/yihui/tinytex-releases

Assets 2

@yihui yihui released this Jul 24, 2020 · 77 commits to master since this release

  • Improved the search for missing TikZ libraries (thanks, @boltomli, #221).

  • Fixed the installation of TinyTeX on Unix-alikes such as FreeBSD (thanks, @rhurlin, #222).

  • Added an argument delete_tlpdb to tlmgr_update() to automatically delete the tlpkg/texlive.tlpdb.* files under the TinyTeX root directory after tlmgr update. The value of this argument can be set via a global option, e.g., you can set options(tinytex.delete_tlpdb = TRUE) (thanks, @AlfonsoMuskedunder, #226).

Assets 2

@yihui yihui released this Jun 20, 2020 · 85 commits to master since this release

  • The value of the argument install_packages of tinytex::latexmk() can be set via a global option now, e.g., options(tinytex.install_packages = FALSE) to disable the automatic installation of missing LaTeX packages (fd0af37).

  • By default, the automatic installation of missing packages only works when the tlmgr executable is writable (683b056). This means that, by default, tinytex::latexmk() will no longer try to install missing packages if you are using the texlive-* packages of your OS such as Debian/Ubuntu/Fedora, because it is most likely to fail anyway, in which case the failure also brings confusing error messages.

  • Commented out the examples in ?tinytex::r_texmf() because they modify users' texmf trees (f209297).

  • Fixed tinytex:::install_prebuilt() on Windows to extract the prebuilt version of TinyTeX to the correct path (f51859e).

Assets 2

@yihui yihui released this May 19, 2020 · 113 commits to master since this release

  • tinytex::latexmk() can automatically install missing "hyphen-*" packages now (thanks, @boltomli, #204).

  • Added tests in this package to make sure the default installation of TinyTeX is able to compile basic R Markdown documents and bookdown projects against pdflatex, xelatex, and lualatex (thanks, @AlfonsoMuskedunder, #207).

  • tinytex:::install_prebuilt() supports Windows, macOS, and Ubuntu now. The prebuilt binaries are stored on AppVeyor:

    tinytex::install_prebuilt() will download the binary package from AppVeyor and install it. If you have difficulties with downloading the binary package from R, you may download it in your web browser, and pass the path of the package to the function, e.g., tinytex:::install_prebuilt("~/Downloads/TinyTeX.zip").

    Note that the prebuilt binaries are provided only for your convenience. I do not recommend that you use them routinely. Normally you should install TinyTeX with tinytex::install_tinytex(). However, in certain cases, you may not be able to run tinytex::install_tinytex(). For example, github.com may be blocked in your region, or the latest version of TeX Live is broken (e.g., #210 #213). Then you can use tinytex:::install_prebuilt() as a temporary workaround, which will give you a working version of TeX Live. This version also includes additional LaTeX packages, and you may request that it includes even more packages by editing tools/pkgs-yihui.txt and send a pull request.

Assets 2

@yihui yihui released this Apr 18, 2020 · 186 commits to master since this release

  • Provided a more informative message to R users about upgrading TeX Live yearly (07cfcf6).

  • Exported the parse_install() function (af2a7e4).

  • Fixed the bug that latexmk() could accidentally delete TinyTeX on Linux (#197). Linux users are strongly recommended to update the R package tinytex to v0.22.

Assets 2

@yihui yihui released this Mar 31, 2020 · 194 commits to master since this release

  • Do not run tlmgr path add if /usr/local/bin/tlmgr doesn't exist (thanks, @cboettig, #181).

  • Do not use $HOME in texmf variables, otherwise they might create ~/.TinyTeX (#150).

Assets 2

@yihui yihui released this Feb 25, 2020 · 203 commits to master since this release

  • Make sure tlmgr_install() can install packages successfully on Windows (2f3abf3).

  • tinytex:::is_tinytex() will no longer signal an error if TinyTeX is not found and will return FALSE instead (3268f6b).

  • uninstall_tinytex() will cleanly uninstall TinyTeX and deletes the ~/.TinyTeX folder if it exists for some reason (fe0eb01).

  • Added an argument add_path to install_tinytex() so users can disable tlmgr path add (thanks, @norbusan, #179).

Assets 2

@yihui yihui released this Jan 14, 2020 · 213 commits to master since this release

  • Added more LaTeX packages to the default installation due to changes on CTAN (thanks, @ateucher @jonkeane, #158 #166 #167 #169).

  • Support installing older versions of TeX Live from https://texlive.info; see FAQ 1 for details: https://yihui.org/tinytex/faq/ (ea48f13).

  • Automatically install mktexpk when necessary (#173).

  • Correctly detect the missing file from error messages of the form Encoding file `t2aenc.def' not found (thanks, @ngriffiths21, #174).

  • Emit fewer messages when trying to automatically install missing LaTeX packages (because these messages are usually not very useful, and can be misleading, too; #174).

  • Do not automatically install pgf in case of tikz library issues unless the error log contains ! Package tikz Error (7f650c0).

Assets 2

@yihui yihui released this Dec 10, 2019 · 231 commits to master since this release

  • Added a few LaTeX packages to the default installation of TinyTeX (#158, #160, #163).

  • Automatically install epstopdf when there is an error "! xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object." (#161)

  • When a .tex document fails to compile, run tinytex::tlmgr_update() to avoid issues like rstudio/rmarkdown#1716 (comment).

Assets 2

@yihui yihui released this Oct 31, 2019 · 243 commits to master since this release

  • Missing LaTeX packages can be detected from error messages like ! Package isodate.sty Error: Package file substr.sty not found (thanks, @boltomli, #144).

  • Added an argument min_times to tinytex::latexmk() to specify the minimum number of compilation times (thanks, @billdenney, #148).

  • The repository argument of tinytex::install_tinytex() is more intelligent now (7ca5e39): if you only provide repository = "http://mirrors.tuna.tsinghua.edu.cn/CTAN/", we will automatically append the path to tlnet so it becomes http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet, which is the actual repository value required by the installer.

Assets 2
You can’t perform that action at this time.