Skip to content

Missing highest variant and cannot download TinyTeX for linux ARM with variant 2 #43

Description

@IvanaGyro

Currently, https://github.com/rstudio/tinytex-releases releases four variants of TinyTex bundle:

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 100 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.

pytinytex.download_tinytex(variation=2) is mapped to TinyTeX not TinyTeX-2 and TinyTeX-2 is missing. I suggest let the variant number match the release suffix.

  • variant=0 => TinyTeX-0
  • variant=1 => TinyTeX-1
  • variant=None => TinyTeX
  • variant=2 => TinyTeX-2

Additionally, pytinytex only accept .tar.gz package when variant is 2. However, the package for linux ARM ends with .tar.xz instead, so linux arm machine fails to download TinyTex.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions