Dear William, How did you install gregorio? It would appear you are using a pretty old version of gregorio (2.0). You should upgrade to a newer version, but this will probably mean you will need to build it first.
If you installed gregorio from packages, then uninstall those packages. If you installed gregorio some other way, then you will have to search for the gregorio files on your computer and delete them. Once this is done, follow the directions under "On Debian and Ubuntu systems" at http://home.gna.org/gregorio/installation-linux If the directions on that page are how you installed gregorio, and you did it recently, then you have multiple versions of gregorio on your system and that may be the cause of your problem. If this is the case, report the results of the following command, please: locate gregorio Regards, Henry On Saturday, 07 September 2013 at 12:08:36 pm +0200, William H. P. Nielsen wrote: > Dear gregorio users, > > I am in the very first stages of using gregorio and gregoriotex, but I > cannot follow the steps from the home page. Below is a detailed > description of what I do and where it goes wrong. > > To my understanding, the work process goes as follows: > > * Write a score as a gabc file > * Run gregorio on this gabc file to get a tex-file > * Include this tex file in a larger tex file and run lualatex on the > latter > > For the first step, I have created a minimal gabc-file: > > -- FILE: test.gabc -- > > name:Kyrie XVII; > %% > (c4)Ky(f) > > > -- EOF -- > > I proceed in the command line by writing: > >> gregori test.gacb > I now have the file test.tex > > -- FILE: test.tex -- > > % Name: Kyrie XVII > % File generated by gregorio 2.0 > \begingregorioscore% > \greinitial{K}% > \grebeginnotes % > \gresetinitialclef{c}{4}{a}% > \gresyllable{}{y}{}{1}{}{}{0}{% > \grelastofscore % > }{% > \greglyph{\char 17}{f}{g}{0}{}{}% > }% > % > \endgregorioscore % > \endinput % > > -- EOF -- > > I then use the example file from the home page > (http://svn.gna.org/svn/gregorio/trunk/examples/main-lualatex.tex) > where I only changed the line > \includescore{PopulusSion.tex} -> \includescore{test.tex} > I save the modified example file as full.tex > > In the command line I type > >> lualatex full.tex > and receive the error > > ! Undefined control sequence. > \begingregorioscore ...\ifgreluatex \gredirectlua > > {gregoriotex.atScoreBeggin... > l.3 \begingregorioscore > > I am running TeXlive on Ubuntu. Specifically: > TeX 3.1415926 (TeX Live 2012/Debian) > kpathsea version 6.1.0 > and Ubuntu 12.04.3 LTS > > I hope that you can help me, so that I may help the local sisters with > their typesetting. > > All the best, > William Nielsen > > > > _______________________________________________ > Gregorio-users mailing list > [email protected] > https://mail.gna.org/listinfo/gregorio-users > _______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

