lilypond-user
[Top][All Lists]
Advanced

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

Glossary index [was: how to get notes without tails?]


From: Trevor Daniels
Subject: Glossary index [was: how to get notes without tails?]
Date: Sun, 30 Aug 2015 21:42:42 +0100

Simon Albrecht wrote Sunday, August 30, 2015 8:58 PM
>
> Am 30.08.2015 um 21:52 schrieb Trevor Daniels:
>>
>> It would be a great help, I think, to add all the non-English terms to the
>> Glossary Index.  That would be easy to do, but very laborious and
>> time-consuming.  Just needs someone to do it ....
>
> Or someone with the proficiency and time to write a script?

Actually I don't think that would be very difficult.

A typical entry header looks like this:

@node acciaccatura
@section acciaccatura

ES: mordente de una nota,
I: acciaccatura,
F: acciaccatura, appoggiature brève,
D: Zusammenschlag,
NL: samenslag,
DK: ?,
S: ?,
FI: ?.

The script would need to extract the rest of each line beginning
@section, ES:, I: etc.  Remove duplicates, remove ?s, and
for each of the remainder insert a new line containing that extract
prefixed by @cindex.  Repeat for the next @node.

Trevor

reply via email to

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