As far as I can tell, this is a "magic comment" used by TeXworks to tell it what the 'root document' for the current file is.
See https://code.google.com/p/texworks/wiki/TipsAndTricks I don't think it's possible for gregorio (the program) to do this at the moment. It should be doable using something like sed from a shell script or Makefile, if desired. For example: gregorio -S myfile.gabc | sed -e '1i % !TEX root = ../Main.tex' > myfile.tex Henry On Sunday, 15 December 2013 at 07:49:06 pm -0500, Richard Chonak wrote: > On 12/15/2013 03:16 PM, R. Padraic Springuel wrote: > > Is there a way to have gregorio automatically add a line like "% !TEX > > root = ../Main.tex" to the top of the tex file that it produces? > > I'm wondering what effect that would have. Can you clarify? > > --RC > > > > > _______________________________________________ > 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

