Em Fri, 25 Jun 2021 20:32:47 +0900 Akira Yokosawa <akiyks@xxxxxxxxx> escreveu: > On Fri, 25 Jun 2021 12:24:23 +0200, Mauro Carvalho Chehab wrote: > > Em Fri, 25 Jun 2021 18:22:26 +0900 > > Akira Yokosawa <akiyks@xxxxxxxxx> escreveu: > > > >> On Fri, 25 Jun 2021 09:50:59 +0200, Mauro Carvalho Chehab wrote: > [...] > >> > >> One minor problem might be that the Sarasa font needs manual > >> download (and install). > >> > >> Thanks, Akira > > > > If this is not yet packaged as part of texlive packages > > on distros, this won't be a minor issue, as we'll need > > to find procedures and test it for all distros supported > > by the script. > > Existence of "Sarasa Mono SC" can be checked by the command: > > fc-list | grep "Sarasa Mono SC," | grep "style=Regular" | wc -l > > If the result is *not* "0", you have the font somewhere in your > fontconfig path. > > I think this is portable across distros. > Wouldn't this suffice for sphinx-pre-install? No. The sphinx-pre-install tool generate a list of commands needed to install the pre-reqs on a given distro. For instance, if you run on opensuse without texlive, it would print: # ./scripts/sphinx-pre-install Detected OS: openSUSE Tumbleweed 20210515. Sphinx version: 3.5.4 Warning: better to also install "latexmk". ... Warning: better to also install "xelatex". You should run: sudo zypper install --no-recommends texlive-latexmk-bin texlive-amscls texlive-amsfonts texlive-amsmath texlive-anyfontsize texlive-babel-english texlive-capt-of texlive-caption texlive-cmap texlive-colortbl texlive-courier texlive-dvips texlive-ec texlive-eqparbox texlive-euenc texlive-fancybox texlive-fancyvrb texlive-float texlive-fncychap texlive-framed texlive-helvetic texlive-luatex85 texlive-makeindex texlive-mdwtools texlive-metafont texlive-metapost texlive-multirow texlive-needspace texlive-oberdiek texlive-palatino texlive-parskip texlive-polyglossia texlive-preview texlive-psnfss texlive-tabulary texlive-threeparttable texlive-times texlive-titlesec texlive-tools texlive-ucs texlive-upquote texlive-wrapfig texlive-zapfchan texlive-zapfding texlive-xetex-bin The same command, when executed on a different distro will print a different set of packages and commands. Thanks, Mauro