I'm trying to run Gregorio with Scribus. I have Gregorio 1.0, Scribus
1.3.5.1, Strawberry Perl, and TexLive 2009. I've copied
gregorio-scribus.pl, 900_gregorio.xml and gregorio.png in the
editorconfig director in Scribus.

In 900_gregorio.xml, I know I need to modify this line:

<executable command="perl
/usr/share/scribus-ng/editorconfig/gregorio-scribus.pl %file %dir"/>

by replacing it with this line:

<executable command="perl C:\path\to\gregorio-scribus.pl %file %dir"/>

but obviously I need to replace "\path\to" with the actual path. The
actual path is:

C:\Program Files\Scribus 1.3.5.1\share\editorconfig\gregorio-scribus.pl

But when I replace it thus:

<executable command="perl C:\Program Files\Scribus
1.3.5.1\share\editorconfig\gregorio-scribus.pl %file %dir"/>

I get this error message: "Can't open perl script "C:\Program": No
such file or directory"

Obviously, the problem is that perl doesn't like the spaces in the
file names. The solution everyone recommends is to put "" around the
path. But when I do that, like so:

<executable command="perl "C:\Program Files\Scribus
1.3.5.1\share\editorconfig\gregorio-scribus.pl" %file %dir"/>

I get this error:

Parsing the configfile C:/Program
Files/Scribus1.3.5.1/share/editorconfig/900_gregorio.exml failed!
Depending on the type of the error render frames might not work
correctly! 30:29:Unexpected element in executable, Token
String:Invalid 30:29:Expected '>' or '/', but got '[a-zA-Z]'.

followed by:

The config file didn't specify a executable path!

I am sure I am missing something obvious. If so, would anyone mind
stating the obvious to me?

Justin

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

Reply via email to