Re: Removing bar numbers with lilypond-book

2007-08-13 Thread Mats Bengtsson
I tried your example again (just adding \documentclass[a4paper]{article} \begin{document} at the top and \end{document} at the end) and it works without any problems, using LilyPond 2.10.25. I know that there have been lots and lots of bug fixes in the recent 2.10.x versions, so it may be a good i

Re: Removing bar numbers with lilypond-book

2007-08-13 Thread Tim Sawyer
I'm happy with making it invisible, the extra space isn't an issue for me. Just to be clear with the \remove solution - it is *not* working for me, even with the capital S corrected. I'm using lilypond 2.10.5, on Ubuntu. Anyone got any clues as to why? This code (copied and pasted from my sou

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Mats Bengtsson
Your example below works like a charm, if you just fix the capital "S" that others already have pointed out. I always write the \version statement outside the \score{...} block, but it seems that it works to place it where you have it as well. The alternative solution \override Score.BarNumber #'

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
Thanks folks. I tried it with a Capital S first - that's when the error message is from, hence that has \Score in, must have copied a later trial in the source, sorry! volume1.lytex:2158:2: error: syntax error, unexpected STRING, expecting '='        \context { volume1.lytex:2159:2: error: s

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Valentin Villenave
2007/8/12, Tim Sawyer <[EMAIL PROTECTED]>: > Thanks for that, but I'm still having trouble. You may have forgotten a capital S in \context { \Score etc... } Hope this helps! Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Kieren MacMillan
Hi Tim, \context { \score \remove "Bar_number_engraver" } Shouldn't that be a capital S (i.e., \Score)? Regardless, you can also use \override Score.BarNumber #'transparent = ##t and avoid all the engraver trouble. Hope this helps, Kieren.

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
Thanks for that, but I'm still having trouble. Putting that \layout block in either place results in this error: volume1.lytex:2145:2: error: syntax error, unexpected STRING, expecting '='        \context { volume1.lytex:2146:2: error: syntax error, unexpected STRING, expecting '='        

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Mats Bengtsson
You should be able to insert the following lines of code (copied verbatim from the manual) either at the very top or end of the \begin{lilypond}...\end{lilypond} block \layout { \context { \Score \remove "Bar_number_engraver" } } An alternative is to put it with

Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
I have a section of a tex file, used with lilypond book, that looks something like this: \begin[staffsize=20]{lilypond} \score { \version "2.10.0" { \time 4/4 \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 7) \override Staff.TimeSignature #'style = #'() \clef b

Re: Removing bar numbers

2004-12-17 Thread Anna Choma
Mats Bengtsson wrote: I think it's time for you to start reading the section of the manual called "Changing Defaults". Among others, you will learn that a \context{...} declaration specifies/changes the definition of a single context. So, you cannot change the definition of two different contexts i

Re: Removing bar numbers

2004-12-16 Thread D Josiah Boothby
I've got the same problem, though with Pedro Kroeger's lilypond-snapshot (version 2.4.2). Here's a small example: A .png can be found at the following url: http://students.washington.edu/josiah/music/barnumbers.png \version "2.4.2" \header { title = "bar number test" } \score { { \time 3/

Re: Removing bar numbers

2004-12-16 Thread Anna Choma
Mats Bengtsson wrote: When I tried your file, I got a syntax error. From your email, I got the impression that the file was processed without problems but that the bar numbers didn't vanish. No, I've got syntax error too. That's my \paper block: \paper { paperheight = 21.0 \cm lin

Re: Removing bar numbers

2004-12-16 Thread Mats Bengtsson
When I tried your file, I got a syntax error. From your email, I got the impression that the file was processed without problems but that the bar numbers didn't vanish. The only problem with your file is that you had copied a solution written for an older version of LilyPond without updating the sy

Re: Removing bar numbers

2004-12-16 Thread Mats Bengtsson
Could you please send a full example file that fails to work for you, I've never had any problems with the \remove "..." solution. /Mats Anna Choma wrote: Mats Bengtsson wrote: Assuming that you use version 2.2.x (please always tell, when you ask a question on the list, otherwise you might get a

Re: Removing bar numbers

2004-12-16 Thread Mats Bengtsson
Bar numbers are typeset at the score level, not for each stave, so just replace \Staff with \Score. /Mats D Josiah Boothby wrote: I've got the same problem, though with Pedro Kroeger's lilypond-snapshot (version 2.4.2). Here's a small example: A .png can be found at the following url: http://s

Re: Removing bar numbers

2004-12-16 Thread Mats Bengtsson
I think it's time for you to start reading the section of the manual called "Changing Defaults". Among others, you will learn that a \context{...} declaration specifies/changes the definition of a single context. So, you cannot change the definition of two different contexts in the same \context{..

Re: Removing bar numbers

2004-12-14 Thread Anna Choma
Mats Bengtsson wrote: Could you please send a full example file that fails to work for you, I've never had any problems with the \remove "..." solution. /Mats Yes, I can. That's the whole piece: %%% #(set-global-staff-size 16) \header { tagline = "" } \score { \context Staff {

Re: Removing bar numbers

2004-12-11 Thread Anna Choma
Mats Bengtsson wrote: Assuming that you use version 2.2.x (please always tell, when you ask a question on the list, otherwise you might get an irrelevant answer since LilyPond keeps evolving quickly), the solution you propose yourself should work excellently. I just tried it myself. Where in the fi

Removing bar numbers

2004-12-10 Thread Anna Choma
Hi! How to remove bar numbers? Why the old method doesn't work? Namely: \paper { paperheight = 21.0 \cm linewidth = 134\mm pagenumber = no indent = 0 \translator { \ScoreContext \remove "Bar_number_engraver" }} Maybe I should

question on removing bar numbers

2004-07-31 Thread Patrick Stanistreet
I am including some inline code which is an attempt on my part to print a drum score crib sheet without bar numbers. Commented out stuff doesn't work. Bug? The line #(set-default-paper-size "letter") seems to cause a layout problem although my usage of it may be incorrect. I noticed while adding