Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rstudio/tinytex-releases
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2022.04
Choose a base ref
...
head repository: rstudio/tinytex-releases
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Apr 4, 2022

  1. check out the branch explicitly, otherwise appveyor will check out th…

    …e commit, which will make `git commit` later commit to a detached HEAD
    yihui committed Apr 4, 2022
    Copy the full SHA
    f47aa84 View commit details
  2. TinyTeX release v2022.04.04

    yihui committed Apr 4, 2022
    Copy the full SHA
    ba3b3d3 View commit details

Commits on Apr 25, 2022

  1. Move appveyor workflow to GHA (#22)

    * Daily builds are now in yihui/tinytex workflow
    * Add a monthly build workflow that can  be run manually too
    * Separate choco publish workflow in a new file. Triggered as last step of monthly release
    
    Co-authored-by: Yihui Xie <xie@yihui.name>
    cderv and yihui authored Apr 25, 2022
    Copy the full SHA
    40fc5ff View commit details
  2. Correct way to call inputs

    cderv committed Apr 25, 2022
    Copy the full SHA
    857c95a View commit details
  3. Copy the full SHA
    06e8241 View commit details
  4. Copy the full SHA
    e28820d View commit details
  5. Revert "TinyTeX release v2022.04.25"

    This reverts commit 06e8241 as it was a
    test release
    cderv committed Apr 25, 2022
    Copy the full SHA
    0e4c3ea View commit details

Commits on May 2, 2022

  1. Copy the full SHA
    0790843 View commit details
  2. Copy the full SHA
    507893d View commit details
  3. Copy the full SHA
    170c508 View commit details

Commits on May 11, 2022

  1. Copy the full SHA
    c1306e4 View commit details
  2. strip trailing white spaces

    yihui committed May 11, 2022
    Copy the full SHA
    ff4e821 View commit details
  3. rm -f

    yihui committed May 11, 2022
    Copy the full SHA
    9ebfe5f View commit details
  4. update badge

    yihui committed May 11, 2022
    Copy the full SHA
    c54b4b4 View commit details

Commits on May 16, 2022

  1. moved account yihui to rstudio

    yihui committed May 16, 2022
    Copy the full SHA
    a30d692 View commit details

Commits on May 19, 2022

  1. add description for the TinyTeX-2 bundle, update bundle sizes, and …

    …add how to install a specific bundle with install_tinytex()
    yihui committed May 19, 2022
    Copy the full SHA
    ea4a6ab View commit details

Commits on Jul 6, 2022

  1. Fix monthly build workflow

    Correct indentation to get the schedule event to trigger
    cderv authored Jul 6, 2022
    2
    Copy the full SHA
    ed8d6ec View commit details
  2. Copy the full SHA
    4115a74 View commit details

Commits on Aug 1, 2022

  1. Copy the full SHA
    adc16f8 View commit details

Commits on Sep 1, 2022

  1. Copy the full SHA
    047c495 View commit details

Commits on Sep 8, 2022

  1. Copy the full SHA
    d6d9209 View commit details

Commits on Oct 1, 2022

  1. Copy the full SHA
    8756fda View commit details

Commits on Nov 1, 2022

  1. Copy the full SHA
    985ce74 View commit details

Commits on Nov 9, 2022

  1. Copy the full SHA
    772b9d1 View commit details

Commits on Dec 1, 2022

  1. Copy the full SHA
    a337412 View commit details

Commits on Dec 12, 2022

  1. Copy the full SHA
    e880351 View commit details
  2. fix #30: be less strict about the checksum pattern, i.e., do not assu…

    …me that it's 32 hex digits, because it could be empty (I'm not sure how it became empty the last time, though)
    yihui committed Dec 12, 2022
    Copy the full SHA
    c43a2a1 View commit details
  3. Copy the full SHA
    7ad4517 View commit details
  4. Copy the full SHA
    1173a87 View commit details
  5. the actual fix for #30: calculate the md5sum earlier in the correct w…

    …orking directory, otherwise TinyTeX-1.zip won't be found
    yihui committed Dec 12, 2022
    Copy the full SHA
    9b48561 View commit details
  6. Copy the full SHA
    8841f44 View commit details

Commits on Jan 1, 2023

  1. Copy the full SHA
    a76eeac View commit details

Commits on Jan 11, 2023

  1. Copy the full SHA
    73b5692 View commit details

Commits on Feb 1, 2023

  1. Copy the full SHA
    a5729f4 View commit details

Commits on Feb 7, 2023

  1. remove wrong id

    cderv authored Feb 7, 2023
    Copy the full SHA
    e5cf673 View commit details

Commits on Mar 1, 2023

  1. Copy the full SHA
    dfed43d View commit details

Commits on Mar 21, 2023

  1. Copy the full SHA
    0aeae07 View commit details
  2. Copy the full SHA
    a890b3c View commit details
  3. Copy the full SHA
    11cc354 View commit details
  4. Copy the full SHA
    edb4207 View commit details
  5. Remove warning in choco installation by providing full path

    this one
    ```
    WARNING: May not be able to find 'cmd.exe'. Please use full path for executables.
    ```
    cderv committed Mar 21, 2023
    Copy the full SHA
    b1ad25e View commit details

Commits on Apr 1, 2023

  1. Copy the full SHA
    e2ecc39 View commit details

Commits on May 1, 2023

  1. Copy the full SHA
    fd1f27a View commit details

Commits on May 30, 2023

  1. Copy the full SHA
    f97a528 View commit details

Commits on Jun 1, 2023

  1. Copy the full SHA
    04990ab View commit details

Commits on Jul 1, 2023

  1. Copy the full SHA
    2d424b4 View commit details

Commits on Jul 8, 2023

  1. Stop using ChocolateyPackageVersion for constructing download url (#40

    )
    
    There is a breaking change where chocolatey
    does something weird with that.
    
    fixes #39
    naveen521kk authored Jul 8, 2023
    Copy the full SHA
    4a7d0cc View commit details
  2. Copy the full SHA
    31b9632 View commit details

Commits on Aug 1, 2023

  1. Copy the full SHA
    d08715f View commit details

Commits on Sep 1, 2023

  1. Copy the full SHA
    37ea384 View commit details
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: [yihui]
patreon:
custom:
50 changes: 50 additions & 0 deletions .github/workflows/choco-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
on:
workflow_dispatch:
inputs:
publish:
description: Whether to publish or not the package on chocolatey
required: false
type: boolean
default: false
# triggered when a new monthly build create a tag
workflow_call:
inputs:
publish:
description: Whether to publish or not the package on chocolatey
required: false
type: boolean
default: false
secrets:
CHOCO_KEY:
required: true

name: Build Choco package & Publish

jobs:
build-windows:
runs-on: windows-latest
name: Build chocolatey package

steps:
- name: Clone repo
uses: actions/checkout@v4
with:
# required to be sure to get the last commit
ref: master

- name: Build Choco package
working-directory: choco
run: |
choco pack
choco install --no-progress tinytex -source .
choco uninstall -y tinytex
- name: Publish Choco Package
working-directory: choco
env:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}
if: ${{ inputs.publish }}
run: |
echo "deploying to chocolatey"
choco apikey --key $Env:CHOCO_KEY --source https://push.chocolatey.org/
choco push --source https://push.chocolatey.org/
102 changes: 102 additions & 0 deletions .github/workflows/monthly-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
on:
# Manual trigger mainly to create patch version
workflow_dispatch:
inputs:
patch_version:
description: 'Set the day of the patch version to create (i.e., z in x.y.z), so we could release patch versions like 2020.09.19 when necessary'
required: false
type: string
publish_choco:
description: 'Should we publish choco version'
required: true
type: boolean
default: false
# Monthly release
schedule:
- cron: '23 7 1 * *'


name: Publish Monthly Release

jobs:
build-linux:
runs-on: ubuntu-latest
name: Publish Montly release

env:
TINYTEX_INSTALLER: TinyTeX
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}

steps:
- name: Clone repo
uses: actions/checkout@v4
with:
# needed to get the tags
fetch-depth: 0

- name: Configure Git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Current tag to target
run: |
# Are we making a patch version ?
patch_version=${{ github.event.inputs.patch_version }}
[ ! -z $patch_version ] && patch_version="."$patch_version
# if so, append to usual montly number
current_tag="$(date '+%Y.%m')${patch_version}"
tinytex_release="v${current_tag}"
echo "current dated tag is $current_tag"
echo "tinytex release tag will be $tinytex_release"
# if the tag exist, we fail
if [ $(git tag -l "${tinytex_release}") ]; then
echo "::error::Tag already ${tinytex_release} exist"
exit 1
fi
echo "CURRENT_TAG=$current_tag" >> $GITHUB_ENV
echo "TINYTEX_RELEASE=$tinytex_release" >> $GITHUB_ENV
- name: Create download directory
run: |
mkdir ${{ runner.temp }}/tinytex-bundles
- name: Download TinyTeX from daily release
working-directory: ${{ runner.temp }}/tinytex-bundles
run: |
gh release download daily
rm -f regex.tar.gz
rm -f TinyTeX-2* # do not release the full TeX Live bundle
# calculate md5sum of TinyTeX-1.zip for chocolatey
echo "TINYTEX_MD5SUM=$(md5sum TinyTeX-1.zip | cut -d' ' -f1)" >> $GITHUB_ENV
# rename files adding version
for f in TinyTeX*; do mv $f $(echo "$f" | sed "s/^TinyTeX[^.]*/&-${TINYTEX_RELEASE}/"); done
mv installer-unix.tar.gz installer-unix-${TINYTEX_RELEASE}.tar.gz
- name: Update chocolatey package info
run: |
sed -i -E "s|(\s*<version>)([0-9.]+)(</version>\s*)|\1${CURRENT_TAG}\3|" choco/tinytex.nuspec
sed -i -E "s|(\s*checksum\s*=\s*')([^']*)('\\s*)|\1${TINYTEX_MD5SUM}\3|" choco/tools/chocolateyinstall.ps1
sed -i -E "s|($version\s*=\s*')([0-9.]+)('\s*)|\1${CURRENT_TAG}\3|" choco/tools/chocolateyinstall.ps1
git add -u
git diff-index --quiet HEAD && exit 0 || git commit -m"TinyTeX release v${CURRENT_TAG}"
- name: Create Git tag
run: |
git tag -f $TINYTEX_RELEASE
git push
git push -f --tags
- name: Create new Github release
run: |
gh release create $TINYTEX_RELEASE -F monthly-notes.md -t "TinyTeX $TINYTEX_RELEASE" ${{ runner.temp }}/tinytex-bundles/*
deploy-choco:
needs: [build-linux]
uses: ./.github/workflows/choco-package.yaml
with:
# if manually trigger, then we use the value from the inputs
publish: ${{ fromJSON( (github.event.inputs.publish_choco == '' && true) || github.event.inputs.publish_choco ) }}
secrets:
CHOCO_KEY: ${{ secrets.CHOCO_KEY }}
84 changes: 49 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,57 @@
# TinyTeX releases for Windows, macOS, and Linux

[![Build
status](https://ci.appveyor.com/api/projects/status/2ortb2mqkm2fjg4k/branch/master?svg=true)](https://ci.appveyor.com/project/yihui/tinytex-releases/branch/master)
[![Publish Monthly
Release](https://github.com/rstudio/tinytex-releases/actions/workflows/monthly-release.yaml/badge.svg)](https://github.com/rstudio/tinytex-releases/actions/workflows/monthly-release.yaml)

<a href="https://yihui.org/tinytex/"><img src="https://yihui.org/images/logo-tinytex.png" alt="tinytex logo" align="right" width="200px"/></a>

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/yihui/tinytex>) and project homepage
(<https://github.com/rstudio/tinytex>) and project homepage
(<https://yihui.org/tinytex/>) for more info.

## Releases

The binary packages of TinyTeX are published (usually monthly) to the Github
Releases of this repository:
<https://github.com/yihui/tinytex-releases/releases> Each release contains three
variations:
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. If you install this variation, you may install any other packages
via `tlmgr` (which is a utility included in this variation), e.g.,
`tlmgr install latex-bin framed`.
- `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](https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt)
- `TinyTeX-1` contains [about 90 LaTeX
packages](https://github.com/rstudio/tinytex/blob/main/tools/pkgs-custom.txt)
enough to compile common R Markdown documents (which was the original
motivation of the TinyTeX project).

- `TinyTeX.*` contains [more LaTeX
packages](https://github.com/yihui/tinytex/blob/master/tools/pkgs-yihui.txt)
- `TinyTeX` contains [more LaTeX
packages](https://github.com/rstudio/tinytex/blob/main/tools/pkgs-yihui.txt)
requested by the community. The list of packages may grow as time goes by,
and the size of this variation will grow correspondingly.
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](https://github.com/rstudio/tinytex-releases/releases/daily).

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/VARIATION.EXT`, where `VARIATION` can be `TinyTeX-0`,
`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>.
<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).

| | Windows | macOS | Linux |
|-------------------------------|------------------------------------------------------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------|
| TinyTeX-0 | [TinyTeX-0.zip](https://yihui.org/tinytex/TinyTeX-0.zip) (27 MB) | [TinyTeX-0.tgz](https://yihui.org/tinytex/TinyTeX-0.tgz) (1.4 MB) | [TinyTeX-0.tar.gz](https://yihui.org/tinytex/TinyTeX-0.tar.gz) (670 KB) |
| TinyTeX-1 | [TinyTeX-1.zip](https://yihui.org/tinytex/TinyTeX-1.zip) (99 MB) | [TinyTeX-1.tgz](https://yihui.org/tinytex/TinyTeX-1.tgz) (83 MB) | [TinyTeX-1.tar.gz](https://yihui.org/tinytex/TinyTeX-1.tar.gz) (64 MB) |
| TinyTeX | [TinyTeX.zip](https://yihui.org/tinytex/TinyTeX.zip) (200+ MB) | [TinyTeX.tgz](https://yihui.org/tinytex/TinyTeX.tgz) (188+ MB) | [TinyTeX.tar.gz](https://yihui.org/tinytex/TinyTeX.tar.gz) (160+ MB) |
| tinitex binary (experimental) | [tinitex.zip](https://yihui.org/tinytex/tinitex.zip) (24 MB) | [tinitex.tgz](https://yihui.org/tinytex/tinitex.tgz) (28 MB) | [tinitex.tar.gz](https://yihui.org/tinytex/tinitex.tar.gz) (31 MB) |
| bundle | Windows | macOS | Linux |
|-------------------------------|-------------------------------------------------------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------|
| TinyTeX-0 | [TinyTeX-0.zip](https://yihui.org/tinytex/TinyTeX-0.zip) (27 MB) | [TinyTeX-0.tgz](https://yihui.org/tinytex/TinyTeX-0.tgz) (1.1 MB) | [TinyTeX-0.tar.gz](https://yihui.org/tinytex/TinyTeX-0.tar.gz) (800 KB) |
| TinyTeX-1 | [TinyTeX-1.zip](https://yihui.org/tinytex/TinyTeX-1.zip) (99 MB) | [TinyTeX-1.tgz](https://yihui.org/tinytex/TinyTeX-1.tgz) (84 MB) | [TinyTeX-1.tar.gz](https://yihui.org/tinytex/TinyTeX-1.tar.gz) (66 MB) |
| TinyTeX | [TinyTeX.zip](https://yihui.org/tinytex/TinyTeX.zip) (225+ MB) | [TinyTeX.tgz](https://yihui.org/tinytex/TinyTeX.tgz) (217+ MB) | [TinyTeX.tar.gz](https://yihui.org/tinytex/TinyTeX.tar.gz) (188+ MB) |
| TinyTeX-2 | [TinyTeX-2.exe](https://yihui.org/tinytex/TinyTeX-2.exe) (1.4 GB) | [TinyTeX-2.tgz](https://yihui.org/tinytex/TinyTeX-2.tgz) (1.8 GB) | [TinyTeX-2.tar.gz](https://yihui.org/tinytex/TinyTeX-2.tar.gz) (1.7 GB) |
| tinitex binary (experimental) | [tinitex.zip](https://yihui.org/tinytex/tinitex.zip) (25 MB) | [tinitex.tgz](https://yihui.org/tinytex/tinitex.tgz) (30 MB) | [tinitex.tar.gz](https://yihui.org/tinytex/tinitex.tar.gz) (33 MB) |

For those who are curious about how these packages are built, please read [the
FAQ 4 of TinyTeX](https://yihui.org/tinytex/faq/).
@@ -56,7 +63,7 @@ scripts, Chocolatey, or Scoop to install it.

### R

You may use the R package [**tinytex**](https://github.com/yihui/tinytex) to
You may use the R package [**tinytex**](https://github.com/rstudio/tinytex) to
install TinyTeX. By default, [the function
`tinytex::install_tinytex()`](https://yihui.org/tinytex/#for-r-users) installs
the latest daily build of TinyTeX. If you want to install a specific version in
@@ -67,15 +74,13 @@ tinytex::install_tinytex(version = "2020.10")
# use version = "latest" if you want to install the latest release
```

Note that `install_tinytex()` installs the variation `TinyTeX-1.*`. If you want
to install `TinyTeX.*` or `TinyTeX-0.*`, you need to use the function
`install_prebuilt()`, e.g.,
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.,

``` r
tinytex:::install_prebuilt('TinyTeX')
# Or tinytex:::install_prebuilt('TinyTeX-0')
tinytex::install_tinytex(bundle = 'TinyTeX')
# You can also specify the version, e.g,
# tinytex:::install_prebuilt('TinyTeX', version = '2020.10')
# tinytex::install_tinytex(bundle = 'TinyTeX', version = '2020.10')
```

### Shell/Batch scripts
@@ -84,9 +89,9 @@ 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 variations of TinyTeX via
the environment variable `TINYTEX_INSTALLER`, e.g., `TINYTEX_INSTALLER=TinyTeX`
(the default is `TinyTeX-1`).
`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

@@ -101,14 +106,23 @@ choco install tinytex
```

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

``` powershell
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:

``` powershell
choco uninstall tinytex
```

The Chocolatey package installs `TinyTeX-1` (see [above](#releases)).

### Scoop

Scoop is another package manager for Windows. You need to install
Loading