[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issues 2266 and 1721

From: Jean-Charles Malahieude
Subject: Re: issues 2266 and 1721
Date: Fri, 13 Apr 2012 21:17:40 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Le 13/04/2012 19:54, Phil Holmes disait :
----- Original Message ----- From: "Jean-Charles Malahieude"

I just noticed something:

1- I overuse of @rlsrnamed{original,translated} in order to present a
translated link towards "snippets", like @rlsrnamed{Pitches,Hauteurs}.

1-1 When in NR, this produces tons of lines in the logs like
WARNING: Unable to find node 'translated' in book snippets.
@rlsrnamed{Pitches,Hauteurs} is "snippets/hauteurs.fr.html" which
doesn't exist, so I get nowhere.

1-2 When in LM, there in nothing in the logs
@rlsrnamed{Pitches,Hauteurs} is "snippets/pitches.fr.html" where I
want to go, but non success.

2- I overuse of @rglosnamed{original,translated} in order to present a
translated link towards "glossary" both in LM and NR, and I never get
any kind of warning or error, and the link is effective.
@rglosnamed{{Pitch names,Noms des notes} is
"music-glossary/pitch-names.fr.html" where I want to arrive and it's a
perfect landing.

My questioning is:
Why a same macro could behave differently when in LM or in NR, and
why, though they look identical do they work differently according to
the target manual?

I thought I'd have a look at this, and have just been doing so. I think
the difference between learning and notation is that there is no
instance of @rlsrnamed or @rlsr in learning, whereas it's used
extensively in notation. So there's no difference in the file types,
except it's used in one and not in the other....

The fact is that I've added a @rlsrnamed somewhere in the LM in order to test.

Secondly, both @rglosnamed and @rlsrnamed should have the same effect: neither glossary nor snippets are translated, an I wonder why I get no problem at all with @rglosnamed as opposed to @rlsrnamed.

@macro rglosnamed{TEXT,DISPLAY}
@vindex \TEXT\

@end macro
@macro rlsrnamed{TEXT,DISPLAY}
@ref{\TEXT\,,\DISPLAY\,snippets,Morceaux choisis}
@end macro

and even adding a @vindex \TEXT\ to rlsrnamed doesn"t change anything.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]