I implemented some of Elie's suggestions (the easier ones) and checked in a new version to trunk/contrib/gprocess.
This version does not need a separate template file, as the template lines are in the gprocess Perl script as "DATA" lines after the program end. --RC Elie Roux wrote: > Richard Chonak a écrit : >> Jérémie Corbier wrote: >> >>> How about adding a contrib/ directory to Gregorio trunk and putting this >>> kind of >>> ``unsupported but quite useful'' scripts into it? >>> >>> >> Sure, if other people find the script useful too. > > Thanks a lot! This script is really a good idea! I think the idea of the > contrib/ directory is good to. > > I would change some things in your script: > > - I don't think it's necessary to limit the gabc file names to things > in the same directory, people should be able to call the script on files > in another directory... > - I'm very prudent with perl, so could you use "use strict"? > - not everyone uses kpdf, so a variable pdfviewer at the beginning of > the script would be good I guess. Like a variable texcompiler, for brave > people who would like to use it with lualatex. > - a final detail: I think it is better to have all the licence written > at the beginning of the file, like in other gregorio files. _______________________________________________ Gregorio-devel mailing list [email protected] https://mail.gna.org/listinfo/gregorio-devel
