I need help trying to get Gregorio working on Windows 7 x64. I've installed TeX Live 2012 and Gregorio, and have configured TeXworks. When I try to compile a tex file, it tells me that it can't find gregoriotex.sty, and I also get errors saying it can't find gregoriotex.cls.

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

The last few lines of texworx's console output were:


I got this error following the directions here on the Gregorio site I have followed.

It seems like there is another setting somewhere in TeX Live, but I can't find it.

Here are some commandline directions, whereupon I get the same error.

How can I get this to work?

Follow-up question: Texlive and Gregorio Manual Font Installation

  • Welcome to TeX.SE! Please post a complete MWE (minimum working example) that shows what you've done so far and generates the errors and/or warnings you're trying to fix.
    – Mico
    Mar 19 '13 at 16:54
  • @mico Thanks for answering. I've added a link.
    – bgmCoder
    Mar 19 '13 at 16:57
  • 15
    For a moment there, I thought the OP was talking about egreg...
    – jub0bs
    Mar 19 '13 at 17:22
  • 2
    @BGM It's a "site joke"; I'm in no way connected to the Gregorio project.
    – egreg
    Mar 19 '13 at 23:03
  • 3
    @MarcvanDongen - Indeed: he was chanting. :-)
    – Mico
    Mar 20 '13 at 1:06

Well, I learned the solution to the missing sty file error by reviewing this thread. Now, I installed Gregorio at c:\texlive\gregorio.

I don't know why the Gregorio installer can't handle it, but I copied the folder at c:\texlive\gregorio\tex from its application folder to C:\texlive\texmf\tex\latex - and I tried it also at C:\texlive\texmf-local\tex\latex - either of those seem to work to fix the problem of the missing sty file.

Then, make sure that your have the fonts installed correctly - see here; this is very important.

Also, if you are trying to use NotatioAntiqua with Gregorio (it is a GUI that eliminates the user's having to interact with the commandline), there is a trick there, too. So, assuming that you have installed notatioantiqua to c:\texlive\notatioantiqua\

Copy the file gregorian.cls from C:\texlive\notatioantiqua\share\contrib\class\ to C:\texlive\texmf-local\tex\latex\gregorio\

And then, in the commandline, run texhash

Besides all that, in the .gabc files where the score is described, comment (or don´t use) the line related to text alignment with the notes: %centering-scheme: latin;


Gregorio has been updated to version 2.3 as of June 2013, and just about all of these installation issues have been corrected. Here is a link to the download repository: http://download.gna.org/gregorio/releases/

  • Looking into the install.py in the tar.gz file I would call it a bug, that they hardcoded the path to the local-texmf as /usr/local/texlive/2010basic/texmf-local. Without knowing the installation routine for the gregorio-setup.exe I assume, it is hardcoded there, too. Submit a bug report to them with pointers to your related TeX.SX questions. One should upon installation get the opportunity to input the local-texmf path.
    – Speravir
    Mar 22 '13 at 1:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.