lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: problème avec pageBreak


From: P.E. Brame
Subject: Re: problème avec pageBreak
Date: Wed, 29 Aug 2007 16:02:21 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Bonjour,

Je suis surpris par le contenu du fichier initial ! le forçage d'un saut de page dans le bloc header se fait par :
breakbefore = ##t
depuis au moins la version 2.6.6

la commande \pageBreak se place au niveau d'une barre de mesure, donc lors de l'écriture des notes

Un extrait de la doc V 2.0.1, que j'ai retrouvé sur un CD d'archives
***************
Page breaks are normally computed by TeX, so they are not under direct control of LilyPond. However, you can insert a commands into the .tex output to instruct TeX where to break pages. This is done by setting the between-systems-strings on the NonMusicalPaperColumn where the system is broken. An example is shown in input/regression/between-systems.ly. The predefined command \newpage also does this.
*****************
Et le fichier d'exemple :
***********************
\renameinput "/netrel/src/lilypond-2.0.1/input/regression/between-systems.ly"

% Generated automatically by: lilypond-book.py
% options are filename=/netrel/src/lilypond-2.0.1/input/regression/between-systems.ly printfilename
\include "paper16.ly"
\paper  {
 linewidth = 455.244096\pt
}

\version "1.9.8"

\header{
texidoc="
By inserting @TeX{} commands between systems, you can force pagebreaks.
In reality, you'd use the LateX command @code{\\newpage} instead of (pagebreak)
of course.
"
}

\score {
\notes \relative c' { c1
\context Score \applyoutput #(outputproperty-compatibility (make-type-checker 'paper-column-interface) 'between-system-string "(pagebreak)\n\n")
   \break
c1 }
}
********************

Là j'avoue ne pas comprendre grand-chose à la commande Scheme !

En espérant t'avoir un peu aidé.

Pierre-Emmanuel

Bonjour,
soit un fichier initial en version 2.0.1, utilisant la commande newpage :
---------------------------------------------
\score {
   \context Staff = bn <<
   \bassoonMenuettoOne
   \textUpMenuettoOne
   \textDownMenuettoOne
   >>
   \header {
      piece = "\\newpage Menuetto"
   }
}

\score {
   \bassoonLarghetto
   \header {
      piece = "\\newpage Larghetto"
   }
}

----------------------------------------------------

Le même après convert-ly (en 2.10.10) et transposition pour clarinette basse :
---------------------------------
\score {
   \context Staff = "bn" <<
   \transpose c d \bassoonMenuettoOne
   \textUpMenuettoOne
   \textDownMenuettoOne
   >>
   \header {
      piece = "\\pageBreak Menuetto"
   }
}

\score {
   \transpose c d \bassoonLarghetto
   \header {
      piece = "\\pageBreak Larghetto"
   }
}
------------------------------------------http://www.mutopiaproject.org/cgibin/make-table.cgi?Instrument=Clarinet

Ca ne marche pas, pas de saut de page et l'inscription "\pageBreak Menuetto" sur la partition en pdf. Apparemment newpage n'existe plus depuis 2.0.2, et le remplacement par pageBreak n'est pas trop documenté...


Référence du fichier :
http://www.mutopiaproject.org/cgibin/make-table.cgi?Instrument=Clarinet

Divertimento II de Mozart, que je voudrais revoir pour un ensemble de clarinettes...

En espérant ne pas vous faire perdre trop de temps avec cela, merci d'avance.

jmr





------------------------------

_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr


Fin de Lot lilypond-user-fr, Vol 57, Parution 2
***********************************************





reply via email to

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