]> git.donarmstrong.com Git - lilypond.git/commitdiff
duh.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 15 May 2002 11:47:39 +0000 (11:47 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 15 May 2002 11:47:39 +0000 (11:47 +0000)
89 files changed:
ChangeLog
Documentation/topdocs/INSTALL.texi
buildscripts/make-font-dir.py
config.make.in
flower/data-file.cc [deleted file]
flower/getopt-long.cc
flower/include/data-file.hh [deleted file]
flower/include/getopt-long.hh
flower/include/rational.hh
flower/include/string.hh
flower/include/text-db.hh [deleted file]
flower/include/text-stream.hh [deleted file]
flower/input.cc
flower/rational.cc
flower/string.cc
flower/text-db.cc [deleted file]
flower/text-stream.cc [deleted file]
flower/warn.cc
input/baerenreiter-sarabande.ly
input/example-3.ly
input/just-friends.ly
input/les-nereides.ly
input/mozart-hrn3-allegro.ly
input/mozart-hrn3-defs.ly
input/mozart-hrn3-romanze.ly
input/mozart-hrn3-rondo.ly
input/mutopia-header.ly
input/opus-130.ly
input/praeludium-fuga-E.ly
input/rhythm.ly
input/scarlatti-paper.ly
input/star-spangled-banner.ly
input/trip.ly
input/twinkle-pop.ly
input/twinkle.ly
lily/engraver-group-engraver.cc
lily/include/midi-stream.hh
lily/include/moment.hh
lily/lexer.ll
lily/main.cc
lily/midi-stream.cc
lily/moment.cc
lily/scm-option.cc
lily/scores.cc
lily/warn.cc
ly/a4-init.ly
ly/accordion-defs-init.ly
ly/book-init-init.ly
ly/catalan.ly
ly/center-init.ly
ly/chord-modifiers-init.ly
ly/declarations-init.ly
ly/deutsch.ly
ly/drumpitch-init.ly
ly/dynamic-scripts-init.ly
ly/english.ly
ly/engraver-init.ly
ly/generate-documentation.ly
ly/generic-paper-init.ly
ly/german-chords-init.ly
ly/init.ly
ly/italiano.ly
ly/ledger-init.ly
ly/legal-init.ly
ly/letter-init.ly
ly/midi-init.ly
ly/nederlands.ly
ly/norsk.ly
ly/paper-as5-init.ly
ly/paper-as9-init.ly
ly/paper-init.ly
ly/paper11-init.ly
ly/paper13-init.ly
ly/paper16-init.ly
ly/paper20-init.ly
ly/paper23-init.ly
ly/paper26-init.ly
ly/params-as-init.ly
ly/params-init.ly
ly/part-paper-init.ly
ly/performer-init.ly
ly/property-init.ly
ly/scale-definitions-init.ly
ly/script-init.ly
ly/spanners-init.ly
ly/suomi.ly
ly/svenska.ly
mf/GNUmakefile
scripts/lilypond-book.py

index 1b714ec0da13bd28e90e90331803ac1d7e751f4a..bc8062bb5224bc4216a025fd1fb9b8bc399c4869 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-15  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * lily/*.cc: remove as many iostream use as possible. 
+
+       * flower/ : remove text-db, text-stream, data-file.
+       
 2002-05-15  Han-Wen  <hanwen@cs.uu.nl>
 
        * scripts/lilypond-book.py: add --no-music option: strip all blocks.
@@ -9,6 +15,11 @@
 
 2002-05-13  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
 
+       * scripts/lilypond-book.py (make_pixmap): output png directly.
+
+       * mf/GNUmakefile (INSTALLATION_OUT_FILES4): create and install
+       fonts.dir file.
+
        * lily/parser.yy (My_lily_parser): uncomment code. (Causes
        problems  with recent bison releases).
 
index c050addd460bc860f1aa75c897b242dfd795e283..1130e259d38fb41bf5895dc1764a2c004b188d68 100644 (file)
@@ -146,7 +146,7 @@ Also, @TeX{}'s libkpathsea is used to find the fonts (@file{.mf}, @file{.afm}, @
 Make sure you have tetex 1.0 or newer (1.0.6 is known to work).  You may
 need to install a tetex-devel or tetex-dev package too.
 
-@item Texinfo (version 4.0 or newer).
+@item Texinfo (version 4.2 or newer).
 The documentation of lily is written in texinfo.  Check out
 @uref{ftp://ftp.gnu.org/gnu/texinfo/,the texinfo FTP directory}.
 
@@ -159,7 +159,7 @@ with the @TeX{} distribution.
 @item kpathsea, a library for searching (@TeX{}) files.  @code{kpathsea} is
 usually included with your installation of @TeX{}.  You may need to install
 a tetex-devel or tetex-dev package too. If kpathsea is not installed in
-a directory where the compiler normaly looks, read the hints for
+a directory where the compiler normally looks, read the hints for
 Slackware below.
 
 In the very unlikely case that kpathsea is not available for your
@@ -172,11 +172,6 @@ configure something like:
 ./configure --without-kpathsea --enable-tfm-path=/usr/share/texmf/fonts/tfm/public/cm/:/usr/share/texmf/fonts/tfm/ams/symbols
 @end example
 
-
-@item pktrace 1.0 or newer, [OPTIONAL], needed for generating PostScript Type1
-fonts. Get it from  @uref{http://www.cs.uu.nl/~hanwen/pktrace/}.  You
-will need to install some additional packages to get pktrace to work.
-
 @end itemize
 
 @subsection Running requirements
@@ -216,22 +211,10 @@ by issuing
 Building the website requires some additional tools: 
 
 @itemize @bullet
-@item xpmtoppm (from the netpbm package: the Portable Bitmap Utilities).
-       The original is at
-@uref{ftp://ftp.x.org/contrib/utilities/netpbm-1mar1994.p1.tar.gz,the
-netpbm FTP site}
-
-@item pnmtopng. The original is
-at
-@uref{ftp://swrinde.nde.swri.edu/pub/png/applications/pnmtopng-2.37.2.tar.gz,in
-the pnmtopng FTP site}.
-
-@item texinfo (a development release)
-The documentation will build with texinfo-4.0, but if you want split
-html pages, you're best off using the lates pretest version from
-@uref{ftp://texinfo.org/texinfo/pretests/texinfo-4.0b.tar.gz,
-texinfo-4.0b} or
-@uref{ftp://alpha.gnu.org/gnu/texinfo-4.0b.tar.gz,texinfo-4.0b}
+@item The netpbm utilities, see @uref{http://netpbm.sourceforge.net/}
+@item pktrace 1.0 or newer, needed for generating PostScript Type1
+fonts. Get it from @uref{http://www.cs.uu.nl/~hanwen/pktrace/}.  You
+will need to install some additional packages to get pktrace to work.
 @end itemize
 
 @section Building  LilyPond
@@ -325,7 +308,7 @@ file.
 
 @subsection Red Hat Linux
 
-Red Hat 7.0 i386 RPMS are available from
+Red Hat 7.x i386 RPMS are available from
 @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/binaries/}.
 
 You can also compile them yourself.  A spec file is in
@@ -342,9 +325,10 @@ with the sources.  You can make the rpm by issuing
 For running on a Red Hat system you need these packages: guile, tetex,
 tetex-latex, tetex-dvips, libstdc++, python, ghostscript.
 
-For compilation on a Red Hat system you need these packages, in addition
-to the those needed for running: glibc-devel, gcc-c++, libstdc++-devel,
-guile-devel, flex, bison, texinfo, groff, pktrace.
+For compilation on a Red Hat system you need these packages, in
+addition to the those needed for running: glibc-devel, gcc-c++,
+libstdc++-devel, guile-devel, flex, bison, texinfo, groff, pktrace,
+netpbm-progs, autotrace, t1utils.
 
 
 
index 8edcffca3baa23b2cbc139e2ab9ef01e2c1f60ac..f81fe87baf9918e0d4b65f9dee8360a3c06103df 100644 (file)
@@ -1,4 +1,8 @@
+#!@PYTHON
+
+
+## make a fonts.scale file.
+
 import re
 import sys
 import string
index 0cf0c6e36a3868be879255a777b554f56fa3d69f..43a87ceab8f51a58bc3bc659531b4a7c026adeff 100644 (file)
@@ -11,7 +11,7 @@ USER_LDFLAGS = @LDFLAGS@ @GUILE_LDFLAGS@
 CC = @CC@
 CROSS = @cross_compiling@
 CXX = @CXX@
-GCC = @GCC@
+
 LD = @LD@
 PACKAGE = @PACKAGE@
 package = @package@
diff --git a/flower/data-file.cc b/flower/data-file.cc
deleted file mode 100644 (file)
index 9f4c16b..0000000
+++ /dev/null
@@ -1,143 +0,0 @@
-/*   
-  data-file.cc --  implement Data_file 
-  
-  source file of the Flower Library
-  
-  (c) '95, '96, '97 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
-  DEPRECATED
-  
-  */
-#include <ctype.h>
-#include <stdlib.h>
-
-#include "international.hh"
-#include "data-file.hh"
-
-void
-Data_file::gobble_white ()
-{
-  char c;
-
-  while ((c=data_get ()) == ' ' ||c == '\t')
-    if (eof_b ())
-      return;
-
-  data_unget (c);
-}
-
-String
-Data_file::get_word ()
-{// should handle escape seq's
-  String s;
-
-  while (1)
-    {
-      char     c  = data_get ();
-      
-      if (eof_b ())
-       break;
-
-      if (isspace (c))
-       {
-         data_unget (c);
-         break;
-       }
-
-
-      if (c == '\"')
-       {
-         rawmode= true;
-
-         while ((c  = data_get ()) != '\"')
-           if (eof_b ())
-             error (_ ("EOF in a string"));
-           else
-             s += to_str (c);
-
-
-         rawmode= false;
-       }
-      else
-       s += to_str (c);
-    }
-
-  return s;
-}
-
-char
-Data_file::data_get ()
-{
-  char c =  get ();
-  if (!rawmode && c == '#') // gobble comment
-    {
-      while (!eof_b () && (c = get ()) != '\n')
-       ;
-      return '\n';
-    }
-
-  return c;
-}
-
-String
-Data_file::get_line ()
-{
-  char c;
-  String s;
-
-  while (!eof_b () && (c  = data_get ()) != '\n')
-    s += to_str (c);
-  return s;
-}
-
-void
-Data_file::gobble_leading_white ()
-{
-  // eat blank lines.
-  while (!eof_b ())
-    {
-      char c = data_get ();
-      if (!isspace (c))
-       {
-         data_unget (c);
-         break;
-       }
-    }
-}
-
-Data_file::Data_file (String s)
-  : Text_stream (s) 
-{
-  //*mlog << " (" << s << flush;       
-  rawmode=  false;     
-}
-
-void
-Data_file::warning (String s)
-{
-  message (_ ("warning: ") + s);
-}
-
-void
-Data_file::error (String s)
-{
-  message (s);
-  exit (1);    
-}
-
-String
-Data_file::gulp ()
-{
-  String s;
-
-  while (!eof_b ())
-    {
-      s += to_str (data_get ());
-    }
-  return s;
-}
-  
-
-Data_file::~Data_file ()
-{
-}
index 8e210efe2006bba701020b0ab3b76b8ecbfcd65f..7395555e79acdfe6c76dabff2e43baac95019724 100644 (file)
@@ -134,7 +134,7 @@ void
 Getopt_long::report (Errorcod c)
 {
   error_ = c;
-  if (!error_ostream_l_)
+  if (!error_out_)
     return;
 
   String str = arg_value_ch_a_a_[0];
@@ -163,7 +163,7 @@ Getopt_long::report (Errorcod c)
     default:
       assert (false);
     }
-  *error_ostream_l_ << str << endl;
+  fprintf(error_out_, "%s\n", str.ch_C());
   exit (2);
 }
 
@@ -254,7 +254,7 @@ Getopt_long::operator () ()
 Getopt_long::Getopt_long (int c, char  **v, Long_option_init *lo)
 {
   option_a_ = lo;
-  error_ostream_l_ = &cerr;
+  error_out_ = stderr;
   arg_value_ch_a_a_ = v;
   argument_count_i_ = c;
   array_index_i_ = 1;
diff --git a/flower/include/data-file.hh b/flower/include/data-file.hh
deleted file mode 100644 (file)
index 797765c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-  data-file.hh -- declare Data_file
-
-  source file of the LilyPond music typesetter
-
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-*/
-
-
-#ifndef DATAFILE_HH
-#define DATAFILE_HH
-
-#include "text-stream.hh"
-
-/// read a data file
-class Data_file : private Text_stream
-{
-    
-public:
-  bool rawmode;
-
-  Text_stream::line;    
-  Text_stream::eof_b;
-  Text_stream::get_name;    
-
-  /**
-   Get a char.
-   Only class member who uses text_file::get
-   */
-  char data_get ();    
-  void data_unget (char c) {
-    unget (c);
-  }
-
-  /// read line, eat #\n#
-  String get_line ();
-    
-  /// read a word till next space, leave space. Also does quotes
-  String get_word ();
-
-  /// gobble horizontal white stuff.
-  void gobble_white ();
-
-  /// gobble empty stuff before first field.
-  void gobble_leading_white ();
-  Data_file (String);
-  ~Data_file ();
-  /**
-     eat complete file
-     @post
-     eof () is true
-  */
-  String gulp ();
-  void warning (String s);
-  void error (String s);
-};
-#endif // DATAFILE_HH
index a0992c98e6f0e03ccfc7ff91f27061ff85bcce55..58efbfe211a5d96b3ca57c9ded94d43cf83e6e6f 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef GETOPT_LONG_HH
 #define GETOPT_LONG_HH
 
-#include <ostream.h> /* gcc 3.0 */
+
 #include "string.hh"
 
 /**
@@ -66,7 +66,7 @@ public:
   /// the arg. count
   int argument_count_i_;
 
-  ostream *error_ostream_l_;
+  FILE *error_out_;
 
 public:
   /// get ready for processing next error.
@@ -90,7 +90,7 @@ public:
     if #os# is null, then do not report nor abort, just set #error#
     */
        
-  void seterror (ostream *os);
+  void seterror (FILE *os);
 
   /// construct: pass arguments and option info.
   Getopt_long (int c,  char **v, Long_option_init *lo);
index 9373b484489eea9a1356969e75eeddf66d68c456..5b4402f4c4b24cb3d605c2ddf481d96da0a64b30 100644 (file)
@@ -92,8 +92,10 @@ Rational::copy (Rational const&r)
   den_ = r.den_;
 }
 
+#if 0
 ostream &
 operator << (ostream &,  Rational);
+#endif
 
 const Rational infinity_rat = INT_MAX;
 
index 334b0540a0877f30cdb89b8db3eeb253a1453dee..921afb2a65d2f6b14dff230e6e005649fe1b541d 100644 (file)
 #define STRING_HH
 
 
+// too darn slow with gcc3
+#ifdef STREAM_SUPPORT
 #if ( __GNUC__ > 2 )
-#include <iostream.h> /* gcc 3.0 */
+#include <iostream.h>
 #else
 class ostream;
 #endif
+#endif
 
 #include "arithmetic-operator.hh"
 #include "flower-proto.hh"
@@ -138,9 +141,11 @@ public:
   void to_upper ();
   void to_lower ();
 
+#ifdef STREAM_SUPPORT
   /// provide Stream output
   void print_on (ostream& os) const;
-
+#endif
+  
   /// the length of the string
   int length_i () const;
 
@@ -209,7 +214,8 @@ inline bool operator!= (char const* s1,String s2) {
 }
 
 IMPLEMENT_ARITHMETIC_OPERATOR (String, +);
-
+#ifdef STREAM_SUPPORT
 ostream &operator << (ostream& os, String d);
+#endif
 
 #endif
diff --git a/flower/include/text-db.hh b/flower/include/text-db.hh
deleted file mode 100644 (file)
index 813bdf0..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef TEXTDB_HH
-#define TEXTDB_HH
-
-#include "data-file.hh"
-
-/**a "const" Array. Contents can't be changed. do "#" comments, read quote enclosed  fields */
-
-class Text_record : Array<String>  
-{
-    int line_no;
-    String filename;
-    
-public:
-    Text_record () { } // needed because of other ctor
-
-    /// report an error in this line.
-    void message (String s);
-      String operator[] (int j) {
-       return Array<String>::operator[] (j);
-    }
-
-    Text_record (Array<String> s, String fn, int j) : Array<String> (s) { 
-       filename = fn; line_no = j; 
-    }
-    Array<String>::size;           
-};
-
-/** abstraction for a datafile.
-    add a subrec/fieldsep/record separator
-    */
-
-class Text_db : private Data_file
-{
-    void gobble_leading_white ();
-public:
-    /// get a line with records
-    Text_record    get_record ();
-
-    Text_db (String fn):Data_file (fn) { }
-    Data_file::error;
-    bool eof_b ();
-
-    /// get next line.
-    Text_record operator++ (int) {
-       return get_record ();
-    }
-    /// are we done yet?
-    operator bool () {
-       return !eof_b ();
-    }
-};
-
-#endif
diff --git a/flower/include/text-stream.hh b/flower/include/text-stream.hh
deleted file mode 100644 (file)
index 6d7e553..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-
-#ifndef TEXTSTR_HH
-#define TEXTSTR_HH
-
-#include <stdio.h>
-#include <ctype.h>
-#include "string.hh"
-#include "array.hh"
-
-/**
-  line counting input stream. 
-  a stream for textfiles. linecounting. Thin interface getchar and
-  ungetchar. (ungetc is unlimited) 
-  
-  should protect get and unget against improper use
-*/
-
-
-class Text_stream
-{
-  int line_no;
-
-  // could just have used streams. 
-  FILE *f;  
-  Array<char> pushback;
-  String name;
-    
-public:
-  Text_stream (String fn);
-  String get_name () { return name; }
-  bool eof_b ();
-  char get () {
-    char c;
-       
-    if (pushback.empty ())
-      c = getc (f);    
-    else 
-      c = pushback.pop ();
-
-    if (c =='\n')
-      line_no++;
-    return c;  
-  }
-  void unget (char c) {
-    if (c =='\n')
-      line_no--;
-    pushback.push (c);
-  }
-  char peek () {
-    if (eof_b ())
-      return (char)-1;
-    char c = get ();
-    unget (c);
-    return c;
-  }
-  bool eol () {
-    return (peek () == '\n');
-  }
-  int line (){
-    return line_no;
-  }
-
-  ~Text_stream ();
-  
-
-  /// GNU format message.
-  void message (String s); 
-};
-
-#endif
index d45f81b9d32a62d37c4a61913d9bf9d871bb4632..98bbab4ee94e623db5635ddd179ba6178bdb9112 100644 (file)
@@ -5,7 +5,9 @@
 
   (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
-#include <iostream.h>
+
+#include <stdio.h>
+
 #include "flower-proto.hh"
 #include "input.hh"
 #include "string.hh"
@@ -76,7 +78,7 @@ Input::message (String message_str) const
     str += ":\n";
     str += source_file_l_->error_str (defined_ch_C_);
    }
-  cerr << str << endl;
+  fprintf (stderr, "%s\n", str.ch_C());
 }
 
 void
index 42e0c0a97c2025424a4ec17686684f899e01b4f1..4c7c293e356b183e58b69db8e648fe5fc28a8808 100644 (file)
@@ -17,12 +17,15 @@ Rational::operator double () const
   return (double)sign_ * num_ / den_;
 }
 
+#ifdef STREAM_SUPPORT
 ostream &
 operator << (ostream &o, Rational r)
 {
   o <<  r.str ();
   return o;
 }
+#endif
+
 
 Rational
 Rational::trunc_rat () const
index 4659807f0c30c819a13c10a4360d20330c0b8a8a..e08e908efe7a87a028d8d140976923ba4bdb51b2 100644 (file)
@@ -42,15 +42,6 @@ String::copy_ch_p () const
   return (char*)copy_byte_p ();
 }
 
-void
-String::print_on (ostream& os) const
-{
-  if (!strh_.is_binary_bo ())
-    os << ch_C ();
-  else
-    for (int i = 0; i < length_i (); i++)
-      os << (Byte) (*this)[ i ];
-}
 \f
 /*
   copying, constructing.
@@ -397,6 +388,7 @@ String::value_f () const
   return String_convert::dec2_f (*this);
 }
 
+#ifdef STREAM_SUPPORT
 ostream &
 operator << (ostream& os, String d)
 {
@@ -405,4 +397,13 @@ operator << (ostream& os, String d)
 }
 
 
+void
+String::print_on (ostream& os) const
+{
+  if (!strh_.is_binary_bo ())
+    os << ch_C ();
+  else
+    for (int i = 0; i < length_i (); i++)
+      os << (Byte) (*this)[ i ];
+}
+#endif
diff --git a/flower/text-db.cc b/flower/text-db.cc
deleted file mode 100644 (file)
index 6acfa9e..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#include <iostream.h>
-#include "text-db.hh"
-
-bool
-Text_db::eof_b ()
-{
-  Data_file::gobble_leading_white ();
-  return  Data_file::eof_b ();
-}
-
-void
-Text_db::gobble_leading_white ()
-{
-  while (1) 
-    {
-      Data_file::gobble_leading_white ();
-      if (eof_b ())
-       return ;
-      char c;
-      if ((c = data_get ()) !='\n')
-       {
-         data_unget (c);
-         return ;
-       }       
-    }  
-}
-
-
-Text_record
-Text_db::get_record () 
-{
-  while (1) 
-    {
-      String s;
-      Array<String> fields;
-      assert (!eof_b ());
-       
-      while ((s = get_word ()) != "")
-       {
-         fields.push (s);      
-         gobble_white ();
-       }
-            
-
-      if (get_line () != "")
-       assert (false);
-    
-      assert (fields.size ());
-      return Text_record (fields, get_name (), line ());
-    }
-}
-
-
-void
-Text_record::message (String s)
-{
-  cerr << '\n'<< filename << ": "<< line_no << s << "\n";
-}             
diff --git a/flower/text-stream.cc b/flower/text-stream.cc
deleted file mode 100644 (file)
index e6a1202..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#include <stdlib.h>
-#include <iostream.h>
-#include "text-stream.hh"
-
-Text_stream::Text_stream (String fn)
-{
-  ios::sync_with_stdio ();
-  if (fn == "")
-    {
-      name = _ ("<stdin>");
-      f = stdin;
-    }
-
-  else
-    {
-      name = fn;
-      f = fopen (fn.ch_C (), "r");
-    }
-
-  if (!f)
-    {
-      cerr << __FUNCTION__ 
-          << ": " << _f ("can't open file: `%s'", fn) << '\n';
-      exit (1);
-    }
-
-  line_no = 1;
-}
-
-void
-Text_stream::message (String s)
-{
-  cerr << '\n'<<get_name () << ": " << line ()<<": "<<s<<endl;
-}
-
-bool
-Text_stream::eof_b ()
-{
-  /* UGH UGH ugh*/
-    return
-      // !pushback.size () && 
-      feof (f);
-}
-
-Text_stream::~Text_stream ()
-{
-    if (!eof_b ()) 
-      cerr <<__FUNCTION__<< ": closing unended file";
-    
-    fclose (f);
-  }
index 9cfd19e3f281e9d79f1634b867f60a737a1d95af..4ad8e947d85a23f415a5b9ddf94c90ee3b5a1af9 100644 (file)
@@ -1,38 +1,37 @@
 #include <stdlib.h>
-#include <stream.h>
+#include <stdio.h>
+
 #include "warn.hh"
 
 
 void
 error (String s)
 {
-  cerr <<  _ ("error: ") << s << '\n';
-
+  fputs ( _f("error: %s\n", s.ch_C()).ch_C(), stderr);  
   exit (1);
 }
 
 void
 non_fatal_error (String s)
 {
-  cerr <<  _ ("error: ") << s << '\n';
+  fputs ( _f("error: %s\n", s.ch_C()).ch_C(), stderr);  
 }
 
 void
 warning (String m)
 {
-  cerr << _ ("warning: ") <<m <<endl;
-
+  fputs ( _f("warning: %s\n", m.ch_C()).ch_C(), stderr);
 }
 
 void
 message (String m)
 {
-  cerr << m<<endl;
+  fprintf (stderr, "%s\n",m.ch_C());
 }
 
 void
 programming_error (String s)
 {
-  cerr << _ ("programming error: ") << s << _ (" (Continuing; cross thumbs)") << '\n';
+  fputs ( _f("programming error: %s (Continuing; cross thumbs)\n", s.ch_C()).ch_C(), stderr);  
 }
 
index b7de5d717bdecdfbb6ee075a6a1b7adc2b63b050..7acd483dfdbb3b5527e1da326b4bdaa5dafbc169 100644 (file)
@@ -30,7 +30,7 @@ half way in measure 13 has been forgotten.
 }
 
 
-\version "1.3.148"
+\version "1.5.49"
 
 
 sarabandeA =  \context Voice \notes \relative c {
@@ -110,7 +110,7 @@ sarabande =  \context Staff \notes<
   
 >
 
-\version "1.3.148"
+\version "1.5.49"
 
 sarabandeCelloGlobal =  \notes{
   \time 3/4
index 8a445f1dbb3164350dbf0d57a1828bfa9dcf7058..b3514e34a3d2f85e7577cc54fbc6f3401a7141dc 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 one =  \notes\relative c{
        c'' d e f
index 193884c7f85aac3ca86663707ed459e0c4231575..68427d9baa22a50c361528710a5f77b2c2a11d19 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header {
   filename =    "just-friends.ly"
   title =       "Just Friends"
index 838020509cbc0ffe7a40ffd83620047ca38f2ca9..2f8f5af765271aca821700cbbbd234337bf9601a 100644 (file)
@@ -10,7 +10,7 @@ FAKE_GRACE looks best.
 
 %}
 
-\version "1.3.148"
+\version "1.5.49"
 
 \header {
     composer =   "ARTHUR GRAY"
index be8e05fb98a8a7e41af495ef6a413af9bcc60d8d..684a5d667bf53a0937b2a8ed4e244a382d1c5bea 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 %\include  "mozart-hrn3-defs.ly"
 
 allegro =
index 3d3f52885937e7b597318a659fce87e0195b1f7c..ba2550e0906fd9d11257785ca91e75ad3c33407d 100644 (file)
@@ -6,7 +6,7 @@ longgrace = \property Voice.Stem \override #'flag-style = #'()
 endlonggrace = \property Voice.Stem \revert #'flag-style
 ritenuto = \textscript #'(italic  "rit.")
 
-\version "1.5.47"
+\version "1.5.49"
 
 #(define italic-bf '((font-shape . italic) (font-series . bold)))
 
index 04370123c8dd9d6ec1e3423120988225099f6728..5fb0a103f7ae2e81a7e8b48a86e3797381f171fc 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "1.3.146"
+\version "1.5.49"
 %\include  "mozart-hrn3-defs.ly"
 
 romanze = \notes \relative c' {
index f53b86fea90a612e145417359f706b2f60375d33..95e729845195c251350304f199e699a171b78814 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 % \include "mozart-hrn3-defs.ly"
 
index 4f324102f5b75bf6b699b437087edcd3df4476b0..19ebc33f39251dc1bfebae9bc6315807cedd6840 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header {
   title =      "Title"
   subtitle =   "Subtitle"
index 33de967a31d01da8b69f2ad67b146072c8eaa08a..3202051363cffadd53ef4c42683e7dbd50bc66dd 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header{
 filename =      "opus-130.ly"
 title =         "Quartett"
index 34289d19bd1a6a40691571f3beb8182b450d844b..6df079171b79e4cd83cffb2aece74cc5d316b7a9 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header {
   filename =    "praeludium-fuga-E.ly"
   title =       "praeludium and fuga in E-major"
index d7e336c25208e09e1aff99c6bd16837ade70b48c..16a72f34e9c2f7e8708b1986f2454c03e2859d92 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header{
 filename =      "rhythm.ly"
 enteredby =     "HWN"
index 6840d979be28688d6df999c134080637beee53a0..c754748bc896d777b09cec587999b0d2bfac6cef 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 \paper{
        indent=0.
@@ -13,7 +13,7 @@
        }
        \translator {
          \ScoreContext
-         SpacingSpanner \override #'arithmetic-multiplier = #1.4
+         SpacingSpanner \override #'spacing-increment = #1.4
        }
        \translator{
                \VoiceContext
index 739d47ec4242eb4d7076418cbef5f59ad1e7af28..a15d8f49a71a6bd20a8f92a4c01330b8ef1ba1dd 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 %{
 Converted from star.mup with the aid of mup2ly.py
 http://www.arkkra.com/doc/star.html
index 50add21ba5792cd357e6346b25a0a7de6f8f6ac8..7342f420fdc2f3c35d8dc92706ebfa3b2cd29841 100644 (file)
@@ -7,7 +7,7 @@
 }
 
 
-\version "1.3.146"
+\version "1.5.49"
 
 %{
 
index e5073265d0e7d8e1376f4469b73fe05ba4ec62da..0511c64448fca4bec3ec4d2f2534145b0b6267da 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header{
 filename =      "twinkle-pop.ly"
 xtitle =        "Ah, vous dirais-je, maman "
index c6726d473f6331f82d0325cd114194ad62b3060f..756ca659d9eae57d684a4d3de05b0931f5aa5e93 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \header{
 filename =     "twinkle.ly"
 title =                "Twinkle Twinkle Little Star"
index c07095e9c11014e2e122d91081725691d085255e..7bd0641015f6050e138c5e7fce8c55fb9df7c34c 100644 (file)
@@ -135,7 +135,7 @@ Engraver_group_engraver::do_announces ()
     }
 }
 
-#include <iostream.h>
+
 
 /*
   order is : top to bottom (as opposed to do_announces)
index dfca5cc62f9ba3e6218b57a26d05eb166d6486c1..fbe3973cd25638fdcd2c1f431366baa336c8e1ef 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef MIDI_STREAM_HH
 #define MIDI_STREAM_HH
 
+#include <iostream.h>
 #include "string.hh"
 
 /// Midi outputfile
index 1b132cb60c6245919386fd6128c1a3e2422a2795..30689a5d26bebff5f4e461a545ca34c7fe240557 100644 (file)
@@ -56,14 +56,14 @@ IMPLEMENT_ARITHMETIC_OPERATOR (Moment, - );
 IMPLEMENT_ARITHMETIC_OPERATOR (Moment, / );
 IMPLEMENT_ARITHMETIC_OPERATOR (Moment, * );
 
-ostream & operator << ( ostream &,Moment const &);
 
 DECLARE_UNSMOB(Moment,moment);
 int compare (Moment const&,Moment const&);
 INSTANTIATE_COMPARE (Moment const&, Moment::compare);
 
-#if 0
-IMPLEMENT_ARITHMETIC_OPERATOR (Moment, % );
+
+#ifdef STREAM_SUPPORT
+ostream & operator << ( ostream &,Moment const &);
 #endif
 
 #endif /* MOMENT_HH */
index fef2c28b82c61676b074722906a3ddd5dc155a18..53d56e4dde12d8e45fa94c12380d86761eb7caa6 100644 (file)
@@ -219,7 +219,7 @@ HYPHEN              --
          }
 }
 <incl>\"[^"]*   { // backup rule
-       cerr << _ ("Missing end quote") << endl;
+       error (_ ("Missing end quote"));
        exit (1);
 }
 <chords,notes,figures>{RESTNAME}       {
@@ -241,11 +241,11 @@ HYPHEN            --
        return scan_bare_word (s);
 }
 <INITIAL,chords,lyrics,notes,figures>\\\${BLACK}*              { // backup rule
-       cerr << _ ("white expected") << endl;
+       error (_("white expected"));
        exit (1);
 }
 <INITIAL,chords,lyrics,notes,figures>\${BLACK}*                { // backup rule
-       cerr << _ ("white expected") << endl;
+       error (_("white expected"));
        exit (1);
 }
 
@@ -640,14 +640,7 @@ strip_trailing_white (String&s)
 
 
 
-Lilypond_version oldest_version ("1.3.59");
-
-void
-print_lilypond_versions (ostream &os)
-{
-  os << _f ("Oldest supported input version: %s", oldest_version.str ()) 
-    << endl;
-}
+Lilypond_version oldest_version ("1.4.0");
 
 
 bool
index 37d8dfff9eb07e1150f610959f3f992132b76518..a78bcf89cd50c37f689daa4b00def4260e3009f8 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include <stdlib.h>
+#include <stdio.h>
 #include <iostream.h>
 #include <assert.h>
 #include <locale.h>
@@ -124,9 +125,9 @@ static Long_option_init options_static[] = {
 };
 
 void
-identify (ostream* os)
+identify (FILE* os)
 {
-  *os << gnu_lilypond_version_str ();
+  fputs(gnu_lilypond_version_str ().ch_C(), os);
 }
 
 void
@@ -136,23 +137,23 @@ usage ()
   /*
     No version number or newline here. It confuses help2man
    */
-  cout << _f ("Usage: %s [OPTION]... FILE...", "lilypond");
+  cout << _f ("Usage: %s [OPTION]... FILE...", "lilypond").ch_C();
   cout << "\n\n";
-  cout << _ ("Typeset music and or play MIDI from FILE");
+  cout << _ ("Typeset music and or play MIDI from FILE").ch_C();
   cout << "\n\n";
   cout << 
 _ (
 "LilyPond is a music typesetter.  It produces beautiful sheet music\n"
 "using a high level description file as input.  LilyPond is part of \n"
 "the GNU Project.\n"
-);
+).ch_C();
 
   cout << '\n';
-  cout << _ ("Options:");
+  cout << _ ("Options:").ch_C();
   cout << '\n';
-  cout << Long_option_init::table_str (options_static);
+  cout << Long_option_init::table_str (options_static).ch_C();
   cout << '\n';
-  cout << _ ("This binary was compiled with the following options:") 
+  cout << _ ("This binary was compiled with the following options:") .ch_C()
     << " " <<
 #ifdef NDEBUG
     "NDEBUG "
@@ -165,22 +166,22 @@ _ (
 
   cout << endl;
 
-  cout << _f ("Report bugs to %s", "bug-lilypond@gnu.org") << endl;
+  cout << _f ("Report bugs to %s", "bug-lilypond@gnu.org").ch_C() << endl;
 }
 
 void
 version ()
 {
-  identify (&cout);
+  identify (stdout);
   cout << '\n';
   cout << _f (""
   "This is free software.  It is covered by the GNU General Public License,\n"
   "and you are welcome to change it and/or distribute copies of it under\n"
   "certain conditions.  Invoke as `%s --warranty' for more information.\n",
-    "lilypond");
+    "lilypond").ch_C();
   cout << endl;
 
-  cout << _f ("Copyright (c) %s by", "1996--2002");
+  cout << _f ("Copyright (c) %s by", "1996--2002").ch_C();
   cout << '\n';
   cout << "  Han-Wen Nienhuys <hanwen@cs.uu.nl>\n";
   cout << "  Jan Nieuwenhuizen <janneke@gnu.org>\n";
@@ -190,9 +191,9 @@ void
 notice ()
 {
   cout << '\n';
-  cout << _ ("GNU LilyPond -- The music typesetter");
+  cout << _ ("GNU LilyPond -- The music typesetter").ch_C();
   cout << '\n';
-  cout << _f ("Copyright (c) %s by", "1996--2002");
+  cout << _f ("Copyright (c) %s by", "1996--2002").ch_C();
   cout << '\n';
   cout << "  Han-Wen Nienhuys <hanwen@cs.uu.nl>\n";
   cout << "  Jan Nieuwenhuizen <janneke@gnu.org>\n";
@@ -210,7 +211,7 @@ notice ()
             "    You should have received a copy (refer to the file COPYING) of the\n"
             "GNU General Public License along with this program; if not, write to\n"
             "the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,\n"
-            "USA.\n");
+            "USA.\n").ch_C();
 }
 
 String prefix_directory;
@@ -488,7 +489,7 @@ main (int argc, char **argv)
          break;
        }
     }
-  identify (&cerr);
+  identify (stderr);
 
 #ifdef WINNT
   scm_boot_guile (argc, argv, main_prog, 0);
index cbfe7075f18401ad05ed67070c306a1cbc70fea9..6fc0980ac84277f04ecfcbc46642d93db984f4d1 100644 (file)
@@ -35,7 +35,9 @@ Midi_stream::~Midi_stream ()
 Midi_stream&
 Midi_stream::operator << (String str)
 {
-  *os_p_ << str;
+  Byte * b = str.byte_l();
+  for (int sz = str.length_i (); sz--;)
+    *os_p_ << *b;
   return *this;
 }
 
@@ -58,7 +60,10 @@ Midi_stream::operator << (Midi_item const& midi_c_r)
       }
     }
 
-  *os_p_ << str;
+  Byte * b = str.byte_l();
+  for (int sz = str.length_i (); sz--;)
+    *os_p_ << *b;
+  
   return *this;
 }
 
index 2be3ea129d8c00da4908812cb4097c385eff98b7..97c8e067da269edccd2ff7282f0561ab70191bee 100644 (file)
@@ -204,9 +204,12 @@ Moment::operator - () const
   return m;
 }
 
+
+#ifdef STREAM_SUPPORT
 ostream &
 operator << (ostream &os, Moment const &m)
 {
   os << m.str ();
   return os;
 }
+#endif
index 97ee9ec2c65e34ec2e4957434ea8409e633eba66..c8d58fe0489c5811a89a463e7a0c93481835f21e 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <iostream.h>
+
 #include "string.hh"
 #include "lily-guile.hh"
 #include "scm-option.hh"
@@ -68,7 +69,7 @@ variables. Usage:
   (set-lily-option SYMBOL VAL)
 
 possible options for SYMBOL are :
-")<<endl;
+").ch_C()<<endl;
       
       cout << "  help (any-symbol)"<<endl; 
       cout << "  internal-type-checking (boolean)"<<endl; 
index a8ef7d411fe25286be27e98a46c75240d64afdf2..a76b86ba41d959e5f4d9e86aa665eddc3cb97021 100644 (file)
@@ -9,12 +9,15 @@
 
 #include <errno.h>
 #include <sys/types.h>
+#include <stdio.h>
+
+
 #if HAVE_SYS_STAT_H 
 #include <sys/stat.h>
 #endif
 #include <unistd.h>
 
-#include <fstream.h>
+
 #include "main.hh"
 #include "score.hh"
 #include "string.hh"
@@ -42,23 +45,22 @@ void write_dependency_file (String fn, Array<String> targets,
 
   progress_indication (_f ("dependencies output to `%s'...", fn.ch_C ()));
   progress_indication ("\n");
-  ofstream f (fn.ch_C ());
+  FILE * f = fopen  (fn.ch_C (), "w");
   if (!f)
     warning (_f ("can't open file: `%s'", fn));
 
-  f << "# Generated automatically by: " << gnu_lilypond_version_str ()  << '\n';
+  fprintf (f, "# Generated automatically by: %s\n", gnu_lilypond_version_str ().ch_C());
+  
   String out;
   for (int i=0; i < targets.size (); i ++)
      out += dependency_prefix_global + targets[i] + " ";
   out +=  ": ";
-#if 0
-  struct stat stat_buf;
-#endif
+
   for (int i=0; i < deps.size (); i ++)
     {
       if (out.length_i () > WRAPWIDTH)
        {
-         f << out << "\\\n";
+         fprintf (f, "%s\\\n", out.ch_C());
          out = "  ";
        }
       String dep = deps[i];
@@ -74,7 +76,7 @@ void write_dependency_file (String fn, Array<String> targets,
        }
       out  += " " +  dep;
     }
-  f << out << endl; 
+  fprintf (f, "%s\n",  out.ch_C());
 }
 
 void
index 721cdb1eb8d6d4793932a21c8a5dfe144b295949..492824563cae634cb9164d519b3113ff4586fd6d 100644 (file)
@@ -6,19 +6,13 @@
   (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include "debug.hh"
-#include "my-lily-lexer.hh"
-#include "moment.hh"
-#include "source-file.hh"
-#include "source.hh"
-#include "main.hh"
-#include "input.hh"
-
-ostream &warnout (cerr);
+#include <stdio.h>
+#include "string.hh"
 
 void
 progress_indication (String s)
 {
-  cerr << s << flush;
+ fputs (s.ch_C(), stderr);
+ fflush (stderr);
 }
 
index 8c729c5f5b620ce24947f509de37147fea9229fc..1f741376fb6431240b9377bc9d34b53cd5f9328d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % a4.ly
 
 hsize = 210.0 \mm
index f363efc71ddbb795dd15e069eaa2fbe6d7569a59..f78bde1ee6261841a190df93cee98c1fc722c11c 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % Symbols needed to print accordion music
 % 
 %  2' = T
index f12fc8683b7b71729d2bf68976cc8cc9b28e066b..7476786d8e14357c1fb5bb445b3f8909708bb6cc 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.3.146"
+\version "1.5.49"
 
 
 \include "declarations-init.ly"
index 74d42851d1990510b2d2c2ecef1c4e023868841b..f9ebe1da2a2f0cb3da2724663debcec81796225f 100644 (file)
@@ -71,4 +71,4 @@
 
 
 
-\version "1.3.146"
+\version "1.5.49"
index 72ecace841a6b19413c598ba02cc2d6b0cca1962..e237c3d029ded9300b61786faec80336abb9e18b 100644 (file)
@@ -1,6 +1,6 @@
 % Toplevel initialisation file. 
        
-\version "1.3.146"
+\version "1.5.49"
 
 
 \include "declarations-init.ly"
index dd82fdb331726323673d30e4a8414b9403e13bb0..ac3c2a15683f021774a8717d5587284d9ec92a90 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 % urg!
 %
index c200465244f40c3fc04c91f75cb95f3ec2112580..f10830f9b225d6af713ffda8f6e686bcf95bf4e7 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "1.3.146"
+\version "1.5.49"
 breve = \duration #(make-duration -1 0)
 longa = \duration #(make-duration -2 0 )
 maxima = \duration #(make-duration -3 0)
index 8476b59531928a23b5940134d6f5417b68cc7b5d..11ac4d0afcc0c9a52151c941398d7059d36e7d8e 100644 (file)
@@ -49,4 +49,4 @@
 
 
 
-\version "1.3.146"
+\version "1.5.49"
index c70b18e0fea90c9117b133f98dfb9130334e541b..9b61fda615c4ff17c6d4543c734c5549bbe8ee53 100644 (file)
  )
 
 
-\version "1.3.146"
+\version "1.5.49"
index 80eabb0adc75a45bc38e5d2793551b0f3e87f26c..c91bd8d257064a4a287204af5f65d57e51b0b4f2 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 %
 % declare the standard dynamic identifiers.
index 9afeff28f60ed48e5b784e05b22089c129be8268..ceddb8ac3173214f172184cf71eeee4bb37aa4d1 100644 (file)
@@ -78,5 +78,5 @@
        (bss . ,(make-pitch -1 6 2 ))
 )
 
-\version "1.3.146"
+\version "1.5.49"
 
index 4c75541b06319a754c3211dc80486c2ecc640242..b2625823010be7b3fbb7d7a0ecf51b31a23f7b37 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.5.33"
+\version "1.5.49"
 
 %
 % setup for Request->Element conversion. Guru-only
index 104d57efeb84dd4b5a86b4334949e405909664f0..0b1c94f53451ed2b679fd258f109949e1fdb0e0b 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 %
 % Running LilyPond on this file generates the documentation
index df96f2abcd603f32208a0a7bb868abbf5162c329..7d4aea8229e7eca868bf66c5131b49957a96a41c 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 \paper {
        texsetting = ""
index 644b6efe3cadc20fa6a4835ee5da13029bdd13a5..020d1a94639787e6443f4064baefdd3bc5d11d8d 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.5.12"
+\version "1.5.49"
 
 %  german-chords-init.ly:
 % german/norwegian/danish?
index 0ddb2db3a94027b055262cea6959e87f9be81661..9ee764b98010b8048a71944ce9620b07d3d56fd6 100644 (file)
@@ -1,7 +1,7 @@
 % Toplevel initialisation file. 
 
 
-\version "1.3.146"
+\version "1.5.49"
 
 \include "declarations-init.ly"
 
index 263d2bfab9358dd08937e0787e433bb75a00e1cc..d03b07daf32376d82ff61cb11be5ca79f011411d 100644 (file)
@@ -48,4 +48,4 @@
        (sidd . ,(make-pitch -1 6 2 ))
 )
 
-\version "1.3.146"
+\version "1.5.49"
index e1b774d343a23feb75df58c9baca2458db6cf630..df9b4cbbba695178e4899ca3ada1bf207220b0d6 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 % ledger.ly
 
index 47f413c0d38e61fd7174ca4b9c004a5268eac102..3f82c0b02834226458b3271183e9d88511fc3022 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % legal-init.ly
 
 hsize = 8.5 \in
index 1ae8c499db323a1bcf844713572a1b544b0af6d3..fd264f0d99c5d2624cf131e6c66c4e00eadff119 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % letter-init.ly
 
 hsize = 8.5 \in
index 730d92a4835346aa2c827cf94962a7fb549abb9f..b54c03037d3d10ba6c26a5e93c060a2d26dfe536 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 \midi {
         \tempo 4=60
        \include "performer-init.ly"
index bba3d0ad31ba604e185ecc45ed96a5b83cafd433..f33d860eb07091fcbd29c949f00e0896f3001393 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 %{
  common dutch names for notes. es means flat, is means sharp
 %}
index f6630bab930bc8da337b40f4983ca219b649c687..4414041af76b15979ce15bc8dc602c8cf78a7c15 100644 (file)
 
 
 
-\version "1.3.146"
+\version "1.5.49"
index f7f58a3a3d51d930aef12c4c176d804a7cb623e0..96ce985cd78c8e129cce155f3a36cb696963280b 100644 (file)
@@ -1,6 +1,6 @@
 % paper-as5-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperAsFive = \paper {
        staffheight = 5.\char
index 86866b0effaab616c3c4772edc20d367ae775c40..9370150f003427e2158f6de646d9e88ec6717572 100644 (file)
@@ -1,6 +1,6 @@
 % paper-as9-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperAsNine = \paper {
        staffheight = 9.\char
index f6ac488597c98d4bd0cc1e58dc14da6ae05841de..c32802e0127c48b1ac51bd48f8a4d1f36c3daa30 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % paper-init.ly
 
 %% Why som complicated?  /MB
index 2cc39133f3444b090fa6fd304832f5b6b45dbb92..daadc522cc74761751846979d51490ba0c7a4a95 100644 (file)
@@ -1,6 +1,6 @@
 % paper11-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperEleven = \paper {
        staffheight = 11.0\pt
index d053f1e440e9978c3486570f4b0f2a764a220edf..f3fa2aa7d319db2fbbc2d3c05da4ae2945e0f321 100644 (file)
@@ -1,7 +1,7 @@
 % paper13-init.ly
 
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperThirteen = \paper {
        staffheight = 13.0\pt
index c747eac11d449b1a7463855521d84dbe24f968fd..975a014725ccb38dda764f2cef2f6b7a9498d228 100644 (file)
@@ -1,6 +1,6 @@
 % paper16-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperSixteen = \paper {
        staffheight = 16.0\pt
index 13a67f08094e8fbde8e386a51df03077e771c3f3..4fdb2b2c3f31e3be58a5d46b2298e44a6fd16682 100644 (file)
@@ -1,7 +1,7 @@
 % paper20-init.ly
 
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperTwenty = \paper {
        staffheight = 20.0\pt
index bbb55106e02b96cd54ca58381134bc5540da7252..4318d466f6810d79c858568317b5a09e79f31a0c 100644 (file)
@@ -1,7 +1,7 @@
 % paper23-init.ly
 
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperTwentythree = \paper {
        staffheight = 23.0\pt
index e64eba6a5405c2b47deba6c7c99319c9d01d5b9d..3466f87b292486b5e0a30ef913163babd1c0ce1f 100644 (file)
@@ -1,6 +1,6 @@
 % paper26-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 paperTwentysix = \paper {
        staffheight = 26.0\pt
index b9928df8b1a901c98717b2b6e62814d5a8d8403b..484c694070ae4b07837e9c44afc20c37008a9213 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % params-as-init.ly
 % generic paper parameters
 
index 9dd6f2c2f869c3d50370eeded05676578c32d5ff..5dd3aa44e24a7d4e12134d524216a19e52d7cd73 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 % JUNKME.
 
 %% deprecated
index 4e8fea418f473fa9b77a101f332f79a9f227b6e2..9637fa0d8f04a34f0ec9e677c78ecfcba9eb916a 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 % JUNKME
 %part-paper-init.ly
index 748e29229c7659e3f3e3c04712e25de8e52cc2b1..90e2bd74a8d986475c2ae7724705faab20b99017 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 %
 % setup for Request->Element conversion. Guru-only
 %
index a49e7e1f394d45ee4cb64dd5380de6e6354ee73a..ae9359906cfd70c62585e3a513891b101da534e1 100644 (file)
@@ -1,6 +1,6 @@
 % property-init.ly
 
-\version "1.3.146"
+\version "1.5.49"
 
 stemUp = \property Voice.Stem \set #'direction = #1
 stemDown = \property Voice.Stem \set #'direction = #-1 
index b3268ffef934b5d6337e8497d8fb9fb59b15279b..975686f667f8392add917d4a648db1be879b234b 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 
 major = #'(
index e81d20d96bc3235600c48d80a4cb8d8c6a1e3a69..51bcba0e976da1f03d81f42550d791b1d9d2b979 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 
 dashHat= "marcato"
index d2f5457236ac48b2996248c01f722a2609b9a7d8..dc3e55fd56bfbf52047bf11aac49476f46c1f528 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.49"
 
 cr = \spanrequest \start "crescendo"
 decr = \spanrequest  \start "decrescendo"
index 66e1fa1464ba40369f5985f20e8adc476df5b09a..9506428ad7235ffd154871c70e55ba3427a35d69 100644 (file)
@@ -45,4 +45,4 @@
        (his . ,(make-pitch -1 6 1 ))
        (hisis . ,(make-pitch -1 6 2 ))
 )
-\version "1.3.146"
+\version "1.5.49"
index c9b54987e934e668da3eabef8de5ffd4f8fceee8..c756324d055c23de656596cab9e94dbfe2609a36 100644 (file)
@@ -40,4 +40,4 @@
        (hiss . ,(make-pitch -1 6 1 ))
        (hississ . ,(make-pitch -1 6 2 ))
 )
-\version "1.3.146"
+\version "1.5.49"
index 0a576e5467aa102e61dc4564d08d8a5fdbec9585..f7fa87e2a08194a127e22baf729c654023259087 100644 (file)
@@ -59,7 +59,7 @@ PFA_FILES = $(addprefix $(outdir)/, $(FONT_FILES:.mf=.pfa))
 ifdef MAKE_PFA_FILES
 ALL_GEN_FILES += $(PFA_FILES) $(outdir)/lilypond.map
 INSTALLATION_OUT_DIR4=$(datadir)/fonts/type1
-INSTALLATION_OUT_FILES4=$(PFA_FILES)
+INSTALLATION_OUT_FILES4=$(PFA_FILES) $(outdir)/fonts.scale
 
 INSTALLATION_OUT_DIR5=$(datadir)/dvips/
 INSTALLATION_OUT_FILES5=$(outdir)/lilypond.map
@@ -74,6 +74,9 @@ $(outdir)/lilypond.map:
        echo $(FONT_FILES:.mf=) | tr ' ' '\n' | \
                sed 's/\(.*\)/\1 \1 <\1.pfa/' > $@
 
+$(outdir)/fonts.scale:
+       echo $(FONT_FILES:.mf=.pfa) | $(PYTHON) $(topdir)/buildscripts/make-font-dir.py  > $@
+
 ##
 ## todo: this also depends on .tfm, FIXME.
 $(outdir)/%.afm  $(outdir)/%.enc  $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log 
index f27abf57883e9a3cd685132ac18be9bcb7f3a22c..004ea592c933bde2ced8f827de6aee77b85810a8 100644 (file)
@@ -1192,7 +1192,7 @@ def make_pixmap (name):
        x = (2* margin + bbox[2] - bbox[0]) * res / 72.
        y = (2* margin + bbox[3] - bbox[1]) * res / 72.
 
-       cmd = r'''gs -g%dx%d -sDEVICE=pgm  -dTextAlphaBits=4 -dGraphicsAlphaBits=4  -q -sOutputFile=- -r%d -dNOPAUSE %s %s -c quit | pnmtopng > %s'''
+       cmd = r'''gs -g%dx%d -sDEVICE=pnggray  -dTextAlphaBits=4 -dGraphicsAlphaBits=4  -q -sOutputFile=- -r%d -dNOPAUSE %s %s -c quit  > %s'''
        
        cmd = cmd % (x, y, res, name + '.trans.eps', name + '.eps',name + '.png')
        quiet_system (cmd, 'gs')