Cannot load GregorioTex into LaTeX

202 views
Skip to first unread message

Michael C.

unread,
Mar 8, 2021, 11:58:37 AM3/8/21
to Gregorio Users
Fathers, Brothers and Sisters, and fellow laymen, 

Please forgive any faux pas on my part in this email. This is my first time posting. 

I am having trouble using GregorioTex. I am completely new to Latex. Any help would be greatly appreciated.

Some information: 

I am using a fresh install of both LaTeX and Texworks, running on a Kubuntu (a common variety of Ubuntu, which is itself a flavor of Linux) laptop. I searched the emails on here for an answer, but to no avail. In order to prevent anything from working because of my errors, I created a fresh document using one of Texworks's sample documents. It successfully compiled the original document. Then I added one line: 

\usepackage{gregoriotex}


After I add that line, it no longer successfully compiles. It then does some work before stopping unsuccessfully. Here is the log from the : 

This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/local/texlive/2020/texmf-dist/tex/lualatex/gregoriotex/gregoriotex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/usr/local/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifluatex.sty)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/luatex/ctablestack/ctablestack.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/ltluatex.tex
! Undefined control sequence.
l.55 \ifnum\luatexversion
                         <60 %
?


Both the line above and this log have been copy/pasted exactly as they are from Texworks. Any help would be greatly appreciated. I'm sorry if this has already been addressed, but I've already spent an hour or two troubleshooting this myself, and it seems that I'm not yet knowledgeable enough in LaTeX to handle it myself.

In Domino
Michael C. 

Matthias Bry

unread,
Mar 8, 2021, 12:09:42 PM3/8/21
to gregori...@googlegroups.com
Hello Michael,

It appears your installation of Texworks is building your TeX files
using the pdfLatex executable of your TexLive distribution, which will
not compile files that include gregorio scores. You need to set up
Texworks to call the luaLatex executable that is included in all
TexLive distributions and should be included in yours. I have no
working knowledge of Texworks but I imagine there is a dropdown menu
somewhere to choose between plain Latex, PdfLatex, XeLatex and
LuaLatex.

In Christo,

Matthias Bry
> --
> 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/7d72ae28-5891-4ecb-aeda-d11f6539f354n%40googlegroups.com.

Fr. Anthony VanBerkum, O.P.

unread,
Mar 8, 2021, 12:32:58 PM3/8/21
to gregori...@googlegroups.com
Dear Michael,

There are a couple other small details to consider as well. I don't use TeXworks myself, but the introduction give here might be helpful for you:

Fr Anthony

Fr. Samuel Springuel

unread,
Mar 8, 2021, 12:49:03 PM3/8/21
to gregori...@googlegroups.com
> On 8 Mar, 2021, at 11:58 AM, Michael C. <mcamill...@gmail.com> wrote:
>
> This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex)

GregorioTeX is not compatible with pdfTeX. You must use LuaTeX (probably the LuaLaTeX variant, given the format in the above).

Instructions for configuring TeXworks for this are located here:

http://gregorio-project.github.io/configuration-texworks.html

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ

Michael C.

unread,
Mar 8, 2021, 2:09:22 PM3/8/21
to Gregorio Users
Fathers and Mr. Bry,
Thank you for your guidance. I haven't had time to dive into everything you said (Indeed, it will be longer than I wish until I will be able to.), but I think that all this will help greatly, given a cursory glance. I will continue this endeavor.
In Domino,
Michael C.

Michael C.

unread,
Mar 9, 2021, 9:27:56 PM3/9/21
to Gregorio Users
I have tried implementing your suggestions, but I seem to be missing something. I'm not sure whether what I'm missing is in my knowledge or in my files, but hopefully you can help me figure it out.

Gregoriotex seems to be missing a file. Here is my output: 



This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
system commands enabled.
(./Test314.tex
LaTeX2e <2020-10-01> patch level 4
tput: No value for $TERM and no -T specified
L3 programming layer <2021-02-18>
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-luatex.def))
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-2020-10-
01.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.
tex)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2020/texmf-dist/tex/lualatex/gregoriotex/gregoriotex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/luatex.def))
(/usr/local/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifluatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/local/texlive/2020/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(/usr/local/texlive/2020/texmf-dist/tex/luatex/luamplib/luamplib.sty)
(/usr/local/texlive/2020/texmf-dist/tex/generic/xstring/xstring.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/xstring/xstring.tex))
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-main.tex


(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-common.t
ex)
(Test314.gaux)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-spaces.t
ex)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-chars.te
x)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-signs.te
x)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-syllable
.tex)
(/usr/local/texlive/2020/texmf-dist/tex/luatex/gregoriotex/gregoriotex-symbols.
tex)
! I can't find file `gsp-default.tex'.
<to be read again>
\relax
l.2032 \greloadspaceconf{default}
%
(Press Enter to retry, or Control-D to exit)
Please type another input file name:

I navigated to the directory that such files as gregoriotex-symbols.tex are in, and added gsp-default.tex using what I found on the gregoriotex github, to no avail. Does this look like I need to re-install? 
Thank you.
In Domino,
Michael C. 

Michael C.

unread,
Mar 9, 2021, 9:33:35 PM3/9/21
to Gregorio Users
I just saw that another user had a similar experience today. I will try that thread's advice and get back. 
Message has been deleted

Michael C.

unread,
Mar 10, 2021, 9:56:52 PM3/10/21
to Gregorio Users
I tried following this advice: 
"The new beta is not meant to be compatible with TeX Live 2020 updates via tlmgr. Please use tlmgr to revert to the previous version. If you want to use the new beta with TeX Live 2020 then you’ll need to install it using the pkg file in the repository:"
from Fr. Samuel on the other thread. 

I tried and failed to install it using the .tar.bz2 file, but then saw that he said to install it using the pkg file. I haven't the slightest how to do this, and have had no success finding directions on it. Is there anywhere with fool-proof directions on this? Thank you again. 
In Domino,
Michael C. 

Fr. Samuel Springuel

unread,
Mar 11, 2021, 11:28:44 AM3/11/21
to gregori...@googlegroups.com
On 10 Mar, 2021, at 9:56 PM, Michael C. <mcamill...@gmail.com> wrote:
>
> I tried following this advice:
> "The new beta is not meant to be compatible with TeX Live 2020 updates via tlmgr. Please use tlmgr to revert to the previous version. If you want to use the new beta with TeX Live 2020 then you’ll need to install it using the pkg file in the repository:"
> from Fr. Samuel on the other thread.
>
> I tried and failed to install it using the .tar.bz2 file, but then saw that he said to install it using the pkg file. I haven't the slightest how to do this, and have had no success finding directions on it. Is there anywhere with fool-proof directions on this? Thank you again.
> In Domino,
> Michael C.

The pkg file is for Mac users. I made that suggestion in the other thread because that user indicated they were using a Mac.

Installation instructions for each of the three major platforms are linked here: http://gregorio-project.github.io/installation.html

If you need more help, please run our system-setup.command diagnostic tool (.bat when running on Windows) and post the results. You can find the tool here: https://github.com/gregorio-project/gregorio/tree/master/contrib

Michael C.

unread,
Mar 11, 2021, 8:54:15 PM3/11/21
to Gregorio Users
I installed the latest beta version of Gregorio and I'm still getting an error. I ran the diagnostic tool. The output from when I originally ran it said that there were still a lot of files from the latest full release, not the beta, so I went and hand-deleted all the listed files (the "auto-uninstall" line of the installation tool always gave me an error) and re-installed beta 6.0, and my most recent output is attached. The installation tool said it was a successful installation. Perhaps I need to re-install texlive again to get a fresh start with the files, but none of the uninstall tools have been working for me. It must have to do with my file permissions, I suppose. 

Here is the output I get when I try to \usepackage{gregoriotex}



This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
system commands enabled.
(./Test314.tex
LaTeX2e <2020-10-01> patch level 4
tput: No value for $TERM and no -T specified
L3 programming layer <2021-02-18>
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size11.clo))
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-luatex.def))
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-2020-10-
01.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.
tex)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.cfg)))

! LaTeX Error: File `gregoriotex.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:


In Domino
Michael C. 
system-setup.log

Fr. Samuel Springuel

unread,
Mar 12, 2021, 11:42:39 AM3/12/21
to gregori...@googlegroups.com
> On 11 Mar, 2021, at 8:54 PM, Michael C. <mcamill...@gmail.com> wrote:
>
> I installed the latest beta version of Gregorio and I'm still getting an error. I ran the diagnostic tool. The output from when I originally ran it said that there were still a lot of files from the latest full release, not the beta, so I went and hand-deleted all the listed files (the "auto-uninstall" line of the installation tool always gave me an error) and re-installed beta 6.0, and my most recent output is attached.

The output is indicating that none of the TeX files are installed. Please try following the install instructions again:

http://gregorio-project.github.io/installation-linux.html

If any of those steps return an error, please let me know the exact nature of that error.

Michael C.

unread,
Mar 16, 2021, 9:10:38 PM3/16/21
to Gregorio Users
I finally got it up and working. It appears it was my error, not the that of any of the installers. Thank you for all your help. 
In Domino,
Michael C. 

Reply all
Reply to author
Forward
0 new messages