IRC channel logs
2022-02-17.log
back to list of logs
<PurpleSym>Regarding TeX, rekado, I see that nbconvert is failing to write a PDF with this error: `! Font TU/lmr/m/n/10.95=[lmroman10-regular]:mapping=tex-text; at 10.95pt not loadable: Metric (TFM) file or installed font not found.` <rekado>can you reproduce this separately? <PurpleSym>I can reproduce it with `guix shell python-nbconvert texlive-base -- jupyter nbconvert Untitled.ipynb --to pdf` as well as exporting to latex and then running it through xetex. Anything else? <PurpleSym>(texlive-base is apparently required for `article.cls`) <rekado>texlive-lm provides lmroman10-regular.otf <rekado>they all use different font discovery mechanism <rekado>texlive-base is the minimum you need for a barely usable texlive <rekado>this gives you the core latex packages, texlive-bin, and just a little bit more. <rekado>I’ve done little with xelatex. It used to work with less fuzz than pdflatex, though. <rekado>could you give me the .tex file so I can investigate? <PurpleSym>Do I need to include texlive-tiny/-base into the texlive-updmap.cfg call? <rekado>honestly, I don’t know. I don’t have a mental model of what texlive-updmap.cfg does. <rekado>texlive-updmap.cfg has default-packages, which is all the packages that texlive-base propagates. <rekado>since texlive-base is just propagating packages and not providing anything on its own I think that’s equivalent <rekado>so: no, you don’t need to add texlive-base <rekado>texlive-tiny is just (texlive-updmap.cfg) without any extra packages <rekado>bah, the inconsistent naming of texlive packages really annoys me <rekado>(and it’s sad that new packages with the wrong names have been added) <rekado>PurpleSym: my current command keeps growing: guix shell -C texlive-base texlive-lm texlive-amsmath texlive-tcolorbox texlive-latex-trimspaces texlive-oberdiek texlive-generic-ltxcmds texlive-generic-infwarerr texlive-latex-parskip texlive-latex-kvoptions texlive-fontspec texlive-caption texlive-latex-float texlive-latex-geometry texlive-amsfonts texlive-latex-upquote texlive-eurosym texlive-latex-ucs texlive-latex-fancyvrb -- xelatex <civodul>rekado: is there a convention on meta-packages such as those that Debian provides? <rekado>you can grep for “name collection-” <PurpleSym>`python-nbconvert` already has a huge list of texlive inputs. It’s strange these are native-inputs though 🤨 *civodul admits not knowing how to access tlpdb :-/ <rekado>PurpleSym: this worked: guix shell -C texlive-base texlive-lm texlive-amsmath texlive-tcolorbox texlive-latex-trimspaces texlive-oberdiek texlive-generic-ltxcmds texlive-generic-infwarerr texlive-latex-parskip texlive-latex-kvoptions texlive-fontspec texlive-caption texlive-latex-float texlive-latex-geometry texlive-amsfonts texlive-latex-upquote texlive-eurosym texlive-latex-ucs texlive-latex-fancyvrb texlive-grffile texlive-adjustbox <rekado>texlive-hyperref texlive-zapfding texlive-stringenc texlive-titling texlive-tools texlive-ulem texlive-booktabs texlive-enumitem texlive-latex-jknapltx texlive-fonts-rsfs -- xelatex nbconvert.tex <civodul>rekado: would it make sense to import these as "texlive-collection-*"? <civodul>if it does, i can give it a try and start with a couple of them <PurpleSym>rekado: Unfortunately not for me, but it throws a different error: ! Math formula deleted: Insufficient extension fonts. <rekado>PurpleSym: I fixed that bug very recently <rekado>you need the new texlive-amsmath <rekado>sorry, the new texlive-amsfonts/fixed <rekado>commit 64fcf9508af318cc2d71811815cfbe99063867b1 <PurpleSym>Ah yes, with `time-machine` and `texlive-amsfonts-fixed` it works. Thanks! I’ll update the nbconvert package. <rekado>civodul: yes, we should provide packages for them. But you can’t just import them, I think, because they don’t have any contents. <rekado>and we have no recursive importer yet <rekado>and before we add new packages I think it would be a good idea to fix the build system + simple-texlive-package to produce higher quality packages <rekado>on wip-texlive I’ll first deprecate all of the old-style names <rekado>can we dump all of the deprecations at the bottom? <rekado>that file is so full of deprecationts already… <zimoun>civodul: thanks for the comments! Really helpful!