Scribus has developed in its version 1.3.5 the possibility to display "frames" generated with external application. This is the result of trying to implement gregorio inside these frames.

1- The interest

Scribus has many advantages to produce books or brochures that will not be discussed here, and among them, what is called "frame". Frames are areas on the page, and frames can be linked one with other ones, and so on many pages. For example, you could have a book with a "train" of frames for latin text, a train of frames for french text and a train of frame for... gregorian scores.

So appears the interest of including gregorio sources directly inside the Scribus document, completely automating the compilation process.

2- The trial


It is fairly easy to implement gregorio under scribus 1.3.5, even if the result is not soon satisfactory, so help is required to finalize the trial. This is done under Ubuntu Jaunty Jackalope.

First we start from a gregorio installed from svn (in usr/local/bin) and from scribus-ng installed from http://www.scribus.net/?q=debian .

We create a set of file for /usr/local/bin :
- xgregorio : a bash script with automatizes the action to do to compile the gabc source up into the .pdf
            (give it execution rights)
- gregorio-lamed.tex : a latex file  corresponding to lamed.tex

and a set of files inside /usr/share/scribus-ng/editorconfig :
- 900_gregorio.xml : parameters of gregorio for scribus.ng
- gregorio.png : logo of gregorio

Once these files installed, you open scribus-ng and record gregorio inside scribus. To do that, open scribus-ng, File, Preferences, external tools, add, 900_gregorio.
And it is done with install.

Now, to try it, create a scribus document, "insert", "insert render frame", position it on the page,
and make it fairly big.
The frame is a LaTeX frame by default, righ click it , edit source it, choose gregorio program, ok...
Et voilĂ , the begining of Populus Sion appears.

3- The problems

Many problems : to come in a next mail...







Attachment: bin.tar.gz
Description: GNU Zip compressed data

Attachment: gregorio.tar.gz
Description: GNU Zip compressed data

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

Répondre à