lilypond-devel
[Top][All Lists]
Advanced

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

Changes .tex files to get rid of warning (issue 5976055)


From: PhilEHolmes
Subject: Changes .tex files to get rid of warning (issue 5976055)
Date: Sun, 01 Apr 2012 12:32:26 +0000

Reviewers: Julien Rioux, Graham Percival, dak,

Message:
Please review

Description:
These files used what appears to be a deprecated syntax to invoke
lilypond-book, resulting in these warnings:

lilypond-book.py: warning: deprecated ly-option used: 11pt=None
lilypond-book.py: warning: compatibility mode translation: staffsize=11

Applying these changes gets rid of those errors in make doc.

Please review this at http://codereview.appspot.com/5976055/

Affected files:
  Documentation/usage/latex-lilypond-example.latex
  M input/regression/lilypond-book/tex-comments.lytex
  M input/regression/lilypond-book/tex-compatibility-mode.lytex
  M input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex
  M input/regression/lilypond-book/tex-lilypond-inside-table.lytex


Index: Documentation/usage/latex-lilypond-example.latex
diff --git a/Documentation/usage/latex-lilypond-example.latex b/Documentation/usage/latex-lilypond-example.latex index 812574836001bc8a9767818687887abdbd3661e0..30d680c3a03d7d3aef08741658b56f47906d8caf 100644
--- a/Documentation/usage/latex-lilypond-example.latex
+++ b/Documentation/usage/latex-lilypond-example.latex
@@ -52,12 +52,12 @@ c' e' g'
 \end{verbatim}

 This C major
-%%\begin{lilypond}[staffsize=11\pt,fragment]
-\begin{lilypond}[11pt,fragment]
+%%\begin{lilypond}[staffsize=11,fragment]
+\begin{lilypond}[staffsize=11,fragment]
 \context Voice <<c' e' g'>>
 \end{lilypond}
 and C minor
-\lilypond[fragment,11pt]{\context Voice <<c' es' g'>>} chords are floating inside the text. +\lilypond[fragment,staffsize=11]{\context Voice <<c' es' g'>>} chords are floating inside the text.

 \subsection{verb and verbatim}

@@ -126,30 +126,30 @@ is not necessary when you want the music in a paragraph on its own.
 Itemize environment:
 \begin{itemize}
 \item
-\lilypond[11pt,fragment]{ c'} do
+\lilypond[staffsize=11,fragment]{ c'} do
 \item
-\lilypond[11pt,fragment]{d'} re
+\lilypond[staffsize=11,fragment]{d'} re
 \item
-\lilypond[11pt,fragment]{e'} mi
+\lilypond[staffsize=11,fragment]{e'} mi
 \item
-\lilypond[11pt,fragment]{f'} fa
+\lilypond[staffsize=11,fragment]{f'} fa
 \item
-\lilypond[11pt,fragment]{g'} sol
+\lilypond[staffsize=11,fragment]{g'} sol
 \end{itemize}

 Tables\footnote{ and footnote:
-\lilypond[11pt,fragment]{c' e' g'} }:
+\lilypond[staffsize=11,fragment]{c' e' g'} }:
 \marginpar{ Yes, even as marginpar
-\lilypond[11pt,fragment]{c' d' e'} }
+\lilypond[staffsize=11,fragment]{c' d' e'} }

 \begin{tabular}{|l|l|r|}
 \hline
 \em Notes & \em Name \\
 \hline
-\lilypond[11pt,fragment,filename="cdur"]{\context Voice <<c' e' g'>>} & major \\
-\lilypond[11pt,fragment]{\context Voice <<c' es' g'>>} & minor \\
-\lilypond[11pt,fragment]{\context Voice <<c' es' ges'>>} & diminished \\
-\lilypond[11pt,fragment]{\context Voice <<c' e' gis'>>} & augmented \\
+\lilypond[staffsize=11,fragment,filename="cdur"]{\context Voice <<c' e' g'>>} & major \\
+\lilypond[staffsize=11,fragment]{\context Voice <<c' es' g'>>} & minor \\
+\lilypond[staffsize=11,fragment]{\context Voice <<c' es' ges'>>} & diminished \\ +\lilypond[staffsize=11,fragment]{\context Voice <<c' e' gis'>>} & augmented \\
 \hline
 \end{tabular}

Index: input/regression/lilypond-book/tex-comments.lytex
diff --git a/input/regression/lilypond-book/tex-comments.lytex b/input/regression/lilypond-book/tex-comments.lytex index 72bf7f2a81b8bffda05a606abe0d67dd54e37918..29505c51b87366e22b8b8ad4e2bfb505c8a6caf5 100644
--- a/input/regression/lilypond-book/tex-comments.lytex
+++ b/input/regression/lilypond-book/tex-comments.lytex
@@ -15,7 +15,7 @@ The following snippet is preceded by a comment that would start a lilypond
 environment

 %%\begin{lilypond}
-\begin{lilypond}[11pt,fragment]
+\begin{lilypond}[staffsize=11,fragment]
 \context Voice <<c' e' g'>>
 \end{lilypond}

Index: input/regression/lilypond-book/tex-compatibility-mode.lytex
diff --git a/input/regression/lilypond-book/tex-compatibility-mode.lytex b/input/regression/lilypond-book/tex-compatibility-mode.lytex index aab288e7b3504e235b72706b45e27688cade59ca..933b7ec4fd7d82fbcffd231baf0ded51d8cc2c0e 100644
--- a/input/regression/lilypond-book/tex-compatibility-mode.lytex
+++ b/input/regression/lilypond-book/tex-compatibility-mode.lytex
@@ -5,6 +5,6 @@

 A snippet with a deprecated option, triggering compatibility mode:

-\lilypond[11pt,fragment]{c' e' g'}
+\lilypond[staffsize=11,fragment]{c' e' g'}

 \end{document}
Index: input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex
diff --git a/input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex b/input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex index 59ac7127ab1f8335d41054c853d3797b017b7f18..5f525fc816ab5aa181a65b6b54f0f492a6c98322 100644
--- a/input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex
+++ b/input/regression/lilypond-book/tex-lilypond-inside-itemize.lytex
@@ -7,15 +7,15 @@
 Itemize environment:
 \begin{itemize}
 \item
-\lilypond[11pt,fragment]{ c'} do
+\lilypond[staffsize=11,fragment]{ c'} do
 \item
-\lilypond[11pt,fragment]{d'} re
+\lilypond[staffsize=11,fragment]{d'} re
 \item
-\lilypond[11pt,fragment]{e'} mi
+\lilypond[staffsize=11,fragment]{e'} mi
 \item
-\lilypond[11pt,fragment]{f'} fa
+\lilypond[staffsize=11,fragment]{f'} fa
 \item
-\lilypond[11pt,fragment]{g'} sol
+\lilypond[staffsize=11,fragment]{g'} sol
 \end{itemize}

 \end{document}
Index: input/regression/lilypond-book/tex-lilypond-inside-table.lytex
diff --git a/input/regression/lilypond-book/tex-lilypond-inside-table.lytex b/input/regression/lilypond-book/tex-lilypond-inside-table.lytex index 9723b35bd5d9c7e2ca572ad681978b5de8e1493d..bd25edd182640cc30acb993cb76f6b1d347f796c 100644
--- a/input/regression/lilypond-book/tex-lilypond-inside-table.lytex
+++ b/input/regression/lilypond-book/tex-lilypond-inside-table.lytex
@@ -10,10 +10,10 @@ Tables:
 \hline
 \em Notes & \em Name \\
 \hline
-\lilypond[11pt,fragment,filename="cdur"]{\context Voice <<c' e' g'>>} & major \\
-\lilypond[11pt,fragment]{\context Voice <<c' es' g'>>} & minor \\
-\lilypond[11pt,fragment]{\context Voice <<c' es' ges'>>} & diminished \\
-\lilypond[11pt,fragment]{\context Voice <<c' e' gis'>>} & augmented \\
+\lilypond[staffsize=11,fragment,filename="cdur"]{\context Voice <<c' e' g'>>} & major \\
+\lilypond[staffsize=11,fragment]{\context Voice <<c' es' g'>>} & minor \\
+\lilypond[staffsize=11,fragment]{\context Voice <<c' es' ges'>>} & diminished \\ +\lilypond[staffsize=11,fragment]{\context Voice <<c' e' gis'>>} & augmented \\
 \hline
 \end{tabular}






reply via email to

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