comma causing error

20 views
Skip to first unread message

Pater Hugo

unread,
Jan 7, 2022, 4:32:12 AMJan 7
to Gregorio Users
For some reason 

<c>Q</c>ui(c4g) prí(h)di(h)e(h) quam(h) pa(h)te(h)ré(h)tur(g),
ac(g)cé(h)pit(h) pa(h)nem(h) in(h) sanc(h)tas(h) ac(h) ve(h)ne(h)rá(h)bi(h)les(h) ma(h)nus(h) su(i)as(h)

works just fine, but

<c>Q</c>ui(c4g) prí(h)di(h)e(h) quam(h) pa(h)te(h)ré(h)tur(g),
ac(g)cé(h)pit(h) pa(h)nem(h) in(h) sanc(h)tas(h) ac(h) ve(h)ne(h)rá(h)bi(h)les(h) ma(h)nus(h) su(i)as(h),

refuses to generate the pdf
Any ideas, anybody?

I'll add the output:

This is LuaHBTeX, Version 1.13.2 (TeX Live 2021/W32TeX)

system commands enabled.

(./test.tex

LaTeX2e <2021-11-15> patch level 1

L3 programming layer <2021-11-22>

(c:/texlive/2021/texmf-dist/tex/latex/base/article.cls

Document Class: article 2021/10/04 v1.4n Standard LaTeX document class

(c:/texlive/2021/texmf-dist/tex/latex/base/size11.clo))

(c:/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.sty

(c:/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse.sty

(c:/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty

(c:/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-luatex.def)))

(c:/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty

(c:/texlive/2021/texmf-dist/tex/latex/base/fontenc.sty)

(c:/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.cfg)))

(c:/texlive/2021/texmf-dist/tex/lualatex/gregoriotex/gregoriotex.sty

(c:/texlive/2021/texmf-dist/tex/generic/iftex/iftex.sty)

(c:/texlive/2021/texmf-dist/tex/latex/xcolor/xcolor.sty

(c:/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.cfg)

(c:/texlive/2021/texmf-dist/tex/latex/graphics-def/luatex.def))

(c:/texlive/2021/texmf-dist/tex/latex/luacolor/luacolor.sty)

(c:/texlive/2021/texmf-dist/tex/latex/kvoptions/kvoptions.sty

(c:/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty)

(c:/texlive/2021/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)

(c:/texlive/2021/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty))

(c:/texlive/2021/texmf-dist/tex/latex/graphics/graphicx.sty

(c:/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty

(c:/texlive/2021/texmf-dist/tex/latex/graphics/trig.sty)

(c:/texlive/2021/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))

(c:/texlive/2021/texmf-dist/tex/luatex/luatexbase/luatexbase.sty

(c:/texlive/2021/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))

(c:/texlive/2021/texmf-dist/tex/luatex/luamplib/luamplib.sty)

(c:/texlive/2021/texmf-dist/tex/generic/xstring/xstring.sty

(c:/texlive/2021/texmf-dist/tex/generic/xstring/xstring.tex))

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-main.tex

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-common.tex)

(test.gaux)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-spaces.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-chars.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-signs.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-syllable.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-symbols.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-gsp-default.tex)

(c:/texlive/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex-nabc.tex)))

(c:/texlive/2021/texmf-dist/tex/latex/geometry/geometry.sty

(c:/texlive/2021/texmf-dist/tex/generic/iftex/ifvtex.sty)) (./test.aux)

(c:/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)

(c:/texlive/2021/texmf-dist/tex/context/base/mkii/supp-pdf.mkii

[Loading MPS to PDF converter (version 2006.09.02).]

) (c:/texlive/2021/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty

(c:/texlive/2021/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))

*geometry* driver: auto-detecting

*geometry* detected driver: luatex

'gregorio-6_0_0' is not recognized as an internal or external command,

operable program or batch file.

Module gregoriotex Warning: warning:no name specified, put `name:...;' at the b

eginning of the file, can be dangerous with some output formats on input line 1

5

Module gregoriotex Warning: error:syntax error on input line 15

c:/texlive/2021/texmf-dist/tex/latex/base/ltluatex.lua:110:

Module gregoriotex Error:

(gregoriotex) An error occured when compiling the score file

(gregoriotex) 'teIgitur.gabc' with gregorio.

(gregoriotex) Please check your score file. on input line 15


stack traceback:

[C]: in function 'error'

c:/texlive/2021/texmf-dist/tex/latex/base/ltluatex.lua:110: in function <c:/te

xlive/2021/texmf-dist/tex/latex/base/ltluatex.lua:109>

(...tail calls...)

...e/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex.lua:826: in upvalue 'c

ompile_gabc'

...e/2021/texmf-dist/tex/luatex/gregoriotex/gregoriotex.lua:950: in field 'inc

lude_score'

[\directlua]:1: in main chunk.

\gre@gregorioscore ...allowdeprecated@asboolean )}

\or \gre@debugmsg {compile...


l.15 \gregorioscore{teIgitur}

Matthias Bry

unread,
Jan 7, 2022, 5:00:17 AMJan 7
to gregori...@googlegroups.com
Hello Father,

The Gregorio compiler is not happy that no notes follow the last comma in the score. If you add parentheses at the end like so it compiles :

<c>Q</c>ui(c4g) prí(h)di(h)e(h) quam(h) pa(h)te(h)ré(h)tur(g),
ac(g)cé(h)pit(h) pa(h)nem(h) in(h) sanc(h)tas(h) ac(h) ve(h)ne(h)rá(h)bi(h)les(h) ma(h)nus(h) su(i)as(h),()

However this is _not_ the proper solution because it will render the text as "ma-nus su-as-," instead of "ma-nus su-as,"

So what you should really write is

<c>Q</c>ui(c4g) prí(h)di(h)e(h) quam(h) pa(h)te(h)ré(h)tur(g),
ac(g)cé(h)pit(h) pa(h)nem(h) in(h) sanc(h)tas(h) ac(h) ve(h)ne(h)rá(h)bi(h)les(h) ma(h)nus(h) su(i)as,(h)

In Christo,

Matthias

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gregorio-users/dc71300d-6d36-46c3-a9e4-30afeb18a42dn%40googlegroups.com.

pate...@beslotentuin.nl

unread,
Jan 7, 2022, 7:33:02 AMJan 7
to gregori...@googlegroups.com
Dear Matthias,

Sorry to disturb you again with my rookie questions, but I can't seem to solve the following problem: I put the text of the rubric above my score with <alt></alt> How can I turn it red? Normally I'd put them between <c></c>, but that does not deliver.

Best wishes,

Fr. Hugo

Op 7 januari 2022 11:00:02 +01:00, schreef Matthias Bry <matthi...@gmail.com>:
You received this message because you are subscribed to a topic in the Google Groups "Gregorio Users" group.
To unsubscribe from this group and all its topics, send an email to gregorio-user...@googlegroups.com.

Matthias Bry

unread,
Jan 7, 2022, 7:44:40 AMJan 7
to gregori...@googlegroups.com
Hello Father,

You can change the style of the above-lines text with

\grechangestyle{abovelinestext}{<insert style here>}, for instance, for "gregorio red" small print:

\grechangestyle{abovelinestext}{\color{gregoriocolor}\footnotesize} Look up \grechangestyle in GregorioRef.pdf for the list of styles you can change. They are on p. 35.

Additionally, I recommend that you fine-tune the vertical placement of the above-lines text above the upper line of the staff, like so:


\newcommand{\altraise}{-2mm}

\grechangedim{abovelinestextraise}{\altraise}{scalable}


(change the length as needed).


All this code should be placed either before \begin{document} with the rest of the general gregorio parameters for your document, or in the middle of the document if you intend to apply it only for one score. In this case, you must revert those back to the original values (defaults are to be found in GregorioRef.pdf as well: "normal" and -1mm respectively.


In Christo,

Matthias



Reply all
Reply to author
Forward
0 new messages