From 220e9e0e476199ab862e92cfcb488d74d507bafc Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 19 Dec 2012 12:50:06 +0100 Subject: [PATCH] Replace some faulty code examples in the "Czech" learning/tweaks Since those are contained in as-yet untranslated German passages, I copied the respective code examples from the current German documentation. No attempt at updating the corresponding texts has been made. --- Documentation/cs/learning/tweaks.itely | 104 +++++++++++-------------- 1 file changed, 45 insertions(+), 59 deletions(-) diff --git a/Documentation/cs/learning/tweaks.itely b/Documentation/cs/learning/tweaks.itely index c184040c11..4f535f9716 100644 --- a/Documentation/cs/learning/tweaks.itely +++ b/Documentation/cs/learning/tweaks.itely @@ -4019,20 +4019,18 @@ erklärt in @ref{Pokročilá ladění se Scheme,,pokročilých laděních se Sch @lilypond[quote,verbatim,ragged-right] mpdolce = -#(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #(make-dynamic-script + #{ \markup { \hspace #0 + \translate #'(5 . 0) + \line { \dynamic "mp" + \text \italic "dolce" } } + #}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #{ <>^\markup \bold \box #string #}) \relative c'' { \tempo 4=50 @@ -4057,20 +4055,18 @@ wir sie also: @example %%% in Datei "definitions.ily" speichern mpdolce = -#(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #(make-dynamic-script + #@{ \markup @{ \hspace #0 + \translate #'(5 . 0) + \line @{ \dynamic "mp" + \text \italic "dolce" @} @} + #@}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #@{ <>^\markup \bold \box #string #@}) @end example Diese Datei wir mit dem @code{\include}-Befehl ziemlich weit oben @@ -4097,20 +4093,18 @@ Noten (in der Datei @file{music.ly}). @lilypond[quote,ragged-right] mpdolce = -#(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #(make-dynamic-script + #{ \markup { \hspace #0 + \translate #'(5 . 0) + \line { \dynamic "mp" + \text \italic "dolce" } } + #}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #{ <>^\markup \bold \box #string #}) \relative c'' { \tempo 4=50 @@ -4136,19 +4130,17 @@ wir also in @qq{4/4}. %%% definitions.ily mpdolce = #(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #@{ \markup @{ \hspace #0 + \translate #'(5 . 0) + \line @{ \dynamic "mp" + \text \italic "dolce" @} @} + #@}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #@{ <>^\markup \bold \box #string #@}) \layout@{ \context @{ @@ -4171,19 +4163,17 @@ inst = @lilypond[quote,ragged-right] mpdolce = #(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #{ \markup { \hspace #0 + \translate #'(5 . 0) + \line { \dynamic "mp" + \text \italic "dolce" } } + #}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #{ <>^\markup \bold \box #string #}) \layout{ \context { @@ -4223,19 +4213,17 @@ global geändert. %%% definitions.ily mpdolce = #(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #@{ \markup @{ \hspace #0 + \translate #'(5 . 0) + \line @{ \dynamic "mp" + \text \italic "dolce" @} @} + #@}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #@{ <>^\markup \bold \box #string #@}) #(set-global-staff-size 23) @@ -4259,19 +4247,17 @@ inst = @lilypond[quote,ragged-right] mpdolce = #(make-dynamic-script - (markup #:hspace 0 - #:translate '(5 . 0) - #:line (#:dynamic "mp" - #:text #:italic "dolce"))) + #{ \markup { \hspace #0 + \translate #'(5 . 0) + \line { \dynamic "mp" + \text \italic "dolce" } } + #}) inst = #(define-music-function (parser location string) (string?) - (make-music - 'TextScriptEvent - 'direction UP - 'text (markup #:bold (#:box string)))) + #{ <>^\markup \bold \box #string #}) #(set-global-staff-size 23) -- 2.39.2