On Mon, Mar 31, 2025 at 9:48 PM Travis Scrimshaw <tcscr...@gmail.com> wrote: > > Hi everyone, > There has been a PR giving a Chinese (simplified) translation of the Sage > tour: > > https://github.com/sagemath/sage/pull/39792 > > We have had a long-standing problem of getting the pdf docs to compile, but > the author was apparently able to solve the issue by using xelatex. However, > I have two questions/issues: > > 1. Are we allowed to have the latex engine set for xelatex and assume the > user has this feature (if they care about compiling the pdf doc)? (The only > other exception is uplatex for the Japanese docs.) If not, do we want to make > that a dependency specifically for the Chinese translation pdf building?
it's allowed, we in principle support pdflatex, xelatex, and lualatex. However, can lualatex be used instead? That's what CI is running, and that's what TeXperts recommend - xelatex is no longer developed. > 2. The bot on the PR is failing the docbuild, possibly because of the > previous question/point. Although I can't figure out how to get at the actual > log to actually check because the output shown is completely useless. (This > has become an issue for all doc building since moving to GH.) Does anyone > know how to verify this? I'm not sure what your problem is there. The output is exactly what it is for the local build (except the the parts need to be unfolded by clicking on the corresponding tags) E.g. https://github.com/sagemath/sage/actions/runs/14165616732/job/39688003779?pr=39792#step:12:19456 (scroll to the line 19456) you'll see [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_quicktutorial.rst:384: WARNING: undefined label: 'sage.geometry.polyhedron.base' [ref.ref] [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst:84: WARNING: undefined label: 'sage.geometry.polyhedron.constructor' [ref.ref] [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst:104: WARNING: undefined label: 'sage.geometry.polyhedron.parent' [ref.ref] [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst:499: WARNING: undefined label: 'sage.geometry.polyhedron.backend_cdd' [ref.ref] [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst:503: WARNING: undefined label: 'sage.geometry.polyhedron.backend_ppl' [ref.ref] [sagemath_doc_pdf-none] [spkg-install] [thematic_] /sage/src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst:507: WARNING: undefined label: 'sage.geometry.polyhedron.backend_polymake' [ref.ref] ... and then at the line 19553 you see [sagemath_doc_pdf-none] [spkg-install] Run number 3 of rule 'pdflatex' [sagemath_doc_pdf-none] [spkg-install] ------------ [sagemath_doc_pdf-none] [spkg-install] ------------ [sagemath_doc_pdf-none] [spkg-install] Running 'lualatex --file-line-error --interaction=batchmode -recorder "thematic_tutorials.tex"' [sagemath_doc_pdf-none] [spkg-install] ------------ [sagemath_doc_pdf-none] [spkg-install] This is LuaHBTeX, Version 1.17.0 (TeX Live 2023/Debian) [sagemath_doc_pdf-none] [spkg-install] restricted system commands enabled. [sagemath_doc_pdf-none] [spkg-install] Latexmk: Getting log file 'thematic_tutorials.log' [sagemath_doc_pdf-none] [spkg-install] Latexmk: Examining 'thematic_tutorials.fls' [sagemath_doc_pdf-none] [spkg-install] Latexmk: Examining 'thematic_tutorials.log' [sagemath_doc_pdf-none] [spkg-install] Latexmk: Index file 'thematic_tutorials.idx' was written [sagemath_doc_pdf-none] [spkg-install] Latexmk: Log file says output to 'thematic_tutorials.pdf' [sagemath_doc_pdf-none] [spkg-install] Latexmk: All targets (thematic_tutorials.pdf) are up-to-date [sagemath_doc_pdf-none] [spkg-install] [sagemath_doc_pdf-none] [spkg-install] make[4]: Leaving directory '/sage/local/share/doc/sage/latex/en/thematic_tutorials' [sagemath_doc_pdf-none] [spkg-install] Build finished. The built documents can be found in /sage/local/share/doc/sage/pdf/en/thematic_tutorials. [sagemath_doc_pdf-none] [spkg-install] make[3]: Leaving directory '/sage/src/doc' [sagemath_doc_pdf-none] [spkg-install] make[2]: *** [Makefile:90: doc-pdf-other] Error 2 [sagemath_doc_pdf-none] [spkg-install] make[2]: Leaving directory '/sage/src/doc' [sagemath_doc_pdf-none] ::endgroup:: [sagemath_doc_pdf-none] ************************************************************************ [sagemath_doc_pdf-none] Error installing package sagemath_doc_pdf-none Dima -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0UtWPJWCyO856XObU%3D4hbPpkZeVGvWsq1Z_DiwRHZxDA%40mail.gmail.com.