I think I've solved it... the problem was the \textcolor{red} in:
=======
\def\greinitialformat#1{%
{\initfamily\fontsize{23}{23}\selectfont\textcolor{red} #1}%
}
=======
It looks like having a blank initial was confusing the software. I fixed it
by renewing the \def without the \textcolor{red}, and renewing with it when
needed.
Thanks for your help!
Andrew.
On 2 October 2013 18:49, Andrew Hinkley <[email protected]> wrote:
> \red is my macro for red text:
> \newcommand*{\red}[1]{\textcolor{red}{#1}}
>
> The document class is:
> \documentclass[11pt,twoside]{book}
>
> Thanks,
>
> Andrew.
>
>
> On 2 October 2013 02:16, Henry So Jr. <[email protected]> wrote:
>
>> Dear Andrew,
>>
>> What is your definition of \red, or from which package are you getting
>> that macro? Also, what is your \documentclass?
>>
>> Henry
>>
>> On Tuesday, 01 October 2013 at 06:32:21 pm +1300, Andrew Hinkley wrote:
>> > It may be something to do with the GABCs where the initial has been left
>> > blank, for instance:
>> >
>> > (c4) GLÓ(h)RI(g)A,(gh) laus(gg) et(f) ho(g)nor(gh) ...etc
>> >
>> > seems to work, but
>> >
>> > (c4) () <b>1.</b>() Is(h)ra(g)el(h) es(h!iwj) tu(ji) Rex,(hg) ...etc
>> >
>> > gives the error, and when I changed the first "()" to, say, "G(a)", it
>> > worked. All the files that cause this error have a blank initial.
>> >
>> >
>> > On 1 October 2013 16:48, Henry So Jr. <[email protected]> wrote:
>> >
>> > > Dear Andrew,
>> > >
>> > > It seems to me, based on the information you have supplied, that it
>> has
>> > > something to do with how you are using colors in the lines above the
>> > > initial, but there's not enough information to be sure.
>> > >
>> > > Would it be possible to send the .tex and .gabc files that cause this
>> > > problem and a set of files where it works?
>> > >
>> > > If you can't send them, then try to see what is different when it
>> works
>> > > and when it doesn't. That might clue you into what's going wrong.
>> > >
>> > > Henry
>> > >
>> > > On Tuesday, 01 October 2013 at 03:37:52 pm +1300, Andrew Hinkley
>> wrote:
>> > > > Greetings,
>> > > >
>> > > > I'm using the macros
>> > > >
>> > > > =======
>> > > > \newcommand*{\redit}[1]{\textcolor{red}{\it #1}}
>> > > > =======
>> > > >
>> > > > and
>> > > >
>> > > > =======
>> > > > \newcommand{\ginit}[3]{\gresetfirstlineaboveinitial{\small
>> > > > \red{\textbf{#1}}}{\small \red{\textbf{#1}}}
>> \setsecondannotation{\small
>> > > > \red{\textbf{#2}}}{\commentary{{\small \red{\emph{#3}}}}}}
>> > > > =======
>> > > >
>> > > > but for some reason some reason
>> > > >
>> > > > =======
>> > > > \redit{Duo de primo Choro:}
>> > > >
>> > > > \ginit{}{}{}
>> > > > \hypertarget{an_popule_meus.12.gabc}{} \label{an popule
>> meus.12.gabc}
>> > > > \index{}
>> > > > \includescore{an_popule_meus.12.tex}
>> > > >
>> > > > \redit{Chorus repetit:} Pópule meus.
>> > > >
>> > > > \redit{Duo de secundo Choro:}
>> > > > =======
>> > > >
>> > > > is giving me
>> > > >
>> > > > =======
>> > > > ! Argument of \@textcolor has an extra }.
>> > > > <inserted text>
>> > > > \par
>> > > > l.4 \greinitial{}
>> > > > %
>> > > > =======
>> > > >
>> > > >
>> > > > For most of the files it works but there's a small number of the
>> files
>> > > that
>> > > > won't work.
>> > > >
>> > > > Apologies if anything here isn't clear.
>> > > >
>> > > > Andrew.
>> > >
>> > > > _______________________________________________
>> > > > Gregorio-users mailing list
>> > > > [email protected]
>> > > > https://mail.gna.org/listinfo/gregorio-users
>> > >
>> > >
>>
>
>
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users