gregorio-project / gregorio

The Gregorio Project
http://gregorio-project.github.io
Other
162 stars 43 forks source link

Error compiling with \gregorioscore{} on MacOS. #1574

Closed corei8 closed 1 year ago

corei8 commented 1 year ago

I am using lualatex 1.15.0 via TeX Live 2022, with Gregorio 6.0.0 (kpathsea version 6.3.4).

I am typesetting via the command line, using lualatex ‑‑shell‑escape myscore.tex. Whenever I use \gregorioscore to compile gabc, I get the contents of the .gabc file as the output rather than the score. I receive no errors.

The odd thing is that I can use \gabacsnippet command and the output is as expected.

rpspringuel commented 1 year ago

I can’t reproduce your issue from your description alone. Please post a minimal example that displays your problem.

Sent with GitHawk

corei8 commented 1 year ago

main.tex

% !TEX program = lualatex
% !TEX encoding = UTF-8
\documentclass[12pt]{memoir}
\usepackage{gregoriotex}
\gresetlinecolor{gregoriocolor}

\begin{document}

\gregorioscore{exsurge.gabc}

% Compiles as expected:
%\gabcsnippet{
    %(c4) Ex(d)súr(dfe)ge,(dcd.) *(,) qua(ffg)re(f) (::)
%}

\end{document}

exsurge.gabc

name: Populus Sion;
%%

(c3) Pó(eh/hi)pu(h)lus(h) (::) 

This is the result, rather than chant:

image

Here is the terminal output:

❯ latexmk -lualatex main.tex
Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 7 Jan. 2023. Version 4.79.
Latexmk: applying rule 'lualatex'...
Rule 'lualatex':  Reasons for rerun
Changed files or newly in use/created:
  exsurge.gabc
Category 'changed_user':
  exsurge.gabc

------------
Run number 1 of rule 'lualatex'
------------
------------
Running 'lualatex  -recorder  "main.tex"'
------------
This is LuaHBTeX, Version 1.15.0 (TeX Live 2022) 
 restricted system commands enabled.
(./main.tex
LaTeX2e <2022-11-01> patch level 1
 L3 programming layer <2023-02-02>
(/usr/local/texlive/2022/texmf-dist/tex/latex/memoir/memoir.cls
Document Class: memoir 2022/11/17 v3.7.19 configurable book, report, article do
cument class
(/usr/local/texlive/2022/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2022/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/memoir/mem12.clo)
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/array.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/dcolumn.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/delarray.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/tools/tabularx.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/textcase/textcase.sty))
(/usr/local/texlive/2022/texmf-dist/tex/lualatex/gregoriotex/gregoriotex.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-def/luatex.def)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(/usr/local/texlive/2022/texmf-dist/tex/latex/luacolor/luacolor.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2022/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty))
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/local/texlive/2022/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2022/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(/usr/local/texlive/2022/texmf-dist/tex/luatex/luamplib/luamplib.sty)
(/usr/local/texlive/2022/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2022/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-main.tex

(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-common.t
ex)
(main.gaux)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-spaces.t
ex)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-chars.te
x)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-signs.te
x)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-syllable
.tex)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-symbols.
tex)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-gsp-defa
ult.tex)
(/usr/local/texlive/2022/texmf-dist/tex/luatex/gregoriotex/gregoriotex-nabc.tex
)))
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-luatex.def)
(./main.aux) (/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/local/texlive/2022/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2022/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/local/texlive/2022/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(./exsurge.gabc) [1{/usr/local/texlive/2022/texmf-var/fonts/map/pdftex/updmap/p
dftex.map}] (./main.aux))
 1103 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 2 glyph, 11 attribute, 181 glue_sp
ec, 6 attribute_list, 2 write, 1 user_defined nodes
   avail lists: 2:160,3:21,4:2,5:43,6:16,7:212,9:116,11:4
</usr/local/texlive/2022/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.
otf>
Output written on main.pdf (1 page, 4652 bytes).
Transcript written on main.log.
Latexmk: Getting log file 'main.log'
Latexmk: Examining 'main.fls'
Latexmk: Examining 'main.log'
Latexmk: Log file says output to 'main.pdf'
Latexmk: All targets () are up-to-date
corei8 commented 1 year ago

Is anyone else having this issue? I am now getting the error:

image

and this is for every score that I try to include via \gregorioscore. I have tried including the scores with merely the score name, as well as prefixing ./. Same results both ways.

corei8 commented 1 year ago

I did a clean install of MacTeX, upgrading to 2023. This solved the issue for me, now the chant compiles as expected.