From 0ecde15937eda66984853bcfa41296de62fa0a53 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Mon, 22 Sep 2008 23:17:55 +0100 Subject: [PATCH] Fix #683: printallheaders -> print-all-headers. --- Documentation/es/user/input.itely | 4 ++-- Documentation/es/user/spacing.itely | 4 ++-- Documentation/user/input.itely | 4 ++-- Documentation/user/spacing.itely | 4 ++-- ly/titling-init.ly | 2 +- python/convertrules.py | 5 +++++ 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/Documentation/es/user/input.itely b/Documentation/es/user/input.itely index 5a78a4e978..406ad57e81 100644 --- a/Documentation/es/user/input.itely +++ b/Documentation/es/user/input.itely @@ -225,7 +225,7 @@ del @code{\header}. } @end lilypond -@funindex printallheaders +@funindex print-all-headers @noindent Se puede cambiar este comportamiento (e imprimir todas las cabeceras cuando la cabecera @code{\header} está definida dentro del bloque @@ -233,7 +233,7 @@ cuando la cabecera @code{\header} está definida dentro del bloque @example \paper@{ - printallheaders=##t + print-all-headers = ##t @} @end example diff --git a/Documentation/es/user/spacing.itely b/Documentation/es/user/spacing.itely index 4ba2717bd8..13533bafb0 100644 --- a/Documentation/es/user/spacing.itely +++ b/Documentation/es/user/spacing.itely @@ -460,8 +460,8 @@ espaciado (horizontal) de las líneas. Los valores altos hacen que el espaciado de la página tenga más importancia. Predeterminado: @code{#10}. -@item printallheaders -@funindex printallheaders +@item print-all-headers +@funindex print-all-headers Si está establecido a un valor verdadero, imprime todas las cabeceras para cada una de las @code{\score} en la salida impresa. Normalmente diff --git a/Documentation/user/input.itely b/Documentation/user/input.itely index b747c669cb..28224546f7 100644 --- a/Documentation/user/input.itely +++ b/Documentation/user/input.itely @@ -498,14 +498,14 @@ Note that the music expression must come before the @code{\header}. } @end lilypond -@funindex printallheaders +@funindex print-all-headers @noindent You may change this behavior (and print all the headers when defining @code{\header} inside @code{\score}) by using @example \paper@{ - printallheaders=##t + print-all-headers = ##t @} @end example diff --git a/Documentation/user/spacing.itely b/Documentation/user/spacing.itely index b2d55dada6..e2ba3c1820 100644 --- a/Documentation/user/spacing.itely +++ b/Documentation/user/spacing.itely @@ -508,8 +508,8 @@ The relative importance of page (vertical) spacing and line (horizontal) spacing. High values will make page spacing more important. Default: @code{#10}. -@item printallheaders -@funindex printallheaders +@item print-all-headers +@funindex print-all-headers If set to true, this will print all headers for each \score in the output. Normally only the piece and opus header variables are diff --git a/ly/titling-init.ly b/ly/titling-init.ly index 9f5cf98a71..17b7789e18 100644 --- a/ly/titling-init.ly +++ b/ly/titling-init.ly @@ -25,7 +25,7 @@ tagline = \markup { } #(define (print-all-headers layout props arg) - (if (eq? (ly:output-def-lookup layout 'printallheaders) #t) + (if (eq? (ly:output-def-lookup layout 'print-all-headers) #t) (interpret-markup layout props arg) empty-stencil)) diff --git a/python/convertrules.py b/python/convertrules.py index 90bb54ac7f..41bfafc958 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2807,6 +2807,11 @@ def conv (str): str = re.sub (r"hcenter(\s+)", r"center-align\1", str) return str +@rule ((2, 11, 60), "printallheaders -> print-all-headers") +def conv (str): + str = re.sub (r"printallheaders", r"print-all-headers", str) + return str + # Guidelines to write rules (please keep this at the end of this file) # # - keep at most one rule per version; if several conversions should be done, -- 2.39.5