[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to alias commands?
From: |
Lukas-Fabian Moser |
Subject: |
Re: how to alias commands? |
Date: |
Sat, 31 Dec 2022 13:19:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
Am 31.12.22 um 13:05 schrieb David Kastrup:
Quite often, one wants a shorthand for a function that actually needs
an argument. This is possible using David Kastrup's ingenious \etc:
My mother has developed an annoying habit of ending a lot of sentences
with "und so weiter" ("and so on") even when it makes no sense.
My sisters and I often tease our mother about her habit of starting
sentences with "No...", especially when she actually wants to agree with
you. Please don't turn that into a feature. (The same goes for the
additional strategy of starting nesting sub-clauses in speech without
ever returning.)
Now I fear that I am a bad influence on LilyPond.
I think it's safe to say that the sum of your contributions amounts to
quite a healthy influence, actually.
But LilyPond deals with the habit the same way a good son would: Not
utterly without complaint, but obediently.
\version "2.24.0"
mom = \trill \etc
{
a4\mom b
}
Starte lilypond 2.24.0 [Ohne Titel (3)]...
»/tmp/frescobaldi-4xutm9ts/tmp6omjml8q/document.ly« wird verarbeitet
Analysieren...
/tmp/frescobaldi-4xutm9ts/tmp6omjml8q/document.ly:3:14: Fehler: syntax
error, unexpected \etc
mom = \trill
\etc
Interpretation der Musik...
Vorverarbeitung der grafischen Elemente...
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
Konvertierung nach »document.pdf«...
schwerer Fehler: gescheiterte Dateien:
"/tmp/frescobaldi-4xutm9ts/tmp6omjml8q/document.ly"
Wurde mit dem Return-Code 1 beendet.
Lukas
image.png
Description: PNG image