Re: lilypond-book mysteries

2005-08-22 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00419.html

  /Mats

David Bobroff wrote:

I'm anticipating a possible need for lilypond-book.  I've been
experimenting with a short file to see how everything interacts so I can
get a feel for how it works.

I've run into some unexpected results.  If I run this through straight
LilyPond (2.7.6) it's fine:


%% File myfile.ly

\score {
  \relative c' {
c1 \break
c
  }
}


It becomes mysterious, however, if I call the above *.ly file from
lilypond-book:

%% File test.lytex

\documentclass{article}
\usepackage[margin=3cm, noheadfoot]{geometry}
\usepackage{graphicx}
\begin{document}

\lilypondfile{myfile.ly}

\end{document}

%%%

If I use options in [] before {myfile.ly} the music is printed on a
single line despite the \break.  Is this because it is now treated as a
fragment?

I also lose the normal indentation, which I would like to keep, that is
present when using plain LilyPond.

Also, when running dvips I get this output in the console:

This is dvips(k) 5.92b Copyright 2002 Radical Eye Software
(www.radicaleye.com)
' TeX output 2005.08.20:0730' - dent.ps
dvips: Font CenturySchL-Roma used in file lily-602189417-1.eps is not in
the mapping file.
dvips: Font PFAEmmentaler-20 used in file lily-602189417-1.eps is not in
the mapping file.
tex.proalt-rule.prodent.psfontstexc.prof7b6d320.enctexps.pro
special.pro.
cmr10.pfb[1lily-602189417-1.epslily-602189417-2.eps]
[EMAIL PROTECTED] out]#

-David

Fedora Core 3



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond-book mysteries

2005-08-20 Thread David Bobroff
I'm anticipating a possible need for lilypond-book.  I've been
experimenting with a short file to see how everything interacts so I can
get a feel for how it works.

I've run into some unexpected results.  If I run this through straight
LilyPond (2.7.6) it's fine:


%% File myfile.ly

\score {
  \relative c' {
c1 \break
c
  }
}


It becomes mysterious, however, if I call the above *.ly file from
lilypond-book:

%% File test.lytex

\documentclass{article}
\usepackage[margin=3cm, noheadfoot]{geometry}
\usepackage{graphicx}
\begin{document}

\lilypondfile{myfile.ly}

\end{document}

%%%

If I use options in [] before {myfile.ly} the music is printed on a
single line despite the \break.  Is this because it is now treated as a
fragment?

I also lose the normal indentation, which I would like to keep, that is
present when using plain LilyPond.

Also, when running dvips I get this output in the console:

This is dvips(k) 5.92b Copyright 2002 Radical Eye Software
(www.radicaleye.com)
' TeX output 2005.08.20:0730' - dent.ps
dvips: Font CenturySchL-Roma used in file lily-602189417-1.eps is not in
the mapping file.
dvips: Font PFAEmmentaler-20 used in file lily-602189417-1.eps is not in
the mapping file.
tex.proalt-rule.prodent.psfontstexc.prof7b6d320.enctexps.pro
special.pro.
cmr10.pfb[1lily-602189417-1.epslily-602189417-2.eps]
[EMAIL PROTECTED] out]#

-David

Fedora Core 3



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-book mysteries

2005-08-20 Thread David Bobroff
On Sat, 2005-08-20 at 12:12 +0200, Han-Wen Nienhuys wrote:
 David Bobroff wrote:
  I'm anticipating a possible need for lilypond-book.  I've been
  experimenting with a short file to see how everything interacts so I can
  get a feel for how it works.
  
  I've run into some unexpected results.  If I run this through straight
  LilyPond (2.7.6) it's fine:
  
  
  %% File myfile.ly
  
  \score {
\relative c' {
  c1 \break
 
  c
}
  }
  
  
  It becomes mysterious, however, if I call the above *.ly file from
  lilypond-book:
  
 
 don't know what is happening, but it's easier to judge when you inspect 
 the corresponding lily-X.ly file.
 

Well, here it is:

%% Generated by lilypond-book
%% Options: [alt=[image of music],linewidth=444\pt,indent=0\mm]

#(set! toplevel-score-handler print-score-with-defaults)
#(set! toplevel-music-handler (lambda (p m)
   (print-score-with-defaults
p (scorify-music m p

#(ly:set-option (quote no-point-and-click))

#(define version-seen? #t)



% 
% Start cut--pastable-section 
% 

\paper {
  #(define dump-extents #t)
  
  linewidth = 444\pt
  indent = 0\mm
}

\layout {
  
}

% ly snippet:
\renameinput indent.ly
\score {
  \relative c' {
c1 \break
c
  }
  \layout {
   % indent = 2\cm
  }
}

% end ly snippet



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user