GithubHelp home page GithubHelp logo

rstudio / tinytex-releases Goto Github PK

View Code? Open in Web Editor NEW
239.0 6.0 31.0 111 KB

Windows/macOS/Linux binaries and installation methods of TinyTeX

Home Page: https://yihui.org/tinytex/

License: GNU General Public License v2.0

PowerShell 100.00%
tinytex chocolatey chocolatey-packages texlive-distribution texlive scoop latex

tinytex-releases's Introduction

TinyTeX releases for Windows, macOS, and Linux

Publish Monthly Release

tinytex logo

TinyTeX is a lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live. You may see the Github repo (https://github.com/rstudio/tinytex) and project homepage (https://yihui.org/tinytex/) for more info.

Releases

The pre-built binary packages of TinyTeX are published (usually monthly but also daily) to the Github Releases of this repository: https://github.com/rstudio/tinytex-releases/releases Each release contains the following variations that bundle different numbers of LaTeX packages:

  • TinyTeX-0 contains the infraonly scheme of TeX Live, without any LaTeX packages. This is the smallest bundle. If you install this bundle, you may install any other packages via tlmgr (which is a utility included in this variation), e.g., tlmgr install latex-bin framed.

  • TinyTeX-1 contains about 90 LaTeX packages enough to compile common R Markdown documents (which was the original motivation of the TinyTeX project).

  • TinyTeX contains more LaTeX packages requested by the community. The list of packages may grow as time goes by, and the size of this bundle will grow correspondingly.

  • TinyTeX-2 contains the scheme-full scheme of TeX Live, which means all LaTeX packages that you could possibly install from CTAN. This is the largest bundle, and only available in the daily release.

The zip packages are for Windows. The tgz packages are for macOS. The tar.gz packages are for Linux. If you prefer using the daily build instead of monthly releases, you may also download them from URLs of the form https://yihui.org/tinytex/BUNDLE.EXT, where BUNDLE can be TinyTeX-0, TinyTeX-1, or TinyTeX, and EXT can be zip, tgz, or tar.gz, e.g., https://yihui.org/tinytex/TinyTeX.zip. There is a special case for TinyTeX-2 on Windows, which is available as exe only (self extracting archive).

bundle Windows macOS Linux
TinyTeX-0 TinyTeX-0.zip (27 MB) TinyTeX-0.tgz (1.1 MB) TinyTeX-0.tar.gz (800 KB)
TinyTeX-1 TinyTeX-1.zip (99 MB) TinyTeX-1.tgz (84 MB) TinyTeX-1.tar.gz (66 MB)
TinyTeX TinyTeX.zip (225+ MB) TinyTeX.tgz (217+ MB) TinyTeX.tar.gz (188+ MB)
TinyTeX-2 TinyTeX-2.exe (1.4 GB) TinyTeX-2.tgz (1.8 GB) TinyTeX-2.tar.gz (1.7 GB)
tinitex binary (experimental) tinitex.zip (25 MB) tinitex.tgz (30 MB) tinitex.tar.gz (33 MB)

For those who are curious about how these packages are built, please read the FAQ 4 of TinyTeX.

Installation

TinyTeX can be installed in a variety of ways. You may use R, shell/batch scripts, Chocolatey, or Scoop to install it.

R

You may use the R package tinytex to install TinyTeX. By default, the function tinytex::install_tinytex() installs the latest daily build of TinyTeX. If you want to install a specific version in this repo, you may use the version argument, e.g.,

tinytex::install_tinytex(version = "2020.10")
# use version = "latest" if you want to install the latest release

Note that install_tinytex() installs the bundle TinyTeX-1 by default. If you want to install other bundles, you can use the bundle argument, e.g.,

tinytex::install_tinytex(bundle = 'TinyTeX')
# You can also specify the version, e.g,
# tinytex::install_tinytex(bundle = 'TinyTeX', version = '2020.10')

Shell/Batch scripts

Please see https://yihui.org/tinytex/#installation for how to install TinyTeX via a Unix Shell or Windows Batch script. They also install the latest daily build by default, and you may specify the TinyTeX version via an environment variable TINYTEX_VERSION before running the installation script, e.g., TINYTEX_VERSION=2020.10. You may also specify other bundles of TinyTeX via the environment variable TINYTEX_INSTALLER, e.g., TINYTEX_INSTALLER=TinyTeX (the default is TinyTeX-1).

Chocolatey

You may install TinyTeX as a Chocolatey package. First, you would need to install the Chocolatey Package Manager if it has not already been installed. Next type in the following command to install TinyTeX:

choco install tinytex

This will install TinyTeX and make the TeX Live package manager, tlmgr available on user PATH.

choco install tinytex -params "/AddToSystemPath"

This will install TinyTeX and make the TeX Live package manager, tlmgr available on System PATH.

To uninstall TinyTeX, use the command:

choco uninstall tinytex

The Chocolatey package installs TinyTeX-1 (see above).

Scoop

Scoop is another package manager for Windows. You need to install scoop first to use it from powershell.

Apps for scoop are available through "buckets". For now, TinyTeX binary packages are not available in the default main or extras buckets that comes with a new installation of scoop, but through the scoop bucket r-bucket. You need first to add this bucket:

scoop bucket add r-bucket https://github.com/cderv/r-bucket.git

Then type the following command to install TinyTeX:

scoop install tinytex

This will install TinyTeX and make the TeX Live package manager, tlmgr available on PATH. To uninstall TinyTeX, use the command:

scoop uninstall tinytex

For more information on this scoop package, please see https://github.com/cderv/r-bucket/.

License

All code in this repository and TinyTeX are licensed under GPL-2. Per copying conditions of TeX Live, we (TinyTeX authors) want to clarify that:

  • We did not make changes to the TeX Live distribution, but basically packaged up a subset of its packages and redistributed them as TinyTeX.

  • We do not claim copyright on TinyTeX. Again, TinyTeX is a subset of TeX Live (https://tug.org/texlive/), and TeX Live is developed as a joint effort by all TeX user groups.

Note that TinyTeX does not bundle the source code of LaTeX packages (to keep the size small). If you do want to obtain the source, you may find them on CTAN. Alternatively, you can reinstall a package with the command tlmgr install --reinstall --with-src <PKG> to obtain the source.

tinytex-releases's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinytex-releases's Issues

Schedule a yearly build at each TeX Live release ?

Can we do that with Appveyor which does the build ?
Is a release full automated now ?

Having this schedule would avoid having to do that manually next year. Release seem to be always 1st april of each year.

Extend #12

Tlmgr returning error in Linux

I downloaded https://github.com/yihui/tinytex-releases/releases/download/v2020.09/TinyTeX-1.tar.gz in Linux.
I extracted it using the below command

tar -xvzf "TinyTeX-1.tar.gz" 

At first, I could find my extracted folder. Later I found it was .TinyTeX(Hidden). Then I wanted to create symlinks to start using it. So I typed the below command

cd .TinyTeX && bin/x86_64-linux/tlmgr path add

Then it returned a weird error.

Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: //texmf-dist/scripts/texlive //tlpkg /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at bin/x86_64-linux/tlmgr line 101.
BEGIN failed--compilation aborted at bin/x86_64-linux/tlmgr line 101.

Looks like the way it was build was the issue. I think @yihui . Could you try and verify whether this works?

Here, I attached a Google Colab copy of what happened.
https://gist.github.com/naveen521kk/3fe9f54a4e82efef97903a272380e541
Note: Their all bash command should start with !.

Support ARM operating systems

@heath-r and I are having trouble getting TinyTeX installed on an ARM jammy (22.04) instance. It looks like the install script tries to install from source. Do we ship ARM binaries?

install failed in Windows 10

Flowing the discription over here
After download the install.zip, extract to %appdata% path
then run install-tl-windows.bat and get error info:

C:/Users/Administrator/AppData/Roaming/TinyTeX>.\install-tl-windows
Loading C:/Users/Administrator/AppData/Roaming/TinyTeX/tlpkg/texlive.tlpdb
Aborting, cannot find either scheme-full or scheme-minimal at C:\Users\Administrator\AppData\Roaming\TinyTeX\install-tl line 1797.

HELP!

Need a newer build

I don't really understand why a ~ 9 days old build would not be good enough, but apparently it is not. The current daily is from 2024-01-31 and it fails with

tlmgr itself needs to be updated.
Please do this via either
...

If I call tlmgr update --self then it installs revision 69686 (2024-02-03), which is fine.

I guess this issues solves itself soonish, but if possible if would be great to have an early update to fix r-lib/actions/setup-tinytex.

Cf. r-lib/actions#801

can not install tinytex in rstudio

I am a beginner who wish to learn about rmarkdown in rstudio. I try to create my first rmarkdown file. Rstudio asks for tinytex installation. After yes, I get the following outputs:

> Installing 'tinytex' for R Markdown...



[1/2] Installing xfun...

Installing package into 'C:/Users/lambii/Documents/R/win-library/3.6'
(as 'lib' is unspecified)

  There is a binary version available but the source version is later:
     binary source needs_compilation
xfun   0.22   0.24              TRUE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/xfun_0.22.zip'
Content type 'application/zip' length 323923 bytes (316 KB)
==================================================
downloaded 316 KB

package 'xfun' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Windows\Temp\RtmpsvK200\downloaded_packages


[2/2] Installing tinytex...

Installing package into 'C:/Users/lambii/Documents/R/win-library/3.6'
(as 'lib' is unspecified)
also installing the dependency 'xfun'


  There are binary versions available but the source versions are later:
        binary source needs_compilation
xfun      0.22   0.24              TRUE
tinytex   0.31   0.32             FALSE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/xfun_0.22.zip'
Content type 'application/zip' length 323923 bytes (316 KB)
==================================================
downloaded 316 KB

package 'xfun' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Windows\Temp\RtmpsvK200\downloaded_packages
installing the source package 'tinytex'

trying URL 'https://cran.rstudio.com/src/contrib/tinytex_0.32.tar.gz'
Content type 'application/x-gzip' length 30014 bytes (29 KB)
==================================================
downloaded 29 KB

* installing *source* package 'tinytex' ...
** package 'tinytex' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  namespace 'xfun' 0.22 is being loaded, but >= 0.23 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'tinytex'
* removing 'C:/Users/lambii/Documents/R/win-library/3.6/tinytex'
* restoring previous 'C:/Users/lambii/Documents/R/win-library/3.6/tinytex'

The downloaded source packages are in
	'C:\Windows\Temp\RtmpsvK200\downloaded_packages'


<U+2714> Package 'tinytex' successfully installed.
Warning message:
In utils::install.packages("tinytex", repos = "https://cran.rstudio.com/") :
  installation of package 'tinytex' had non-zero exit status

Despite this, tinytex is not install nor is xfun. The same thing happens when I try to create new file for RNotebook. What's wrong with my computer? Other folks are doing this basic step so easily. Please help.

Release version with documentation included

Thanks for this great project.
I wondered if a release version with offline documentation included would be possible to add?

Maybe named something like TinyTeX-doc.

Why

I agree with the reasoning for excluding documentation given in the faq by @yihui: almost everyone just googles how to do something (mostly arriving at the great knowledgebase that is tex.stackexchange.com)
But sometimes you work where there is no internet (like on public transport or in nature).

And on "you probably don’t even know where to find these documentation files on your computer": yes, but:
with the great LaTeX-Workshop extension for VS Code, local documentation is actually easily discoverable, thanks to a handy hover popup on \usepackage{name}.
(In fact, the impetus for writing this issue was me adding a link to TinyTeX in the wiki of LaTeX-Workshop).

Alternatives

There is indeed the tlmgr installl --reinstall --with-doc <PKG> command mentioned by @norbusan here.
But you would have to do this for every already installed package then.
And you'd have to remember to add the --with-doc option when installing new packages.

Increased bundle size

Adding offline documentation will indeed increase the bundle size.
But it will still be considerably smaller than the full TeX Live distribution with it's 4000+ packages.

A rough estimate for the increased release size:

With the 231 MB TinyTeX.zip distribution (513 MB unzipped),
and using tlmgr info --only-installed, I get 312 installed packages.
Say that an average documentation pdf is 250 KB.
..The offline docs would then be 78 MB. 1

How

Qua implementation, I'm not entirely sure how the build process works; though it seems we'd need
to omit option_doc 0 in tinytex.profile (or set it to option_doc 1).



Footnotes

  1. This is an increase of 15% to the unzipped size.
    The increase to the zip size would probably be larger however: pdf's are often already compressed internally.

管理员权限命令行执行tlmgr时报错

使用最新的(2022-01)版本,管理员权限执行tlmgr命令时报错:

Could not determine directory of tlmgr executable, maybe shared library woes?
Check for error messages above at E:\TinyTeX\texmf-dist\scripts\texlive\tlmgr.pl line 72.
BEGIN failed--compilation aborted at E:\TinyTeX\texmf-dist\scripts\texlive\tlmgr.pl line 81.

同样的目录配置, 使用去年的(2021.02版)时正常

使用tl-tray-menu.exe打开的命令行窗口执行tlmgr没有报错, 但是命令似乎没有生效, tlmgr update --list结果如下:

tlmgr.pl: package repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr.pl: no updates available

Should we make tinytex R package compatible with those packages ?

I found that there are some incompatibilities with R package functions.

For example, see cderv/r-bucket#3

  • tinytex_root() won't work with either choco and scoop due to the way their shims are working.

All functions that use this tinytex_root() won't work.

@yihui Should we make them compatible ? Either by changing the packages, or tweaking tinytex ?

I am not sure are they are mainly for use with installation from tinytex R package itself but that seems to be disturbing for users that they don't work. And it seems easy to detect scoop or choco because we know where they install things.

Security Vulnerabilities detected!!

Hi Team,

In our recent vulnerability scans we observed multiple vulnerabilities.
Usage:
RUN PACKAGES="wget perl-switch" \
&& apk --no-cache add tzdata
&& wget -qO-
"https://yihui.org/tinytex/install-bin-unix.sh" |
sh -s - --admin --no-path
&& mv ~/.TinyTeX /opt/TinyTeX
&& /opt/TinyTeX/bin/*/tlmgr path add
&& tlmgr path add
&& chown -R root:adm /opt/TinyTeX
&& chmod -R g+w /opt/TinyTeX
&& chmod -R g+wx /opt/TinyTeX/bin
&& tlmgr install epstopdf-pkg \

Vulnerabilities List:
libpng | 1.6.37 | sourceforge | libpng/v1.6.37 | v1.6.37 | BDSA-2019-5322
lua | 5.3.6 | unknown |   | v5.3.6 | CVE-2020-15888 (BDSA-2020-1807)
lua | 5.3.6 | unknown |   | v5.3.6 | CVE-2020-15945 (BDSA-2020-1850)
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2020-2058
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2020-2093
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2020-2094
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2020-2099
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2021-3384
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2022-0057
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2022-0976
lua | 5.3.6 | unknown |   | v5.3.6 | BDSA-2022-1825
lz4 | 1.8.3 | github | lz4/lz4:v1.8.3 | v1.8.3 | CVE-2019-17543 (BDSA-2019-3383)
lz4 | 1.8.3 | github | lz4/lz4:v1.8.3 | v1.8.3 | CVE-2021-3520 (BDSA-2021-1549)
The FreeType Project | 2.11.1 | unknown |   | 2.11.1 | CVE-2022-27404 (BDSA-2022-1122)
The FreeType Project | 2.11.1 | unknown |   | 2.11.1 | CVE-2022-27405 (BDSA-2022-1123)
The FreeType Project | 2.11.1 | unknown |   | 2.11.1 | CVE-2022-27406 (BDSA-2022-1124)
The FreeType Project | 2.11.1 | unknown |   | 2.11.1 | BDSA-2022-1494
Wget | 1.20.1 | gnu | wget:1.20.1 | 1.20.1 | CVE-2019-5953 (BDSA-2019-0984)
Wget | 1.20.1 | gnu | wget:1.20.1 | 1.20.1 | CVE-2021-31879 (BDSA-2021-1176)
Xpdf | 4.03 | unknown |   | 4.03 | BDSA-2019-4611
Xpdf | 4.03 | unknown |   | 4.03 | BDSA-2020-2283
Xpdf | 4.03 | unknown |   | 4.03 | CVE-2021-30860
Xpdf | 4.03 | unknown |   | 4.03 | CVE-2022-27135
Xpdf | 4.03 | unknown |   | 4.03 | BDSA-2022-1301
Xpdf | 4.03 | unknown |   | 4.03 | CVE-2021-27548
Xpdf | 4.03 | unknown |   | 4.03 | CVE-2022-38334
Xpdf | 4.03 | unknown |   | 4.03 | BDSA-2022-3104
Xpdf | 4.03 | unknown |   | 4.03 | CVE-2021-36493
XZ Utils | 5.2.4 | unknown |   | 5.2.4 | BDSA-2022-0958
zlib | 1.2.11 | unknown |   | 1.2.11 | CVE-2018-25032 (BDSA-2018-5271)
zlib | 1.2.11 | unknown |   | 1.2.11 | CVE-2022-37434 (BDSA-2022-2183)

I see that the packages are installed using - https://tinytex.yihui.org/pkgs-custom.txt
Can we get these packages latest versions installed by https://tinytex.yihui.org/pkgs-custom.txt?
If that's done we can get over most of these vulnerabilities or at least we will be at their latest versions.

Regards,
Amber Khare

Installation is still painful

I came here from Tex Live, the installation of Tex Live is fairly smooth, you just download a installer, press a button it will all the work for you. But Tex Live is too larg, and it takes too long to installation. So after a few google search I find here. TinyTex it small, I expected that TinyTex will take less time to install, but unfortrunately no. I was stuck at the very beginning. Can you please just hide all the technical details (R? Powershell? or anything else? who care what tech you are using? people just want it get work done.) behind one button?

Installed package is invisible by Latex

Thanks for your TinyTex. I installed a packaged called lastpage and it has been available in /Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex:

(base) ➜  latex git:(master) ✗ ls | grep "lastpage"
lastpage
(base) ➜  latex git:(master) ✗ ls lastpage         
lastpage.sty    lastpage209.sty

Other packages such as preprint, amsmath etc. could be recognized in /Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex.

Here is the log file when I build:

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex 2020.6.10)  12 OCT 2020 02:55
entering extended mode
 restricted \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**/Users/hoanguyen/Documents/github/peace/cv/code/resume.tex
(/Users/hoanguyen/Documents/github/peace/cv/code/resume.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-03> (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)
\c@part=\count167
\c@section=\count168
\c@subsection=\count169
\c@subsubsection=\count170
\c@paragraph=\count171
\c@subparagraph=\count172
\c@figure=\count173
\c@table=\count174
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen134
) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/preprint/fullpage.sty
Package: fullpage 1999/02/23 1.1 (PWD)
\FP@margin=\skip49
) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2020/01/20 v2.17e AMS math features
\@mathmargin=\skip50

For additional information on amsmath, use the `?' option.
(/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text
 (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks15
\ex@=\dimen135
)) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen136
) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count175
LaTeX Info: Redefining \frac on input line 227.
\uproot@=\count176
\leftroot@=\count177
LaTeX Info: Redefining \overline on input line 389.
\classnum@=\count178
\DOTSCASE@=\count179
LaTeX Info: Redefining \ldots on input line 486.
LaTeX Info: Redefining \dots on input line 489.
LaTeX Info: Redefining \cdots on input line 610.
\Mathstrutbox@=\box45
\strutbox@=\box46
\big@size=\dimen137
LaTeX Font Info:    Redeclaring font encoding OML on input line 733.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 734.
\macc@depth=\count180
\c@MaxMatrixCols=\count181
\dotsspace@=\muskip16
\c@parentequation=\count182
\dspbrk@lvl=\count183
\tag@help=\toks16
\row@=\count184
\column@=\count185
\maxfields@=\count186
\andhelp@=\toks17
\eqnshift@=\dimen138
\alignsep@=\dimen139
\tagshift@=\dimen140
\tagwidth@=\dimen141
\totwidth@=\dimen142
\lineht@=\dimen143
\@envbody=\toks18
\multlinegap=\skip51
\multlinetaggap=\skip52
\mathdisplay@stack=\toks19
LaTeX Info: Redefining \[ on input line 2859.
LaTeX Info: Redefining \] on input line 2860.
) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
 (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Redeclaring math symbol \hbar on input line 98.
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
)) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2020/02/11 v2.0o Standard LaTeX package
) (/Users/hoanguyen/Library/TinyTeX/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2019/01/31 v3.10 Extensive control of page headers and footers
\f@nch@headwidth=\skip53
\f@nch@O@elh=\skip54
\f@nch@O@erh=\skip55
\f@nch@O@olh=\skip56
\f@nch@O@orh=\skip57
\f@nch@O@elf=\skip58
\f@nch@O@erf=\skip59
\f@nch@O@olf=\skip60
\f@nch@O@orf=\skip61
)

! LaTeX Error: File `lastpage.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
/Users/hoanguyen/Documents/github/peace/cv/code/resume.tex:20: Emergency stop.
<read *> 
         
l.20 ^^M
        
*** (cannot \read from terminal in nonstop modes)

 
What are the possible causes for that? Here is how much of TeX's memory you used:
 1680 strings out of 482426
 18455 string characters out of 5944454
 243860 words of memory out of 5000000
 17507 multiletter control sequences out of 15000+600000
 533101 words of font info for 25 fonts, out of 8000000 for 9000
 14 hyphenation exceptions out of 8191
 30i,0n,45p,270b,38s stack positions out of 5000i,500n,10000p,200000b,80000s
/Users/hoanguyen/Documents/github/peace/cv/code/resume.tex:20:  ==> Fatal error occurred, no output PDF file produced!

System info

MacOSX Catalina 10.15.1
(base) ➜  latex git:(master) ✗ tex --version
TeX 3.14159265 (TeX Live 2020)
kpathsea version 6.3.2
Copyright 2020 D.E. Knuth.
(base) ➜  latex git:(master) ✗ which tex
/Users/hoanguyen/Library/TinyTeX/bin/x86_64-darwin/tex

Thank you for your time.

Issue with chocolatey package

It looks like a new major of Chocolatey was released (last week) and seemed to have broken our package (check the CI log of the previous month's auto-release). Upon some investigation, it was because of https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6#package-version-normalization. The URL to the destination file was wrong because of this.

I got to know about this from an email report through Chocolatey's contact service:

email text
Hi,

I am trying to install tinytex but I am getting an error. It seems like a file is not available anymore on the rstudio website. Do you have any idea how to fix the installation?

best,Ger

PS C:\Code\dassetup> choco install tinytex -y
Chocolatey v2.1.0
Installing the following packages:
tinytex
By installing, you accept licenses for the packages.

Progress: Downloading tinytex 2023.06... 13%
Progress: Downloading tinytex 2023.06... 39%
Progress: Downloading tinytex 2023.06... 64%
Progress: Downloading tinytex 2023.06... 89%
Progress: Downloading tinytex 2023.06... 100%

tinytex v2023.6.0 [Approved]
tinytex package files install completed. Performing other installation steps.
Attempt to get headers for https://github.com/rstudio/tinytex-releases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip fa
iled.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/rstudio/tinytex-releases
/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote serv
er returned an error: (404) Not Found."
Downloading tinytex
from 'https://github.com/rstudio/tinytex-releases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/rstudio/tinytex-rel
eases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote
server returned an error: (404) Not Found."
The install of tinytex was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\tinytex\tools\chocolateyinstall.ps1'.
See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
- tinytex (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\tinytex\tools\chocolateyinstall.ps1'.
See log for details.

Great installation

I have a small Linux board: RockPi 4B, the OS is a distro of Debian Buster 10, more precisely Armbian Buster, kernel 5.8.12-Rockchip64.
It downloaded, but when installing an error occurred. It took me some time to recognize that it uses a dependency.
Had to: apt-get install libfontconfig1 , maybe there are even more dependencies than that.

It has installed, I have tried to make a Hello World document and created PDF. So, very nice indeed. Thank you.

Problem installing in MacOS

I am trying to install it but I am getting the following error:

> install.packages("~/Downloads/TinyTeX-1-v2021.02.tgz", repos = NULL, type = .Platform$pkgType)
Installing package into ‘/Users/ofurtado/Library/R/4.0/library’
(as ‘lib’ is unspecified)
Error in install.packages : file ‘~/Downloads/TinyTeX-1-v2021.02.tgz’ is not a macOS binary package

I am using:
MacOS Catalina: 10.15.7
Latest version of R
Latest version of Rstudio

Any help would be greatly appreciated.

Installation fails on MacOS - TinyTeX/bin/x86_64-darwinlegacy: No such file or directory

When using tinytex::install_tinytex() I get the error Library/TinyTeX/bin/x86_64-darwinlegacy: No such file or directory.

This occurs when trying to install from the Terminal too using wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh.

I am running MacOS High Sierra 10.13.6 on an iMac Mid-2011 which might be the issue. Is there a different release that should work for me?


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/tinytex').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

`sys_bin` option is set to a GHA runner dir in TinyTeX bundle

@yihui

See this when installing on Arch Linux

# /root/.TinyTeX/bin/x86_64-linux/tlmgr option sys_bin
Destination for symlinks for binaries (sys_bin): /home/runner/bin

The installation was done with quarto install tool tinytex

This means that when doing tlmgr path add with the monthly bundle version, then /home/runner is created. I don't think that is right.

I am seeing that we do a post install configuration on TinyTeX:
https://github.com/rstudio/tinytex/blob/main/R/install.R#L461-L480

Is this to solve such issues ? Or was it for something else ?

is the fact that tlmgr option sys_bin is set to a value from the GH runner a limitation of our bundles ?

Maybe it is known and already documented but somehow I was suprised.

Official TinyTex Docker image

Hi!

First of all I would like to thank you for this great product you put together.

Second, I would like to ask if you have a plan on creating an official TinyTex docker image?
It could have all the tags (TinyTex-0 / 1 / 2 ) and even supports multiple architectures.

For my own purposes I created the following dockerfile (attached below), but if an official minimal image would be available on dockerhub or elsewhere it would be awesome. It would allow us (other users) not to bother with the installation, but only to add the needed plugins and run the app / generate the PDF (I assume its mostly used for generating PDF files).

My current dockerfile is:

FROM ubuntu:22.04

RUN apt-get update && apt-get install -y perl wget libfontconfig1 && \
    wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh  && \
    apt-get clean
ENV PATH="${PATH}:/root/bin"
RUN fmtutil-sys --all

# My custom requirements for generating the PDF file (should be added and installed via requirements.txt file)
RUN tlmgr install fancyhdr xcolor enumitem geometry tcolorbox titlesec wallpaper textpos tocloft ragged2e float fontspec lastpage pgf environ ncctools eso-pic oberdiek

TinyTex Chocopackage still not working System-wide

Hi

A few months ago I made a Pull request for adding a parameter for the SystemVar to allow the Chocopackage to install the TinyTex editor for all Users. Unfortunately, this is still not working, as the command currently used Writes the Value to what looks like a different SystemVar.

I managed to get it working with this Powershell for all Users on the System:

[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";$toolsDir\TinyTeX\bin\win32", [EnvironmentVariableTarget]::Machine)

If I use the TinyTex command:

cmd .exe /C `"$toolsDir\TinyTeX\bin\win32\tlmgr.bat path --w32mode=admin add`"

this will add it to the SystemVar but only for the installing User and not for every One on the system.

Maybe you could Check this again.

Thanks for your Help

Compilation with TinyTex leads to error (not with TinyTex-1)

Hello

I'm currently trying to put together a small guide on how to install latex in a easy way (for some people) and found TinyTex to be the easiest to do that. I've noticed with Quarto that it installs the package TinyTex, compared to the windows-bat installer found on the TinyTex-website, which installs I think TinyTex-1 or even TinyTex-2.

The reason why I mention this is due to a small little compilation error. When I'm using the Quarto installed TinyTex, it leads to an auto expansion is only possible with scalable fonts error, which I have no idea what it means exactly. But it doesn't seem to be a problem when using TinyTex-1 (remove the Quarto installed TinyTex in %APPDATA% and unzip the TinyTex-1 in the location).

I've used a previous full installation of texlive to work on the document (which I've linked below in the steps) and it work fine with the compilation.

These are the steps I've taken (make sure that the tinytex distribution is used, not a different one):

  • Download zipped project (it contains files for a class summary) advanced programming.zip
  • Install Quarto (version installed was 1.2.313)
  • quarto install tool tinytex or use TinyTex
  • Render the document main_aprog under semester 3/summary/advanced programming
  • Wait a bit and it should lead to an error

Could someone reproduce it and if possible help me out with this?

Keep old releases

Some of my documents rely on the outdated/obsolete/broken/unmaintained/wonderful {tabu} package which finally breaks in TeXlive 2021. Can we please keep old versions around for some time to account for this and similar situations?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.