I am trying to get Gregorio and Scribus working together, and I've managed
to get it almost working by editing the gregorio-scribus.lua file (in the
same directory as 900_gregorio.xml) changing lines 30 and 31 thus:
>
> local f = arg[1]
> local dir = arg[2]
and line the last line (95) thus:
> os.spawn(format("%s --interaction=nonstopmode %s.tex", lualatexbin,
> pathbase))
There are also some lines that cane be taken out, but that should be
unnecessary. The problem mentioned before was stemming from the way the
script was incorrectly handling the command line arguments being passed in,
and is fixed by changing lines 30 and 31.
However, even after making this change it was giving an error:
> ! Undefined control sequence.
>
> l.136 \greloadluamodule
>
> {gregoriotex}
>
and worse was blocking, waiting for input such that I would have to click
"Kill Program" in Scribus. To prevent having to click "Kill Program" I
changed line 95 to add the "--interaction..." part so that it wouldn't block
waiting for input.
Strangely, that actually made it output some chant as well, albeit with some
annoying text on the left side of the Render Frame:
> gregoriotex
gregoriotex.atScoreBeginning()
gregoriotex.atScoreEnd()
If anyone has any ideas, I would appreciate some help on this.
The full output of the lualatex follows as a postscript.
Thanks,
Benjamin Bloomfield
P.S.
This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736)
restricted \write18 enabled.
(./scribus_temp_render_cr2000.tex
LaTeX2e <2009/09/24>
LuaTeX adaptation of babel <v3.8l-luatex-1.4> and hyphenation patterns for
engl
ish, dumylang, nohyphenation, loaded.
(c:/texlive/2010/texmf-dist/tex/latex/extsizes/extarticle.cls
Document Class: extarticle 1996/10/08 v1.0 Non Standard LaTeX document class
(c:/texlive/2010/texmf-dist/tex/latex/base/size11.clo)
(c:/texlive/2010/texmf-dist/tex/latex/base/exscale.sty))
(c:/texlive/2010/texmf-dist/tex/latex/geometry/geometry.sty
(c:/texlive/2010/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package ifpdf Warning: Someone has redefined \pdfoutput.
) (c:/texlive/2010/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(c:/texlive/2010/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(c:/texlive/2010/texmf-dist/tex/latex/graphics/color.sty
(c:/texlive/2010/texmf-dist/tex/latex/latexconfig/color.cfg)
(c:/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(c:/texlive/2010/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
(c:/texlive/2010/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))))
(c:/texlive/2010/texmf-dist/tex/lualatex/luainputenc/luainputenc.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-compat.sty)
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-loader.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase.loader.lua))
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-regs.sty
(c:/texlive/2010/texmf-dist/tex/latex/etex-pkg/etex.sty))
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-attr.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/attr.lua))
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-cctb.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/cctb.lua))
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-mcb.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/luatexbase-modutils.sty
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/modutils.lua))
(c:/texlive/2010/texmf-dist/tex/luatex/luatexbase/mcb.lua)))
(c:/texlive/2010/texmf-dist/tex/lualatex/luainputenc/luainputenc.lua)
(c:/texlive/2010/texmf-dist/tex/lualatex/luainputenc/lutf8.def
(c:/texlive/2010/texmf-dist/tex/latex/base/t1enc.dfu)
(c:/texlive/2010/texmf-dist/tex/latex/base/ot1enc.dfu)
(c:/texlive/2010/texmf-dist/tex/latex/base/omsenc.dfu)))
(c:/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2010/texmf-dist/tex/latex/base/t1enc.def))
(c:/texlive/2010/texmf-dist/tex/latex/psnfss/times.sty)
(c:/texlive/2010/../texmf-local/tex/latex/gregoriotex/gregoriotex.sty
(c:/texlive/2010/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2010/texmf-dist/tex/latex/latexconfig/color.cfg))
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gregoriotex.tex
Number1
! Undefined control sequence.
l.136 \greloadluamodule
{gregoriotex}
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.136 \greloadluamodule{g
regoriotex}
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gregoriotex-spaces.tex
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gsp-default.tex))
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gregoriotex-signs.tex)
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gregoriotex-syllable.te
x)
(c:/texlive/2010/../texmf-local/tex/generic/gregoriotex/gregoriotex-symbols.tex
))) (./scribus_temp_render_cr2000.aux)
(c:/texlive/2010/texmf-dist/tex/latex/psnfss/t1ptm.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(c:/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (./scribus_temp_render_cr2000-score.tex
! Undefined control sequence.
\begingregorioscore ...\ifgreluatex \gredirectlua
{gregoriotex.atScoreBeggin...
l.3 \begingregorioscore
%
! Undefined control sequence.
\endgregorioscore ...l \ifgreluatex \gredirectlua
{gregoriotex.atScoreEnd()}...
l.30 \endgregorioscore
%
)
[1{c:/Users/bloomfield/.texlive2010/texmf-var/fonts/map/pdftex/updmap/pdftex.
map}] (./scribus_temp_render_cr2000.aux) )
(see the transcript file for additional information)
3154 words of node memory still in use:
94 hlist, 17 vlist, 67 rule, 154 glue, 63 kern, 2 penalty, 29 glyph, 39 attr
ibute, 89 glue_spec, 39 attribute_list, 1 write nodes
avail lists: 1:1,2:83,3:32,4:57,5:42,6:126,7:10,9:32,10:15
{c:/texlive/2010/texmf-dist/fonts/enc/dvips/base/8r.enc}{c:/texlive/2010/texmf-
dist/fonts/enc/dvips/cm-super/cm-super-t1.enc}<c:/texlive/2010/../texmf-local/f
onts/type1/gregoriotex/greciliae-0.pfb><c:/texlive/2010/../texmf-local/fonts/ty
pe1/gregoriotex/greciliae-2.pfb><c:/texlive/2010/texmf-dist/fonts/type1/public/
cm-super/sfrm1095.pfb><c:/texlive/2010/texmf-dist/fonts/type1/urw/times/utmr8a.
pfb>
Output written on scribus_temp_render_cr2000.pdf (1 page, 44259 bytes).
Transcript written on scribus_temp_render_cr2000.log.
scribus_temp_render_cr2000
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users