This is very useful, so +1 to packaging it.

I don't know if there's a better solution. There is an R package called
tinytex [1] that provides automatic installation of TeXLive packages in a
user library. AFAIK, it just compiles the stuff, parses the logs for errors
looking for "blablabla.sty not found", and then installs them and retries
until everything is fine.

[1] https://yihui.org/tinytex/

Iñaki

On Tue, 1 Aug 2023 at 14:19, Ankur Sinha <sanjay.an...@gmail.com> wrote:

> Hi folks,
>
> Would any Fedora TeXLive users have any scripts to figure out what
> TeXLive packages a TeX/LaTeX document uses and install them using dnf?
>
> I've got this hacked up and it does work and I was wondering if I should
> move it to a different repository and package it up to make it available
> to all Fedora users, but does someone have a better solution/tool?
>
> https://github.com/sanjayankur31/100_dotfiles/blob/main/bin/fedora-install-texlive-deps.sh
>
> (also attached)
>
> --
> Thanks,
> Regards,
> Ankur Sinha "FranciscoD" (He / Him / His) |
> https://fedoraproject.org/wiki/User:Ankursinha
> Time zone: Europe/London
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>


-- 
Iñaki Úcar
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to