Автоматическое выравнивание нескольких строк в Gregorio для литаний и стихов

Автоматическое выравнивание нескольких строк в Gregorio для литаний и стихов

Я пытаюсь использовать Gregorio для создания многострочного файла в Latex. Я успешно скомпилировал партитуры с помощью своей системы, так что с точки зрения рабочей установки Gregorio все работает нормально.

Пытаясь найти решение для создания многострочной партитуры, я наткнулся наэто "как". Я скопировал исходный код в различные файлы и попытался скомпилировать, и столкнулся с ошибкой, которую не могу понять. Я немного занимался макропрограммированием в LaTeX, но не очень понимаю разницу между LuaLaTeX и всеми другими доступными компиляторами. Я считаю, что это важно, потому что часть выходного журнала говорит, что "\pdfsavepos" не поддерживается". Вот вывод:

 This is LuaTeX, Version 0.95.0 (TeX Live 2016) 
 system commands enabled.
(./litany.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/report.cls
Document Class: report 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/local/texlive/2016/texmf-dist/tex/lualatex/gregoriotex/gregoriotex.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/lualatex/luatex-def/luatex.def
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/local/texlive/2016/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2016/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(/usr/local/texlive/2016/texmf-dist/tex/luatex/luaotfload/luaotfload.sty(using 
write cache: /Users/myusername/Library/texlive/2016/texmf-var/luatex-cache/gen
eric)(using read cache: /usr/local/texlive/2016/texmf-var/luatex-cache/generic 
/Users/myusername/Library/texlive/2016/texmf-var/luatex-cache/generic)tput: No value for $TERM and no -T specified

luaotfload | main : initialization completed in 0.633 seconds)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/luamplib/luamplib.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-main.tex
(litany.gaux)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-spaces.t
ex)(compiling luc: /usr/local/texlive/2016/texmf-var/luatex-cache/generic/fonts
/otl/greciliae.luc)(load luc: /Users/myusername/Library/texlive/2016/texmf-var
/luatex-cache/generic/fonts/otl/greciliae.luc)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-chars.te
x)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-signs.te
x)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-syllable
.tex)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-symbols.
tex(compiling luc: /usr/local/texlive/2016/texmf-var/luatex-cache/generic/fonts
/otl/greextra.luc)(load luc: /Users/myusername/Library/texlive/2016/texmf-var/
luatex-cache/generic/fonts/otl/greextra.luc))
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gsp-default.tex)
(/usr/local/texlive/2016/texmf-dist/tex/luatex/gregoriotex/gregoriotex-nabc.tex
))) (/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-base.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(/usr/local/texlive/2016/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty)))
(/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-savepos.sty

/usr/local/texlive/2016/texmf-dist/tex/latex/oberdiek/zref-savepos.sty:59: Pack
age zref Error: \pdfsavepos is not supported.
(zref)                It is provided by pdfTeX (1.40) or XeTeX.

See the zref package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.59 }{}
      %
? 
Process aborted

Я думаю, это как-то связано с тем, что Gregorio требует использования LuaLaTeX, а \pdfsavepos там не поддерживается. Есть идеи, как это исправить? Спасибо!

решение1

Я забыл убедиться, что пакеты поддержки обновлены. Я обновил утилиту TeXLive, и это не решило проблему; однако, когда я зашел в пакеты и переустановил "oberdiek", файлы в ссылке заработали просто отлично!

Связанный контент