A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
TinyTeX no longer defines the TEXMFHOME
variable (thanks, @vsheg, #377).
The internal function fc_cache()
also runs on the TinyTeX root directory now (3d146ac531aee9b6cb28f6b8a4edecaa11d25dc4).
bundle
argument to tinytex::install_tinytex()
, so that users can choose to install any TinyTeX bundle, e.g., TinyTeX-0
or TinyTeX-2
.The tinytex
and tinytex-releases
repositories have been moved from @yihui's account to @rstudio, i.e., their addresses are https://github.com/rstudio/tinytex/ and https://github.com/rstudio/tinytex-releases/ now.
The full TeX Live has been pre-built as the TinyTeX-2
bundle in the daily release of TinyTeX: https://github.com/rstudio/tinytex-releases/releases/tag/daily To know how to install it, please see https://github.com/rstudio/tinytex-releases#installation.
If tinytex::install_tinytex()
detects an existing LaTeX distribution in the system, it will ask if you want to continue the installation in an interactive R session. If this function is called in a non-interactive R session (e.g., via the Rscript
command), it will throw an error in this case, unless the argument force = TRUE
is used. This is to prevent an accidental installation of TinyTeX (which occurred on CRAN recently). Another way to prevent the installation is to set the environment variable TINYTEX_PREVENT_INSTALL=true
.
On *nix, if the dir ~/.local/bin
exists, it will be used as the bin path for TinyTeX, i.e., symlinks of TeX Live binaries will be created to this dir. If it does not exist, ~/bin/
will be used as usual (thanks, @salim-b, #365).
Fixed #354: set the env var TEXLIVE_PREFER_OWN=1
before calling tlmgr()
to use TeX Live's own curl
instead of curl
on PATH
(thanks, @netique).
Fixed latex3/luaotfload#213: detect the lua-uni-algos
package in case of error module 'lua-uni-normalize' not found
(thanks, @dragonstyle).
Added the help page ?tinytex
(thanks, @AmeliaMN, #361).
Use set -e
and curl -f
to fail immediately in the *nix installation script (thanks, @gaborcsardi, #356).
--data
argument in tl_sizes()
is properly quoted now to make it work on Windows (thanks, @IndrajeetPatil #329, @cderv #330).latexmk()
should run the LaTeX engine one more time before calling makeindex
(thanks, @trevorcampbell @ttimbers).Fixed the failure to detect the hyphen-french package from the LaTeX log: https://stackoverflow.com/q/69887190/559676
xfun::session_info('tinytex')
can report the TeX Live (TinyTeX) version now.
Improved the way tinytex::tlmgr_repo()
normalizes the repo URL (#346).
install_tinytex()
will automatically switch to using https://github.com/yihui/tinytex-releases/releases/tag/daily to install the daily version of TinyTeX if accessing https://yihui.org fails (#332).
install-bin-unix.sh
and install-bin-windows.bat
now install TinyTeX from https://github.com/yihui/tinytex-releases/releases/tag/daily instead of https://yihui.org/tinytex/TinyTeX.*
(#270).
Fixed #322: automatically install hyphen-*
packages in case of polyglossia warnings.
Run tlmgr conf texmf max_print_line 10000
to prevent LaTeX from wrapping log lines (https://github.com/yihui/tinytex/issues/322#issuecomment-924981904). If you do not like this configuration, you may run tlmgr conf texmf --delete max_print_line
to delete it.
Fixed the paths in texmf-var/fonts/conf/fonts.conf
(thanks, @igelstorm @norbusan, #313).
Each LaTeX warning is now converted to a single R warning, which is printed immediately (thanks, @krivit, #315).
Remove the character v
from the version
argument of install_tinytex()
(thanks, @cderv, #318).
The latest release of TinyTeX from https://github.com/yihui/tinytex-releases can be installed via tinytex::install_tinytex(version = 'latest')
now.
Provide a global option options(tinytex.source.install = TRUE)
to force tinytex::install_tinytex()
to use the source installer instead of installing the prebuilt binary (#301).
The LaTeX package psnfss is included in the default TinyTeX distribution now (#303).
Fixed #295: use the environment variable $OSTYPE
in bash to make sure we install the prebuilt TinyTeX binary only for linux
but not for other linux
distributions such as linux-musl
.
Fixed #299: handle the error ! Package pdfx Error: No color profile sRGB_IEC61966-2-1_black_scaled.icc found
and install the colorprofiles package.
Fixed ulyngs/oxforddown#4: also detect missing font definition files like LGRcmr.fd
and install the missing packages accordingly.
Fixed #311: install the glossary and datetime2 language module when a warning like this is detected: Package glossaries Warning: No language module detected for `english'
.
Fixed #302: the environment variable TINYTEX_VERSION
does not work for the script tools/install-bin-unix.sh
when it tries to install TinyTeX from the source installer.
Fixed a bug that tinytex:::install_prebuilt("TinyTeX", cache = FALSE)
does not delete the TinyTeX installer (#294).