Juan Manuel Macías <maciasch...@posteo.net> writes: > I start by comment the error that you get when compiling. Is it possible > that you have an incomplete TeX Live installation? Distro repositories > usually offer TeX live in a modular way. On Arch Linux and its > derivatives, the texlive-lang and texlive-lang-extra packages should be > installed for non-Latin language support (this would include the luabidi > package). In the Ubuntu/Debian family I think the required package is > called texlive-lang-arabic. Anyway, I recommend installing TeX live in > its entirety (the drawback is that it takes up more space). I think that > in Ubuntu and family the meta-package is called texlive-full. Another > possibility that I recommend, especially on distros that package older > versions of TeX live, is to install the official TeX live distribution: > https://tug.org/texlive/acquire.html (this has the advantage of being > able to update everything more regularly via TeX live's own package > manager). If you want to keep the official packages of your distro, but > also want to try new things, it is also possible to create a portable > installation of TeX live on a pen drive: > https://tug.org/texlive/archive/portable-anchor.html
Thanks for the detailed explanation! We may put something similar (or shorter) into the manual (maybe as a footnote). On Gentoo, the required package is dev-texlive/texlive-langarabic. However, installing the package is not yet enough! With the same file, I am getting missing font errors: Setting \if@calendar@hebrew (/usr/share/texmf-dist/tex/latex/polyglossia/babel-hebrewalph.def)) (./bug.aux ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.19 \selectlanguage *{hebrew} ) (/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd) (/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty (/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty)) (./bug.out) (./bug.out) ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.25 \begin{document} (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd) (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd) ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.28 \tableofcontents (./bug.toc ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.1 \selectlanguage *{hebrew} ) ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.32 \end{equation} ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.34 \begin{verbatim} ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.34 \begin{verbatim} ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.38 \end{document} ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.38 \end{document} [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./bug.aux ! Package polyglossia Error: The current latin font does not contain the "Hebr ew" script! (polyglossia) Please define \hebrewfont with \newfontfamily comm and. See the polyglossia package documentation for explanation. Type H <return> for immediate help. ... l.19 \selectlanguage *{hebrew} )) (see the transcript file for additional information) 537 words of node memory still in use: 6 hlist, 2 vlist, 2 rule, 2 glue, 4 kern, 1 glyph, 8 attribute, 61 glue_spec , 8 attribute_list, 1 write nodes avail lists: 2:132,3:70,4:3,5:46,6:14,7:406,8:20,9:104,10:2 </usr/share/texmf-dist/fonts/opentype/public/lm/lmmono10-regular.otf></usr/shar e/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf></usr/share/texmf-d ist/fonts/opentype/public/lm/lmroman12-bold.otf></usr/share/texmf-dist/fonts/op entype/public/lm/lmroman12-regular.otf></usr/share/texmf-dist/fonts/opentype/pu blic/lm/lmroman17-regular.otf></usr/share/texmf-dist/fonts/type1/public/amsfont s/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb > Output written on bug.pdf (1 page, 28185 bytes). Transcript written on bug.log. Latexmk: Log file says output to 'bug.pdf' Latexmk: Summary of warnings from last run of *latex: =====Latex reported missing or unavailable character(s). =====See log file for details. Collected error summary (may duplicate other messages): lualatex: Command for 'lualatex' gave return code 1 Refer to 'bug.log' for details Latexmk: Examining 'bug.log' === TeX engine is 'LuaHBTeX' Latexmk: Errors, in force_mode: so I tried finishing targets -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>