- Added a
bundleargument totinytex::install_tinytex(), so that users can choose to install any TinyTeX bundle, e.g.,TinyTeX-0orTinyTeX-2.
-
The
tinytexandtinytex-releasesrepositories 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-2bundle 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 theRscriptcommand), it will throw an error in this case, unless the argumentforce = TRUEis 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 variableTINYTEX_PREVENT_INSTALL=true. -
On *nix, if the dir
~/.local/binexists, 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=1before callingtlmgr()to use TeX Live's owncurlinstead ofcurlonPATH(thanks, @netique). -
Fixed latex3/luaotfload#213: detect the
lua-uni-algospackage in case of errormodule 'lua-uni-normalize' not found(thanks, @dragonstyle). -
Use
set -eandcurl -fto fail immediately in the *nix installation script (thanks, @gaborcsardi, #356).
- Fixed rstudio/bookdown#1274:
latexmk()should run the LaTeX engine one more time before callingmakeindex(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.shandinstall-bin-windows.batnow install TinyTeX from https://github.com/yihui/tinytex-releases/releases/tag/daily instead ofhttps://yihui.org/tinytex/TinyTeX.*(#270). -
Fixed #322: automatically install
hyphen-*packages in case of polyglossia warnings. -
Run
tlmgr conf texmf max_print_line 10000to prevent LaTeX from wrapping log lines (#322 (comment)). If you do not like this configuration, you may runtlmgr conf texmf --delete max_print_lineto delete it.
- The
--dataargument intl_sizes()is properly quoted now to make it work on Windows (thanks, @IndrajeetPatil #329, @cderv #330).
-
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 forcetinytex::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
$OSTYPEin bash to make sure we install the prebuilt TinyTeX binary only forlinuxbut not for otherlinuxdistributions such aslinux-musl. -
Fixed #299: handle the error
! Package pdfx Error: No color profile sRGB_IEC61966-2-1_black_scaled.icc foundand install the colorprofiles package. -
Fixed ulyngs/oxforddown#4: also detect missing font definition files like
LGRcmr.fdand 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_VERSIONdoes not work for the scripttools/install-bin-unix.shwhen 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).
-
When the global option
tinytex.output_diris set,latexmk()can fail (thanks, @steveb-cirina, #287). -
Also recompile the
.texdocument if required bybiblatex(thanks, @cderv, #288). -
check_installed()returns a logical vector instead of a scalar now, to indicate if individual LaTeX packages are installed or not (4a8c372). -
Fixed #291: detect the
l3kernelpackage from the error message aboutexpl3.sty, and update existing packages when they are required to be installed, since they might be too old to lose compatibility with other packages (5946a2a). -
Bundled more LaTeX packages in the TinyTeX variation
TinyTeX.*.