Re: [PATCH v2 0/5] Address some issues with sphinx detection
From: Mauro Carvalho Chehab
Date: Thu Jul 07 2022 - 16:34:01 EST
Em Wed, 6 Jul 2022 23:31:09 +0900
Akira Yokosawa <akiyks@xxxxxxxxx> escreveu:
> [CC: update address of ksummit]
>
> On Tue, 5 Jul 2022 13:15:57 +0900, Akira Yokosawa wrote:
> > Hi Mauro,
> [...]
> >
> > Fedora, RHEL/CentOS, and openSUSE Leap provide helpful packages
> > for installing math expression support.
> >
> > Fedora 36 python3-sphinx-latex (python3-sphinx depends on this)
> > RHEL 9/CentOS stream 9 ditto
> > openSUSE Leap 15.4 python3-Sphinx_4_2_0-latex
> > (python3-Sphinx_4_2_0 depends on this) or
> > python3-Sphinx-latex
> > (python3-Sphinx depends on this, version: 2.3.1)
>
> These packages are supposed to cover LaTeX packages necessary
> for building LaTeX sources the version of Sphinx generates.
>
> HOWEVER, in my test of openSUSE Leap 15.4, pythno3-Sphinx-4_2_0-latex
> does not cover texlive-tex-gyre, which is required since Sphinx 4.0.0.
>
> Changelog of Sphinx 4.0.0 [1] says:
>
> > Dependencies
> >
> > 4.0.0b1
> >
> > [...]
> > * LaTeX: add tex-gyre font dependency
>
> [1]: https://www.sphinx-doc.org/en/master/changes.html#release-4-0-0-released-may-09-2021
>
> I'm thinking of opening a ticket at openSUSE's bugzilla.
>
> Fedora 36's python3-sphinx-latex (for Sphinx 4.4.0) has
> texlive-collection-fontsrecommended and covers texlive-tex-gyre naturally.
>
Yeah, I remember the script started using some meta-packages for LaTeX.
This had to change a couple of times because distros that have dozens of
packages for it were not installing everything on their meta packages.
So, the packages install but they don't run as they depend on other
non-installed packages.
That's basically why I added a list of *.sty inside the script and started
using kpsewhich to double-check if all dependencies are there.
Regards,
Mauro