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 _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
