Skip to content

Commit

Permalink
mention old version support in README
Browse files Browse the repository at this point in the history
Closes #119.
  • Loading branch information
xu-cheng committed Apr 1, 2023
1 parent 6bf9415 commit fe73b0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,17 @@ Noted that you should NOT use `{{ github.workspace }}` or `$GITHUB_WORKSPACE` in

You can find more information of `TEXINPUTS` [here](https://tex.stackexchange.com/a/93733).

### How to use old versions of TeXLive?

By default, this action always uses the latest docker image that contains the latest TeXLive updates. If you want to use old versions of TeXLive, you can change the action version tag accordingly. Currently, three last old versions of TeXLive are supported.

```yaml
- uses: xu-cheng/latex-action@v2 # TeXLive 2023
- uses: xu-cheng/latex-action@v2-texlive2022 # TeXLive 2022
- uses: xu-cheng/latex-action@v2-texlive2021 # TeXLive 2021
- uses: xu-cheng/latex-action@v2-texlive2020 # TeXLive 2020
```

### It fails due to `xindy` cannot be found.

This is an upstream issue where `xindy.x86_64-linuxmusl` is currently missing in TeXLive. To work around it, try [this](https://github.com/xu-cheng/latex-action/issues/32#issuecomment-626086551).
Expand Down

0 comments on commit fe73b0e

Please sign in to comment.