[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book "ignores" system-count?
From: |
Dmytro O. Redchuk |
Subject: |
Re: lilypond-book "ignores" system-count? |
Date: |
Tue, 20 Mar 2007 16:43:07 +0200 |
User-agent: |
Mutt/1.4.2.1i |
On Tue, Mar 20, 2007 at 02:34:27PM +0100, Mats Bengtsson wrote:
>
>
> Dmytro O. Redchuk wrote:
> >Yes, i do want to specify system-count within lilypond source file!-)
> >But that didn't work (2.10.20, windows and linux binary versions).
> >
> >
> Are you really sure? I just tried to split the example I sent in my
> earlier email
> into a separate .ly file and a LaTeX file that just makes \lilypondfile{...}
> and it certainly works to set system-count in a \paper block within the
> included .ly file.
Yes, i'm really sure.
I've re-installed lilypond ten minutes ago.
(LilyPond installer for version 2.10.20 release 1.)
% ----- ly: -----------------------------------------------
\version "2.10.20"
\relative c' {
\time 4/4
\partial 4*1
\autoBeamOff
d4
g4. g8 g4 d
g b d4.\fermata b8
b4 b c8 c c c
b4( a) b2
c4 b c d
e4. e8 e4 e
d2 c4 c
b2 a
b1 \fermata
\bar"||"
}
\paper {
system-count = #5
}
% ---------------------------------------------------------
% ----- tex: ----------------------------------------------
\documentclass{article}
\begin{document}
\lilypondfile{myscore.ly}
\end{document}
% ---------------------------------------------------------
Well, lilypond produces score with five staves, while lilypond-book --
with only two.
A piece of output:
% ----- output: -------------------------------------------
lilypond-book (GNU LilyPond) 2.10.20
Reading myscore.tex...
Running latex...This is TeX, Version 3.14159 (Web2C 7.4.4)
(/home/fox/tmp/tmpCnToVg.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, r
ussian, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
No file tmpCnToVg.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpCnToVg.aux) )
No pages of output.
Transcript written on tmpCnToVg.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.10.20
Processing `snippet-map.ly'
Разбираю...
Processing `myscore.tex'
Разбираю...
Renaming input to: `myscore.ly'
Interpreting music... [8][10]
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing lily-eccdaa94dc-systems.tex...
Writing lily-eccdaa94dc-systems.texi...
Layout output to `lily-eccdaa94dc-1.eps'...
Layout output to `lily-eccdaa94dc-2.eps'...
Layout output to `lily-eccdaa94dc.eps'...
Compiling myscore.tex...
Writing `myscore.tex'...
Writing fonts to myscore.psfonts...
DVIPS usage:
dvips -h out/myscore.psfonts out/myscore.dvi
% ---------------------------------------------------------
Well, lily-eccdaa94dc.ly contains two "paper" blocks -- second one is
after notes.
When i use your advice with "paper" in .tex document -- snippet contains
two "paper" blocks, but both are before notes.
I don't understand the difference, what's the difference, but
lilypond-book ignores system-count within .ly source. In my case :-)
> This should be completely equivalent to doing the same setting within
> myfile.ly
> and using \lilypondfile{myfile.ly}.
:-(
Anyway, i can use you prev. example, thank you :-)
>
> /Mats
--
_,-=._ /|_/|
`-.} `=._,.-=-._., @ @._,
`._ _,-. ) _,.-'
` G.m-"^m`m' Dmytro O. Redchuk