2009/9/24 Pierre Couderc <[email protected]>:
> Oh, I am sorry that it is a misundertanding.
> I do not think necessary/useful to modify gregorio for Scribus.
> I propose to replace the 2 sources process with a "usual"single
> source process (so compatible with Scribus...)
>
> In fact, if you include gregorioTeX instructions inside gabc, it will do the
> job
>
>
> I plan to replace xgregorio with a perl script that will generate the full
> latex main
> That would be a source something like :
>
> \documentclass[12pt, a4paper]{article}
> \usepackage{fullpage}
> \usepackage{times}
> \usepackage[T1]{fontenc}
> \usepackage[utf8]{inputenc}
> \usepackage[left=0cm,top=0cm,right=0cm,bottom=0cm,nohead,nofoot]{geometry}
> \usepackage{color}
> \usepackage{gregoriotex}
> \pagestyle{empty}
> \begin{document}
> \setspaceafterinitial{1mm plus 0em minus 0em}
> \setspacebeforeinitial{1mm plus 0em minus 0em}
> \def\greinitialformat#1{{\fontsize{33}{33}\selectfont #1}}
> \def\grebiginitialformat#1{{\fontsize{73}{73}\selectfont #1}}
> \redlines
> name: incipit;
> gabc-copyright: copyright on this gabc file;
> score-copyright: copyright on the source score;
> %%
> (c3) Pó(eh/hi)pu(h)lus(h) Si(hi)on,(hgh.)
>
>
>
> The perl script starts from that, calls gabc, then builds the TeX file.
> Qu'en pensez vous?

I'm ok for this solution: but let's call this format grsc, as gabc is
something else. we can save the files with the extention .grsc and
call it gregorio-scribus format. But I think in the near future, a
gabc repository will be available somewhere, and I don't want people
to put this kind of things on it, only gabc files people can reuse
directly. This kind of things is files (grsc) is easy to build from a
gabc file so it's not a problem.

A perl script will do the trick (separating the gabc from the TeX),
but if you've never done Perl before, you should try python, it's more
simple and less dirty... Also you need to be 100% sure of your
TeX+gabc file format...

In fact I wanted you to wait because I need to think of what is for me
the best solution: including a score in gabc directly. For example
people would do something like \includegabcscore{myscore.gabc}, and
gregorio would automatically build the score (if needed) in TeX for
the inclusion. That's something possible, but I need to write the
macros and the script that would do the compilation... But of course,
you can come up with a solution in a short time and we can use it in
the meantime.

Thank you,
-- 
Elie

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

Répondre à