dcpurton / scripture

A LaTeX style for typesetting Bible quotations
LaTeX Project Public License v1.3c
10 stars 0 forks source link

! Undefined control sequence. \__scripture_begin:n ... \hook_gclear_next_code:n #45

Closed hanetzer closed 2 years ago

hanetzer commented 2 years ago

Gentoo linux, up to date as of 10m ago. lualatex:

This is LuaHBTeX, Version 1.13.0 (TeX Live 2021 Gentoo Linux)

Execute  'luahbtex --credits'  for credits and version details.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2 or (at your option)
any later version. For more information about these matters, see the file
named COPYING and the LuaTeX source.

LuaTeX is Copyright 2021 Taco Hoekwater and the LuaTeX Team.

xelatex:

XeTeX 3.141592653-2.6-0.999993 (TeX Live 2021 Gentoo Linux)
kpathsea version 6.3.3
Copyright 2021 SIL International, Jonathan Kew and Khaled Hosny.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 72.1; using 72.1
Compiled with zlib version 1.2.13; using 1.2.13
Compiled with FreeType2 version 2.12.1; using 2.12.1
Compiled with Graphite2 version 1.3.14; using 1.3.14
Compiled with HarfBuzz version 5.3.0; using 5.3.1
Compiled with libpng version 1.6.38; using 1.6.38
Compiled with pplib version v2.05 less toxic i hope
Compiled with fontconfig version 2.14.0; using 2.14.0

pdflatex:

pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2021 Gentoo Linux)
kpathsea version 6.3.3
Copyright 2021 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.38; using libpng 1.6.38
Compiled with zlib 1.2.13; using zlib 1.2.13
Compiled with xpdf version 4.03

error:

! Undefined control sequence.
\__scripture_begin:n ... \hook_gclear_next_code:n
                                                  {para/before}\skip_set:Nn ...

l.9 \begin{scripture}[Amos 3:6--7][version=NRSV]

?

mwe:

% vim: spell spelllang=en ft=tex
\documentclass[14pt,a4paper,english]{extbook}

\usepackage[colorlinks=true,linkcolor=black,urlcolor=black]{hyperref}
\usepackage{scripture}

\begin{document}

\begin{scripture}[Amos 3:6--7][version=NRSV]
    ``Is a trumpet is blown in a city, and the people are not afraid? Does
    disaster befall a city, unless the LORD has done it?''

    ``Surely the Lord GOD does nothing, without revealing His secret
    to his servants the prophets.''
\end{scripture}

\end{document}
dcpurton commented 2 years ago

I'll check, but I see you running TeXLive 2021. I think you'll need TeXLive 2022.

It would be surprising if this function was removed from the LaTeX3 kernel.

hanetzer commented 2 years ago

Seems its a 'me' thing. Gentoo ships a slightly older version, and there's currently no work being done on updating. setup a chroot to get thru, but may be worthwhile to note you need a newer latex.

dcpurton commented 2 years ago

There is probably a warning in your log file that your version of LaTeX is too old.

hanetzer commented 2 years ago

True, there was, but it struck me as being 'wrong' as my installed version was 2021; I didn't realize that they were 'backdated' so to speak.

dcpurton commented 2 years ago

I'll note the minimum LaTeX version more clearly in the documentation for next release.