teatimeguest / setup-texlive-action

A GitHub Action to set up TeX Live
https://github.com/marketplace/actions/setup-texlive-action
MIT License
41 stars 2 forks source link

Any plans to add support for miktex? #328

Open lvjr opened 5 days ago

lvjr commented 5 days ago

My little tool texfindpkg supports both texlive and miktex and I want to run regression tests with GitHub Actions. It would be great if this action could support miktex too. Are there any plans?

teatimeguest commented 4 days ago

Thank you for the suggestion! I would like to consider MiKTeX support, but I am lacking knowledge for development because I am not a MiKTeX user. The official manual does not seem very helpful for this purpose. Are there any additional resources on MiKTeX internals for developers?

teatimeguest commented 4 days ago

Just to confirm, this means installing MiKTeX separately from TeX Live, rather than on top of or together with TeX Live, does it not?

pablgonz commented 4 days ago

@teatimeguest @lvjr See https://github.com/koppor/mwe-miktex/blob/main/.github/workflows/miktex.yml (thanks @koppor)

lvjr commented 4 days ago

In https://miktex.org/download I can find "Command-line installer" for Windows and a "deployment tutorial". The program is named as "miktexsetup.exe". And on Linux section, it mentions there is also a "miktexsetup" program. These are what I can find at present.

lvjr commented 4 days ago

Just to confirm, this means installing MiKTeX separately from TeX Live, rather than on top of or together with TeX Live, does it not?


Yes, and you may decide to make it a separate action "setup-miktex-action".

lvjr commented 4 days ago

@teatimeguest @lvjr See https://github.com/koppor/mwe-miktex/blob/main/.github/workflows/miktex.yml (thanks @koppor)

Thanks. this looks very useful.

koppor commented 1 day ago

Note that most of the TeX developers recommend using the "TeX Live" distriubtion.

For a full setup, use the docker iamge: https://gitlab.com/islandoftex/images/texlive

For a very small setup, use this action (or install-texlive by a latex developer. You can use the DEPP – Dependency Printer for TeX Live to determine all required packages.