On 11/28/2013 05:28 PM, Brother Gabriel-Marie wrote:
[...]  But it is painful to have to remember to change those for every gabc file. 
You mean for every tex file?
Since we can put the annotations in the gabc file, it would make proper sense for gregorio to interpret those and add them - which is why I asked, actually, in hopes it could be done and I just didn't know it...
I agree. That is why I use a general tex file containing
\gresetfirstlineaboveinitial{MODE}{MODE}
\includescore{FILENAME}
and when I am generating the PDF file with the "make" command, there is an instruction in "Makefile" changing MODE with the value I retrieve from the gabc file and FILENAME with the proper filename. If you know something about make and Makefile, here are the command lines I use:
sed "s/FILENAME/$</"
sed "s/MODE/$(shell sed -e '/^annotation: \(.*\);/s//\1/p' -e d $*.gabc )/"
If you are not familiar with these features of the shell, I fear this will sound like Chinese. I am sorry.

Kind regards.
--
Father Pierre FRANÇOIS (http://www.romanliturgy.org)
Bosmanslei 16
B-2018 Antwerpen (Belgium)
mobile: +32 474 719 131
phone: +32 3 237 63 96


_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users

Reply via email to