not needed patch to lily/lily-parser-scheme.cc

2005-07-15 Thread Nicolas Sceaux
As Han-Wen has added a definition for scm_from_locale_string in
flowers/include/guile-compatibility.hh, the following patch is not
needed:

===
RCS file: 
/cvsroot/lilypond/cvsroot/lilypond/lilypond/lily/lily-parser-scheme.cc,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- lilypond/lilypond/lily/lily-parser-scheme.cc2005/07/11 12:51:13 
1.17
+++ lilypond/lilypond/lily/lily-parser-scheme.cc2005/07/13 20:30:47 
1.18
@@ -225,6 +225,6 @@
   Lily_parser *p = unsmob_lily_parser (parser);
   SCM_ASSERT_TYPE (p, parser, SCM_ARG1, __FUNCTION__, Lilypond parser);
 
-  return scm_from_locale_string (p-output_basename_.to_str0 ());
+  return scm_makfrom0str (p-output_basename_.to_str0 ());
 }


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


Lilypond-book 2.6.0 Problem

2005-07-15 Thread Борислав Иванов
Hello there!
I hope you guys can help me because my faith in Tex and Lilypond is starting 
to fade away... I am a Bulgarian, so I first expirianced a lot of problems to 
get cyrillic support in TeX and Lilypond. After this i spend few days trying 
to combine Tex and Lilypond with the lilypond-book 2.6.0
It was awfull. Everywhere I saw examples like ¨ow you just have to press  few 
keys and you got this wonderfull output...¨. None of them worked! So i 
started asking myself is there something wrong with me or with my software... 
I will show you what is happening when i try to compile the example of 
musicological document for lilypond-book 2.6.0 ( I hope you guys give me hand 
because i like the idea of Lilypond and Tex ) ( Excuse me for my english 
too...)

---

I am using Fedora Core linux ver. 4
My Tex is : latex -v
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
and lilypond: lilypond -v
GNU LilyPond 2.6.0

This is the contents of a file called lilybook.tex which i created using vim 
and the code from 
http://www.lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/An-example-of-a-musicological-document.html:

 \documentclass[a4paper]{article}
 \begin{document}
 
 Documents for @command{lilypond-book} may freely mix music and text.
 For example,
 
 \begin{lilypond}
 \relative c' {
   c2 g'2 \times 2/3 { f8 e d } c'2 g4
 }
 \end{lilypond}
 
 Options are put in brackets.
 
 \begin[fragment,quote,staffsize=26,verbatim]{lilypond}
   c'4 f16
 \end{lilypond}
 
 \end{document}


I removed the lines : 
Larger examples can be put into a separate file, and introduced with
   \verb+\lilypondfile+.
   \lilypondfile[quote,noindent]{screech-boink.ly} 

And i tryed to compile the document:

[EMAIL PROTECTED] OFF]# mkdir out | lilypond-book --psfonts -o out lilybook.tex
lilypond-book (GNU LilyPond) 2.6.0
Reading lilybook.tex...
Dissecting...
Writing snippets...
Processing...
Running lilypond...

Compiling lilybook.tex...
Writing `lilybook.tex'...
Writing fonts to lilybook.psfonts...

DVIPS usage:
dvips -h out/lilybook.psfonts out/lilybook.dvi

[EMAIL PROTECTED] OFF]# cd out/
[EMAIL PROTECTED] out]# ls
lily-1101510509-1.eps lily-390071623-1.eps lilybook.psfonts
lily-1101510509.eps   lily-390071623.eps   lilybook.tex
lily-1101510509.lylily-390071623.lysnippet-map.log
lily-1101510509-systems.tex   lily-390071623-systems.tex   snippet-map.ly
lily-1101510509-systems.texi  lily-390071623-systems.texi  tmp0sRYGz.aux
lily-1101510509.txt   lily-390071623.txt   tmp0sRYGz.log
[EMAIL PROTECTED] out]#
[EMAIL PROTECTED] out]# latex lilybook
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./lilybook.tex
LaTeX2e 2003/12/01
Babel v3.8d and hyphenation patterns for american, french, german, ngerman, 
b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, 
e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, 
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, 
tur
kish, ukrainian, bulgarian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
No file lilybook.aux.
(./lily-1101510509-systems.tex
! Undefined control sequence.
l.1 \includegraphics
{lily-1101510509-1.eps}
?
) (./lily-390071623-systems.tex
! Undefined control sequence.
l.1 \includegraphics
{lily-390071623-1.eps}
?
) [1] (./lilybook.aux) )
Output written on lilybook.dvi (1 page, 500 bytes).
Transcript written on lilybook.log.

-

Okay this is the point when the step-by-step guide in the site do not works..

I can show you and what happens when i try to use the command :

[EMAIL PROTECTED] OFF]# dvips -h out/lilybook.psfonts out/lilybook.dvi
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.07.15:1253' - |lpr
out/lilybook.psfontslpr: error - scheduler not responding!
[EMAIL PROTECTED] OFF]# 



I hope you will give me hand, bye bye amd wish you a happy day!:)

Borislav Ivanov






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


Re: Lilypond-book 2.6.0 Problem

2005-07-15 Thread Graham Percival


On 15-Jul-05, at 2:57 AM, Борислав Иванов wrote:

This is the contents of a file called lilybook.tex which i created  
using vim

and the code from
http://www.lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/ 
An-example-of-a-musicological-document.html:


That's your problem.  Please use the example from the 2.6 manual, not  
the 2.5

manual.

BTW, it's suggested that you call lilypond-book files .lytex, not .tex.

- Graham



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


Re: Lilypond-book 2.6.0 Problem

2005-07-15 Thread Han-Wen Nienhuys
Graham Percival wrote:
 
 On 15-Jul-05, at 2:57 AM, Борислав Иванов wrote:
 
 This is the contents of a file called lilybook.tex which i created  
 using vim
 and the code from
 http://www.lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/ 
 An-example-of-a-musicological-document.html:
 
 
 That's your problem.  Please use the example from the 2.6 manual, not  
 the 2.5
 manual.

the 2.5 docs are symlinked to 2.6

-- 
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: Lilypond-book 2.6.0 Problem

2005-07-15 Thread Graham Percival


On 15-Jul-05, at 2:01 PM, Han-Wen Nienhuys wrote:


Graham Percival wrote:


On 15-Jul-05, at 2:57 AM, Борислав Иванов wrote:


This is the contents of a file called lilybook.tex which i created
using vim
and the code from
http://www.lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/
An-example-of-a-musicological-document.html:



That's your problem.  Please use the example from the 2.6 manual, not
the 2.5
manual.


the 2.5 docs are symlinked to 2.6


Oh, I see.  Sorry, I read the original message too quickly.  Try using 
the

example from the Example templates section; it contains the line
\usepackage{graphics}

which is required.  I'll fix the other example in CVS.
- Graham



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


2.6, 2.7 x86 upgrades and Ghostscript 8.15

2005-07-15 Thread Paul Scott
The x86 upgrades for 2.6.1 and 2.7.0 on the LilyPond website fail 
because of Ghostscript 8.15 but the full installs work fine.  This is on 
Debian sid.


Paul  Scott



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


Re: Feature: multiple header definitions

2005-07-15 Thread Ishizaki
On Thu, 14 Jul 2005 22:14:39 -0700
Graham Percival [EMAIL PROTECTED] wrote:

 
 Can you see how to keep the settings?  Lilypond keeps the \paper{} and
 \layout{} settings, and presumably those commands would be present
 in parser.yy
 

Sorry, I do not know well about Scheme and C++, so I'm not able to change codes.

But, in parser.yy , codes regarding layout block is like this ; 
| LAYOUT{
Output_def *p = get_layout (THIS);
THIS-lexer_-add_scope (p-scope_);

So, I imagine that it should be written something like this ;
| book_body lilypond_header {
$$-add_header( $2 );
/* $$-header_ = $2; ( this is corrent code ) */

and, add codes add_header to book.cc and score.cc ( and more ? ).

Please correct me if I am wrong.
Regards,


| Yoshinobu Ishizaki   |



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


[patch] Print all headers in \book

2005-07-15 Thread Graham Percival

This patch adds an option,
\paper{ printAllHeaders = ##t }
which causes LilyPond to print all the headers for each \score in a 
\book.  Currently,
only the piece and opus are printed.  This is great for movements of a 
piece, but I have
several collections of pieces, for which I'd like all the headers 
printed (ie title, composer,

copyright, etc).

May I commit?  I'll add some docs as well, of course.

I've also attached my test case for the patch.



titling-init.ly.patch
Description: Binary data


foo.ly
Description: Binary data
___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


should x86 2.6.1 and 2.7.0 install emacs files

2005-07-15 Thread Paul Scott
After installing LilyPond 2.6.0 from the x86 autopackage I uninstalled 
LilyPond 2.4.5 from my Debian sid system.  I didn't notice any emacs 
problems at that point.
Then I tried to use the 2.6.1 upgrade which didn't work as I reported in 
another thread today.
Then I installed 2.6.1 autopackage and now emacs lilypond-mode files are 
missing from /usr/share/emacs/site-lisp

Installing the 2.7.0 autopackage didn't install the emacs lilypond files.
Copying the lilypond files from another machine (also Debian sid) where 
I have 2.4.5 and 2.7.0 installed did fix the emacs lilypond-mode problem.


Paul Scott



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