Collision between accidental and tuplet

2024-01-01 Thread Frank Steinmetzger
Hello list,

while typing down the score from an old scan, I discovered a collision 
between an accidental and a tuplet spanner, or rather the number in it:


\version "2.24"
\language "deutsch"

\relative c' {
  \tupletUp
  \times 2/3 { g'=''8 b4 } des8 h~ h4 r4
}


Perhaps this is worthy of an issue?

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Size alone is not decicive: a bee collects more honey in one day
than an elephant in its entire life.


signature.asc
Description: PGP signature


Re: Message size limit

2023-03-04 Thread Frank Steinmetzger
Am Sat, Mar 04, 2023 at 04:45:07PM +0100 schrieb Robin Bannister:
> Jean Abou Samra wrote:
> > Hi,
> > 
> > We've been informed that the size of messages to this list containing large 
> > attachments is occasionally clogging up the GNU list server's mail delivery 
> > queue, causing distribution delays (not just for this list, but for 
> > everyone on the hundreds of other gnu.org lists).
> > 
> > To avoid this, your friendly list admins have configured a max message
> > size of 512KB.

> Is there any specific advice for users taking screenshots?

Crop, use the proper format¹, and optimise prior to sending. Depending on 
how (with which tool) the screenshot was made, there is lots of room for 
reducing the filesize. For that, use `optipng -o9 `. It will 
reduce the PNG colour palette and apply stronger compression settings, but 
is still lossless.

For small and medium images, PNG is of course the best option. But if a 
larger area needs to be pictued which exceeds the permitted file size, JPG 
is still good enough. It may introduce artifacts, but compresses much higher 
and the relevant info is still visible.

> Especially inline ones: those get copied when quoted, cf 2021-09.

Hm… this is an issue on the user’s side, specifically the used mail client. 
If you notice this in your own messages, select some text before opening the 
reply. The mailer will usually only quote the selected content.

> Cheers,
> Robin
> 

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

“So the Americans are worried about having autistic Englishmen hacking into
the Pentagon Computer, but they are seriously considering Mitt Romney having
control of the Button.”
– Jeremy Hardy about the extradition of the UFO hacker, BBC News Quiz.


signature.asc
Description: PGP signature


Re: Discourse

2023-02-24 Thread Frank Steinmetzger
Am Fri, Feb 24, 2023 at 12:17:02AM +0100 schrieb Jean Abou Samra:
> Le jeudi 23 février 2023 à 17:08 -0600, David Wright a écrit :
> > I just tried ^P on the same link in FF, and I got a bar that said:
> > 
> >   "Firefox prevented this site from opening a pop-up window. [Preferences]  
> > ×"
> > 
> > What does it contain/is it for?
> 
> It contains a printing dialog. Try it, it won't bite you :)

It’s actually not the printing dialog, but a print version of the website. 
The Print dialog opens on top of that. You can see this when you cancel the 
print dialog - the popup is still there. Apparently, the print version is 
constructed so differently from the normal version, that it must be 
generated separately, instead of applying print-specific stylesheets on the 
original website.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Democracy is a process which guarantees that
we are not governed any better than we deserve.


signature.asc
Description: PGP signature


Re: Stretching staff 100% horizontally

2021-11-07 Thread Frank Steinmetzger
Am Sun, Nov 07, 2021 at 10:40:06PM +0300 schrieb Ivanov Dmitry:

> I attached the minimal working example. The second variant is not stretched 
> horizontally as
> the first two staves. Is it possible to stretch it so it occupied 100% of 
> page width?

Add ragged-last = ##f to your \paper block.

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

“If you’re hotter than me, does it make me cooler than you?” – Philosoraptor


signature.asc
Description: PGP signature


Broken link in German documentation

2021-08-12 Thread Frank Steinmetzger
Dear list,

I was reading up on stuff in the documentation and found a broken link.

If you go to
http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes.de.html
and click on the link in “Schnipsel: Expressive marks”, you get a 404.

Cheers.

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

What doesn’t kill you mutates and tries again.


signature.asc
Description: PGP signature


Re: Problem with german umlauts and with mapping text to notes

2019-10-01 Thread Frank Steinmetzger
On Sun, Jan 13, 2019 at 05:43:55PM +0100, Klaus Ethgen wrote:
> Hi,
>
> Am So den 13. Jan 2019 um 17:02 schrieb David Kastrup:

Sorry for reviving an ancient thread, but I just encountered the exact same
problem as Klaus (after many months of absence). And since there was no
solution given at the time, I write this mail for the archive (that’s how I
found the thread in the first place).

> > > - First there is the German umlauts. As you can see in the example, it
> > >   is correct encoded in UTF-8 but the umlauts are encoded as "??".
> > >   I did already try to use no bomb or even in latin1 encoding. But
> > >   nothing helped.

Lilypond’s console output also had ?? in it and lilypond was even unable to
load .ly files that have unicode characers in their filename. So there is
something broken in lilypond’s innards which deals with strings in general.

> > For stuff like encoding problems it is _absolutely_ necessary that you
> > specify the operating system you use, the LilyPond version you use, and
> > whether you used the distributed installer or something else.
>
> Sorry, you are right.
>
> It is Gentoo.
>[IP-] [  ] media-sound/lilypond-2.19.80-r1:0
>
> As I wrote before, I do not see the problem on debian linux. But that is
> even a lower version.

I was about to post a looong mail with my observation of the problem,
including an MWE, but then looked at the Gentoo bug tracker, because like
Klaus I am on Gentoo with lilypond 2.19.80-r1. The problem we are having
(are you still anyways, Klaus?) is due to Guile 2:
https://bugs.gentoo.org/666582

Through reading around I also found Thomas Morley’s
https://lists.gnu.org/archive/html/bug-lilypond/2018-06/msg00011.html
Which contains patches to apply to guile in order to fix it.

So it seems that currently, Lilypond built from official Gentoo packages is
broken. :( There is no guile-1 anymore in the tree to roll back to.

So, just like you, I will be dependent on another distro for the time being.
Thankfully, my laptop is already running Arch, which still ships guile 1.8.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Fine: Tax for doing wrong.
Tax: Fine for doing fine.


signature.asc
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: My Lilypond 2.18 crashes when combining slur and tie on a note

2018-03-12 Thread Frank Steinmetzger
On Mon, Mar 12, 2018 at 07:40:13PM +0100, David Kastrup wrote:

> > There is 2.19.80 available in the repository, so I could give it a try 
> > easily.
> 
> Probably the easiest way out.

Indeedily-doodely. The document compiles now in full. ¯\_(ツ)_/¯

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

What is 10^-6 m tall and washed ashore? -- A microwave.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: My Lilypond 2.18 crashes when combining slur and tie on a note

2018-03-12 Thread Frank Steinmetzger
On Mon, Mar 12, 2018 at 01:40:48AM +0100, David Kastrup wrote:
> Frank Steinmetzger  writes:
> > […]
> > This snippet causes Lilypond to crash on my machines. Both run Gentoo Linux
> > with identical versions, namely Lilypoind 2.18.2. I installed 2.18.2 on an
> > Ubuntu and an Arch installation. Both of them have no problem. :'-(
> 
> You are likely compiling 2.18.2 with a compiler version that is too new
> (and optimises out a this == 0 comparison).  There is an issue/patch in
> the 2.19 development fixing this but you might find a compiler option
> that leaves off this optimization.

FWIW: I’m on gcc 6.4.0, the compiler flags used to build Lilypond are:
-march=native -O2 -fomit-frame-pointer -pipe -ggdb
AFAIR, -O2 is the default on a Gentoo system.

Last December the maintainers made a change which required me to rebuild
the entire system:

“Where supported, GCC will now build position-independent executables (PIE)
by default.”


There is 2.19.80 available in the repository, so I could give it a try easily.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

“If you enjoy wasting time, is that time really wasted?” – Philosoraptor


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


My Lilypond 2.18 crashes when combining slur and tie on a note

2018-03-11 Thread Frank Steinmetzger
Dear list,

after a long hiatus, I am now typing another piece for choir. But after I
had finished the first voice, the document would not compile. I narrowed it
down to the following MWE. See the comment in the second line with notes:


\version "2.18"
\language "deutsch"

SopranNoten = \relative c'' {
\dynamicUp
\time 4/4
\key d \major
\clef treble

d=''2 cis4\!\f\< h |
e\> a,\! d2~( |  % remove either ~ or ( from that d2, and it compiles
d cis4) h |
}

\score{
\SopranNoten
\layout{}
}


This snippet causes Lilypond to crash on my machines. Both run Gentoo Linux
with identical versions, namely Lilypoind 2.18.2. I installed 2.18.2 on an
Ubuntu and an Arch installation. Both of them have no problem. :'-(

I was afraid that my own systems are at fault. But what can I do to fix it?
Based on the backtrace given below, can you take a guess? Perhabs it is some
underlying library or an incompatibility between libs due to a different gcc
version?

Many thanks and I hope everyone came back safely from a nice weekend in
Chemnitz. :) I was too exhausted to go this time.



#0  Grob::get_offset (this=this@entry=0x0, a=a@entry=X_AXIS) at grob.cc:397
#1  0x555d17f7 in Grob::relative_coordinate (this=0x0, 
refp=0x560370e0, a=X_AXIS) at grob.cc:338
#2  0x555d181c in Grob::relative_coordinate (this=0x56034270, 
refp=0x560370e0, a=X_AXIS) at grob.cc:342
#3  0x555d181c in Grob::relative_coordinate (this=0x55ecd8b0, 
refp=0x560370e0, a=X_AXIS) at grob.cc:342
#4  0x555d181c in Grob::relative_coordinate (this=0x55ece190, 
refp=0x560370e0, a=X_AXIS) at grob.cc:342
#5  0x555d181c in Grob::relative_coordinate (this=0x55ecdc30, 
refp=0x560370e0, a=X_AXIS) at grob.cc:342
#6  0x555d181c in Grob::relative_coordinate (this=0x55ece2e0, 
refp=0x560370e0, a=X_AXIS) at grob.cc:342
#7  0x555d1852 in Grob::relative_coordinate 
(this=this@entry=0x55ece2e0, refp=, a=a@entry=X_AXIS) at 
grob.cc:345
#8  0x55603398 in Slur_configuration::score_extra_encompass 
(this=0x5603fb20, state=...) at slur-configuration.cc:327
#9  0x55603c1d in Slur_configuration::run_next_scorer 
(this=0x5603fb20, state=...) at slur-configuration.cc:508
#10 0x556bdb98 in Slur_score_state::get_best_curve 
(this=this@entry=0x7fff7550) at slur-scoring.cc:423
#11 0x556bdcf7 in Slur::calc_control_points (smob=) at 
slur-scoring.cc:359
#12 0x77928012 in scm_dapply (proc=0x73ef1970, arg1=0x70ae37a0, 
args=0x404) at eval.c:4895
#13 0x555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x55ecdce0, alist=alist@entry=0x55ecdd40, 
sym=sym@entry=0x722bae00, proc=proc@entry=0x73ef1970) at 
grob-property.cc:232
#14 0x555cab30 in Grob::internal_get_property 
(this=this@entry=0x55ecdce0, sym=0x722bae00) at grob-property.cc:189
#15 0x556f37ff in Slur::get_curve (me=me@entry=0x55ecdce0) at 
slur.cc:235
#16 0x556f516b in Slur::vertical_skylines (smob=) at 
slur.cc:378
#17 0x77928012 in scm_dapply (proc=0x73f1c4a0, arg1=0x70ae37a0, 
args=0x404) at eval.c:4895
#18 0x555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x55ecdce0, alist=alist@entry=0x55ecdd40, 
sym=sym@entry=0x7353c4e0, proc=proc@entry=0x73f1c4a0) at 
grob-property.cc:232
#19 0x555cab30 in Grob::internal_get_property 
(this=this@entry=0x55ecdce0, sym=0x7353c4e0) at grob-property.cc:189
#20 0x55705d12 in add_interior_skylines (me=me@entry=0x55ecdce0, 
x_common=x_common@entry=0x56034270, y_common=y_common@entry=0x560370e0, 
skylines=skylines@entry=0x7fff7e70) at axis-group-interface.cc:655
#21 0x557082e2 in Axis_group_interface::skyline_spacing 
(me=0x560370e0) at axis-group-interface.cc:917
#22 0x557084a9 in Axis_group_interface::calc_skylines (smob=) at axis-group-interface.cc:398
#23 0x77928012 in scm_dapply (proc=0x73df7f10, arg1=0x704ce960, 
args=0x404) at eval.c:4895
#24 0x555ca868 in Grob::try_callback_on_alist 
(this=this@entry=0x560370e0, alist=alist@entry=0x56037140, 
sym=sym@entry=0x7353c4e0, proc=proc@entry=0x73df7f10) at 
grob-property.cc:232
#25 0x555cab30 in Grob::internal_get_property 
(this=this@entry=0x560370e0, sym=0x7353c4e0) at grob-property.cc:189
#26 0x55698748 in get_skylines (ret=0x7fff8450, end=, start=, pure=, a=, 
elements=0x7fff8430, me=) at align-interface.cc:86
#27 Align_interface::internal_get_minimum_translations 
(me=me@entry=0x560373a0, all_grobs=std::vector of length 1, capacity 1 = 
{...}, a=a@entry=Y_AXIS, include_fixed_spacing=, 
include_fixed_spacing@entry=false, pure=pure@entry=false, start=,
end=) at align-interface.cc:210
#28 0x55699d47 in 
Align_interface::get_minimum_translations_without_min_dist 
(

Segfault when using RemoveEmptyStaves

2016-02-15 Thread Frank Steinmetzger
Hello list

I was ponding along with 2.18.2 and all of a sudden, the piece I was typing
didn't build a PDF anymore. As it turns out, lilypund is suffering a
segmentation fault.

I took the file apart and in an hour's search narrowed it down to those 
features:
- RemoveEmptyStaves is enabled
- there is a \break at the end followed by a \bar command

Under those conditions lilypond crashes if I use either lyrics or a dynamics
context. If I comment out either the Dynamics and Lyrics, the PDF compiles.
If all are there, I get the segfault.

I attached the file in question. Please try it yourself by commenting out
line 46 and/or 55. Here is my backtrace from compiling it:

$ LC_ALL=C gdb lilypond
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lilypond...Reading symbols from 
/usr/lib64/debug/usr/bin/lilypond.debug...done.
done.
(gdb) run reger.ly
Starting program: /usr/bin/lilypond reger.ly
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
GNU LilyPond 2.18.2
Processing `reger.ly'
Parsing...
Interpreting music...[8][16][24][32][40][48][56]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Program received signal SIGSEGV, Segmentation fault.
Page_layout_problem::find_system_offsets (this=this@entry=0x7fff97a0) at 
page-layout-problem.cc:839
839 page-layout-problem.cc: No such file or directory.
(gdb) bt
#0  Page_layout_problem::find_system_offsets (this=this@entry=0x7fff97a0) 
at page-layout-problem.cc:839
#1  0x0065b5f7 in Page_layout_problem::fixed_force_solution 
(this=this@entry=0x7fff97a0, force=force@entry=0) at 
page-layout-problem.cc:956
#2  0x005f65fd in Page_breaking::make_pages 
(this=this@entry=0x7fff9de0, lines_per_page=std::vector of length 1, 
capacity 1 = {...}, systems=systems@entry=0x7fffeff3bc10) at 
page-breaking.cc:630
#3  0x005a58dc in Optimal_page_breaking::solve 
(this=this@entry=0x7fff9de0) at optimal-page-breaking.cc:219
#4  0x00458490 in ly_optimal_breaking (pb=) at 
page-breaking-scheme.cc:43
#5  0x0030cc44c27b in scm_dapply (proc=0x745f2a30, arg1=0x7134f4e0, 
args=0x404) at eval.c:4895
#6  0x0057813c in Paper_book::pages (this=this@entry=0xd97e00) at 
paper-book.cc:654
#7  0x005784e2 in Paper_book::output_aux (this=this@entry=0xd97e00, 
output_channel=output_channel@entry=0x73a03340, is_last=is_last@entry=true, 
first_page_number=first_page_number@entry=0x7fffa148, 
first_performance_number=first_performance_number@entry=0x7fffa150) at 
paper-book.cc:162
#8  0x005786bc in Paper_book::output (this=this@entry=0xd97e00, 
output_channel=output_channel@entry=0x73a03340) at paper-book.cc:188
#9  0x0046d2c9 in ly_book_process (book_smob=, 
default_paper=0x7168eab0, default_layout=0x718a6c50, 
output=0x73a03340) at book-scheme.cc:79
#10 0x0030cc44c7bf in scm_dapply (proc=0x73d494f0, arg1=0x746091b0, 
args=0x7134f500, args@entry=0x404) at eval.c:4930
#11 0x0030cc44d309 in deval (x=, env=) at 
eval.c:4378
#12 0x00420eab in ly_eval_scm (form=form@entry=0x71352d40, i=..., 
safe=safe@entry=false, parser=parser@entry=0xd59e20) at parse-scm.cc:182
#13 0x006ad35e in Lily_lexer::eval_scm (this=this@entry=0xd802e0, 
readerdata=readerdata@entry=0x71352d40, hi=..., 
extra_token=extra_token@entry=35 '#') at lexer.ll:1120
#14 0x006c1cf7 in Lily_lexer::eval_scm_token (this=0xd802e0, 
sval=0x71352d40, w=...) at ./include/lily-lexer.hh:59
#15 0x006b5f64 in yyparse (parser=parser@entry=0xd59e20, 
retval=retval@entry=0x7fffc1f8) at parser.yy:434
#16 0x006c1ca7 in Lily_parser::do_yyparse (this=this@entry=0xd59e20) at 
parser.yy:3625
#17 0x005bc8d8 in Lily_parser::parse_file (this=this@entry=0xd59e20, 
init="init.ly", name="reger.ly", out_name="reger") at lily-parser.cc:124
#18 0x005c2f18 in ly_parse_file (name=) at 
lily-parser-scheme.cc:121
#19 0x0030cc44dc40 in deval (x=, x@entry=0x723e0920, 
env=, env@entry=0x7231a1d0) at eval.c:4232
#20 0x0030cc44c867 in scm_dapply (proc=0x7231a300, arg1=, args=0x7231a1d0) at eval.c:5012
#21 0x0030cc4a4cb2 in scm_c_catch (tag

Using greek letters breaks latin glyphs in markup

2014-10-15 Thread Frank Steinmetzger
Dear list readers

I think I may have asked this very question already in the past, but without
success. This time, however, I can provide more specific info to it.

It boils down to this: if I use greek letters in a \markup, the corresponding
latin character (alpha -> a, gamma -> g, etc.) is rendered differently – it
appears not smooth, but more pixelated. Please see the attached screenshot
from Okular in which the greek α, χ and ε have an influence on a, c and e,
respectively.

This only happens if I use a different font from LilyPond’s default. So far
I tested it with Libertine (with which I encountered it originally) and
Gentium and both show this problem.

Any idea why this is happening and, possibly, what can be done about it on my
end (apart from using the default font)?


This is the code for the screenshot:
>%---
\version "2.16"

\paper {
#(define fonts
(make-pango-font-tree
"Linux Libertine"
"Sans"
"Mono"
(/ 20 20)))
}
\markup\column{
"α χ  ε"
"abcdef"
}
%<---

Thanks for your time.
--
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Do you steel taglines, too?

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with wrong font/glyphs/graphics

2014-08-31 Thread Frank Steinmetzger
On Tue, Aug 26, 2014 at 03:55:51PM +0200, Janek Warchoł wrote:
> 2014-08-25 0:40 GMT+02:00 Frank Steinmetzger :
> > On Sun, Aug 24, 2014 at 10:51:53PM +0200, Malte Meyn wrote:
> >> That is a known problem. If I remember correctly this only occurs with
> >> some old versions of LilyPond when using a certain version of
> >> ghostscript, but I don’t remember the exact details ...
> >>
> >> What versions of LilyPond (lilypond --version) and ghostscript
> >> (ghostscript --version) do you use?
> >
> > Thanks for the reply.
> > Lilypond 2.16.2 and ghostscript 9.10. But it has been so since I installed
> > this system in March, there were no upgrades ever since. Some other package
> > must be the culprit.
>
> The problem was actually caused by metafont or metapost, not
> ghostscript.

I rebuild the direct dependencies for lilypond and also for ghostscript
(including texlive-metapost), but that didn’t help. However, I encountered a
problem actually building lilypond 2.16.2 -- it fails with
freetype-error.cc:34:31: warning: freetype/fterrors.h: No such file or directory

The file it was looking for is actually at /usr/include/freetype2/fterrors.h.
I checked a few other freetype-dependent packages and also another distro
(Arch), in case it was a problem of my own (Gentoo). All use include/freetype2.
It’s EOL now, but could this be a bug in the lilypond code?

> I think that upgrading to the latest stable LilyPond
> release may help you (and anyway 2.16 is quite old).

I am aware of that, but apparently the package maintainer is not (the 2.18
package has been available for a while now, but not marked yet as “stable”
and I don’t want to customise my package manager setup too much).

> See http://lists.gnu.org/archive/html/lilypond-devel/2013-10/msg00204.html
> for more details.

Interesting. What puzzled me at first was that both my machines had the same
versions of stuff installed, but still had different output. So I dug a bit
deeper and found out that the last time I actually built lilypond on the
working one it still had texlive 2012.

There is a separate metapost package available which provides version 1.803.
I installed that, set the system to use it and rebuilt lilypond. Now the
output is fine again. I’ll remember that for later.

Cheers.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The flesh was willing, but the grass was wet.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with wrong font/glyphs/graphics

2014-08-24 Thread Frank Steinmetzger
On Sun, Aug 24, 2014 at 10:51:53PM +0200, Malte Meyn wrote:
> That is a known problem. If I remember correctly this only occurs with 
> some old versions of LilyPond when using a certain version of 
> ghostscript, but I don’t remember the exact details ...
> 
> What versions of LilyPond (lilypond --version) and ghostscript 
> (ghostscript --version) do you use?

Thanks for the reply.
Lilypond 2.16.2 and ghostscript 9.10. But it has been so since I installed
this system in March, there were no upgrades ever since. Some other package
must be the culprit.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Computers are the most intelligent idiots in existence.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug: breathing sign and accidental overlap

2014-08-24 Thread Frank Steinmetzger
On Sun, Aug 24, 2014 at 02:13:34PM +0100, James wrote:
> On 24/08/14 13:56, Frank Steinmetzger wrote:
> > Dear list
> > 
> > I just discovered a problem with one of my Distler scores which uses lots of
> > sharp accidentals and breathing signs. If a sharp follows a breathing sign,
> > then the two touch each other, but *only* if the note is on a ledger line.
> > […]

> Thanks.
> 
> This is
> 
> http://code.google.com/p/lilypond/issues/detail?id=2354

Ah ok, sorry for the noise then. I worked around with an invisible cis an
octave down which introduces the needed spacing.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Why do Kamikaze pilots wear helmets?


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Problem with wrong font/glyphs/graphics

2014-08-24 Thread Frank Steinmetzger
Hello

I think I've had this problem before, but back then it affected only the
G clef. There is more broken this time.

I have two machines here, both run 64 bit Gentoo linux with an identical
software setup (as far as possible, since the hardware is very different).

The problem: one machine renders certain components of a score differently
to the other. The most prominent thing is again the different G clef. But
also the 8th notes look different. What makes it not seem like a freak bug
to me is the choirstaff bracket. It looks different, but like it was
intentionally designed that way with its arty curls at the end.

Is that a different music font? Can you enlighten me what's wrong here? The
attached screenshot shows the result of both machines which used an
identical input file which is based on a template I've been using for years.
The top staff is the way I would expect it, the bottom one shows the result
that is different.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The advantage of RSS jokes is that you always know the newest one.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Bug: breathing sign and accidental overlap

2014-08-24 Thread Frank Steinmetzger
Dear list

I just discovered a problem with one of my Distler scores which uses lots of
sharp accidentals and breathing signs. If a sharp follows a breathing sign,
then the two touch each other, but *only* if the note is on a ledger line.

Snippet to reproduce:


\version "2.16"
\language "deutsch"

\paper {
ragged-right = ##t
}

\relative c {
\clef bass
\override Staff.TimeSignature #'stencil = ##f

e4 f gis \breathe cis | \break
e,4 f gis \breathe cis, |
}

\layout {
indent = 0
}
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Beauty is in the eye of the beerholder.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Fonts rendered too big

2014-02-23 Thread Frank Steinmetzger
Hello dear list

on one of my (seldomly used) machines, the lilypond setup is broken in
that fonts are rendered much bigger than expected, while still spaced as
if not enlarged. This simple three-liner:

\version "2.16"
\new Voice = "foo" \relative c' { c d e f }
\addlyrics { ceh deh eh ef }

processed with "lilypond --png" produces the attached result. What can
be the problem here? An underlying system library perhaps? I'm using
2.16.2 on Gentoo Linux, pango is at version 1.34.1.

Thanks for any suggestions.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The realist knows what he wants; the idealist wants what he knows.
<>

signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How do I end an extender line?

2014-02-09 Thread Frank Steinmetzger
Dear list

I'm setting a score in which the women (one staff) and men (another
staff) each sing solo stanzas, then the chorus together, and then alone
again. The order of parts is this:

Men stanza,   lyrics attached to men voice, below men staff
Chorus,   lyrics attacged to women voice, centered between the staves
Women stanza, lyrics attached to women voice, below women staff
Chorus (same as first chorus)

My problem is: The first stanza (which is for men) ends with an extender
line. During the chorus, the lyrics are covered by the lyrics context
centered between the staves, so the men's lyrics are empty:

{ \repeat unfold 16 _ }

This, however, gives me an extender throughout the entire chorus until
the next proper syllable in the men's lyrics context. To circumvent
that, I inserted a unicode thinspace as lyrics for the men's chorus. It
is invisible but counts as a syllable.

What is the *proper* way here? Searching for this problem I only found
messages about the other way around, where the extender was not spanned
over single underscores (which was reported as a bug).

The only other solution I come up with is to use one single lyrics block
and insert many \set associatedVoice.

Cheers
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

I cried because I had no shoes.  Until I saw someone who had no feet.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Gregorian: modern staff? Lyrics spacing?

2013-06-20 Thread Frank Steinmetzger
Dear list

I'm dealing with Gregorian notation for the first time by reproducing a Schütz
piece from IMSLP¹.  After digging through the docs, I managed to solve most of
the hurdles that I came across by myself.

I'm almost finished and only need your advice for two things. Please see
attached a screenie crop of the original and of what I achieved so far.


My issues are:

1) Is there a way to have a „modern“ staff (i.e. 5 lines)? It would help the
   choir pick up their pitch from the chant if they see familiar notation.

2) I applied the docs’ snippet on vertical lyrics spacing to get the lyrics
   closer to the staff. The page is rather crowded, every millimetre would
   help. But it doesn’t seem to have any effect. What am I missing?

Here is my code for the Intonatio line (don't mind the different clef):


\version "2.16"
\language deutsch
\markup\fill-line{
\score {
<<
  \new VaticanaStaff \with {
% has no effect for the padding to the lyrics
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 1)
  } {
\set VaticanaStaff.instrumentName = "Intonatio"
\new VaticanaVoice = "Intonatio" \relative c'' {
  \clef treble
  \key f\major
  
% \[ a4 \melisma \pes b \melismaEnd \]
  \[ a4 \melisma b \melismaEnd \]
  \[ a \melisma d \melismaEnd \]
  d d d
  \[ d \melisma c \melismaEnd \]
  \[ d \melisma e \melismaEnd \]
  \[ d \melisma e c \melismaEnd \]
  d \fermata
}
  }
  \new Lyrics \with {
\override VerticalAxisGroup #'minimum-Y-extent = #'(-0 . 0)
  } \lyricsto "Intonatio" {
Herr, nun läs -- sest du dei -- nen Die -- ner
  }
>>
  \layout{}
} % score
} % markup


Thanks a lot for removing the tomatoes from my eyes.


¹ 
http://imslp.org/wiki/Musikalische_Exequien,_Op.7,_SWV_279-281_(Sch%C3%BCtz,_Heinrich)
  Scores and Parts → the third item: 
http://imslp.org/wiki/Special:ImagefromIndex/129883
² http://lilypond.org/doc/v2.12/input/lsr/lilypond-snippets/Spacing
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“What is your fascination with my forbidden closet of mystery?” – Chief Wiggum
<><>

signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Remove empty staves: whole group or none

2013-06-19 Thread Frank Steinmetzger
Hello List

I have a score here with two groups, the choir and soloists, i.e.:

\new StaffGroup <<

\new ChoirStaff <<
% Choir staves
>>

\new ChoirStaff <<
% Soloist staves
>>

>>

I want to hide empty staves to save some space, but ideally I'd like to either
hide a whole group or no staff at all, because otherwise it might be confusing
for the choir upon first sight which voice is hidden.

Can this be achieved somehow? Thank you.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Baby to twin at the other breast, winking: “Bottoms up!?”


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: DynamicText adds space between group staves

2013-06-19 Thread Frank Steinmetzger
On Wed, Jun 19, 2013 at 01:11:45AM +, Jorge Ochoa Villar wrote:
> Hello,
> Is there any way of adding the dynamic without augmenting the space between
> the staves? I don't care if there are collisions.  Thank you!!

I do it by changing the extent of dynamic symbols:

\override DynamicText #'Y-extent = #'(-0.5 . 0.5)

As far as I understand it, the first value is the extent below the baseline
and the second value above the baseline, starting at the baseline (hence the
negative first value). I don't know what the defaults are, but even (-0.5 . 1)
gives you a tighter squeeze.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“Your code is shit.. your argument is shit.” – Linus Torvalds


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bug?: position of repeat bars for volta in lyrics

2013-01-23 Thread Frank Steinmetzger
On Mon, Jan 21, 2013 at 03:49:20AM -0800, Eluze wrote:
> Frank Steinmetzger wrote

> > I attached a minimal example to clarify. Its repeat bars at marks A and B
> > are created by the music's repeat, the other two bars by the lyrics'
> > repeat.
> 
> not sure to understand correctly why you want repeat volta in the lyrics at
> all!? for the reader it doesn't make clear what shall be repeated and when.
> please clarify!

Usually because then I can use the same score for MIDI output and don't need
to start with \tag magic or chopped up lyrics blocks.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Yesterday we stood at the abyss.  Today we are one step further.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \bar "||" and \repeat around a line break

2013-01-17 Thread Frank Steinmetzger
Am Donnerstag, 17. Januar 2013, 08:28:37 schrieb Ralph Palmer:
> On Wed, Jan 16, 2013 at 10:40 AM, Johan Vromans wrote:
> > Frank Steinmetzger  writes:
> > > I knew about the |: bar statement, but also that I can't use two bars
> > 
> > for the same moment. The grace hint works like a charm, thanks Johan.
> 
> Johan -
> 
> In case you don't know (perhaps the "|:" was a typo), "||:" is distinct
> from "|:".

Well I typed it–unaware of the distinction.

> Please see :
> http://lilypond.org/doc/v2.16/Documentation/notation/bars#bar-lines
> in the Notation Reference. This section states (among other things) :
> […]
> In addition, you can specify "||:", which is equivalent to "|:" except at
> line breaks, where it gives a double bar line at the end of the line and a
> start repeat at the beginning of the next line.
> and gives a graphic example.

Excellent. Just as I was implementing it I noticed that the \grace approach 
caused the \breathe sign which comes right before the \bar "||" to appear 
wrong; namely after the linebreak. The ||: approach does it right.
Again, thanks.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Nowadays you must motivate your people, yelling alone doesn’t help anymore.


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


Re: \bar "||" and \repeat around a line break

2013-01-16 Thread Frank Steinmetzger
Am Mittwoch, 16. Januar 2013, 08:52:16 schrieb Marc Hohl:

> > Hello dear list
> > 
> > I'm writing a score that has a \bar "||" at the end of a system, and a
> > volta repeat beginning in the following system after the line break. It
> > seems that the \bar command overwrites the |: of the following volta,
> > making that invisible. Is there a way to get what I desire?
> 
> Lilypond has a special bar line type for this: \bar "||:" should do the
> trick.

I knew about the |: bar statement, but also that I can't use two bars for the 
same moment. The grace hint works like a charm, thanks Johan.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

The first night on the gallows is the worst.

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


Bug?: position of repeat bars for volta in lyrics

2013-01-15 Thread Frank Steinmetzger
Dear fellow users

I'd like to ask after which rule repeat bars are placed that belong to volta
repeats in lyrics blocks.

Until now my observation was that volta repeats in a lyrics block cause the
respective |: :| bars to appear as tightly around the enclosed lyrics as
possible:

- the opening bar |: is right before the first syllable in the lyrics volta
- the closing bar :| comes right after the last syllable in the lyrics volta

But yesterday I had another use case (in which the lyrics volta was not at the
end of the piece), in which the closing bar was positioned even later, namely
before the first syllable that comes after the repeat.

Was my original deduction wrong? Are the bars always attached to the next
syllable that follows them ?


I attached a minimal example to clarify. Its repeat bars at marks A and B are
created by the music's repeat, the other two bars by the lyrics' repeat.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Romani ite domum.
\version "2.16"

music=\relative c'' {
	R1
	\repeat volta 2 {
	\mark\default
		r4 r r r
		a4 a a a
	}
	\mark\default
	R1
	a
	\bar "|."
}

text=\lyricmode {
	\repeat volta 2 {
		ah ah ah ah
	}
	beh.
}

\new Staff <<
	\new Voice \music
	\addlyrics \text
>>


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\bar "||" and \repeat around a line break

2013-01-15 Thread Frank Steinmetzger
Hello dear list

I'm writing a score that has a \bar "||" at the end of a system, and a volta
repeat beginning in the following system after the line break. It seems that
the \bar command overwrites the |: of the following volta, making that
invisible. Is there a way to get what I desire?

Thank you very much.


MWE:

\version "2.16"

\relative c'' {
▸   \time 4/4
▸   \repeat unfold 20 a4
▸   \bar "||" \break
▸   \repeat volta 2 {
▸   ▸   \repeat unfold 20 a4
▸   }
}
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

How many people can read hex if only you and dead people can read hex?
deae people.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: RemoveEmptyStaffContext and merge rests snippet not co-operating

2012-09-16 Thread Frank Steinmetzger
On Sun, Sep 16, 2012 at 07:08:47PM +0200, David Kastrup wrote:

> […] Any changes made previously to \Staff after the definition of
> RemoveEmptyStaffContext will be gone.  Broken by design, so it got
> deprecated.  Perhaps we are not doing people a favor keeping it around.

Good to know, thank you.  I’ll amend my templates right away...

But the following stays the same, right?
\context
  \Score
  \override VerticalAxisGroup #'remove-first = ##t


PS.: Sorry David, again I forgot that in mutt I need a different key to reply
to the list instead of the sender. -_-
-- 
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

Three words to describe myself?
Not good at maths.


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: RemoveEmptyStaffContext and merge rests snippet not co-operating

2012-09-16 Thread Frank Steinmetzger
On Wed, Sep 05, 2012 at 01:17:35AM -0700, eluze wrote:
> 
> Frank Steinmetzger wrote
> > 
> > 
> > While the empty staves get removed as expected, using this feature breaks
> > the
> > merge-rests code -- I get two rests above each other.  
> > 
> 
> for me it works - can you provide an example?

OK, finally I found the time to deal with this.  I found out that among the
things that \RemoveEmptyStaffContext changes are the settings that merge rests.

I attached a mini-example to demonstrate.  In my normal setup I have a global
include file which pre-defines some layout stuff.  It has a layout block which,
to enable merging of rests, contains:

\context {
  \Staff
  \override RestCollision #'positioning-done = #merge-rests-on-positioning
  \override MultiMeasureRest #'Y-offset = #merge-multi-measure-rests-on-Y-offset
}

I simulated this in my attached example by having a \layout block at the top
of the file.  The result is that, as soon as I add \RemoveEmptyStaffContext to
the score, the rests are no longer merged.  I need to repeat the code from the
global \layout block in the score's \layout (*below* \RemoveEmptyStaffContext).
-- 
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

They say memory is the second thing to go.  I forgot what the first thing was.
#(define (rest-score r)
  (let ((score 0)
(yoff (ly:grob-property-data r 'Y-offset))
(sp (ly:grob-property-data r 'staff-position)))
(if (number? yoff)
(set! score (+ score 2))
(if (eq? yoff 'calculation-in-progress)
(set! score (- score 3
(and (number? sp)
 (<= 0 2 sp)
 (set! score (+ score 2))
 (set! score (- score (abs (- 1 sp)
score))

#(define (merge-rests-on-positioning grob)
  (let* ((can-merge #f)
 (elts (ly:grob-object grob 'elements))
 (num-elts (and (ly:grob-array? elts)
(ly:grob-array-length elts)))
 (two-voice? (= num-elts 2)))
(if two-voice?
(let* ((v1-grob (ly:grob-array-ref elts 0))
   (v2-grob (ly:grob-array-ref elts 1))
   (v1-rest (ly:grob-object v1-grob 'rest))
   (v2-rest (ly:grob-object v2-grob 'rest)))
  (and
   (ly:grob? v1-rest)
   (ly:grob? v2-rest)
   (let* ((v1-duration-log (ly:grob-property v1-rest 'duration-log))
  (v2-duration-log (ly:grob-property v2-rest 'duration-log))
  (v1-dot (ly:grob-object v1-rest 'dot))
  (v2-dot (ly:grob-object v2-rest 'dot))
  (v1-dot-count (and (ly:grob? v1-dot)
 (ly:grob-property v1-dot 'dot-count -1)))
  (v2-dot-count (and (ly:grob? v2-dot)
 (ly:grob-property v2-dot 'dot-count -1
 (set! can-merge
   (and
(number? v1-duration-log)
(number? v2-duration-log)
(= v1-duration-log v2-duration-log)
(eq? v1-dot-count v2-dot-count)))
 (if can-merge
 ;; keep the rest that looks best:
 (let* ((keep-v1? (>= (rest-score v1-rest)
  (rest-score v2-rest)))
(rest-to-keep (if keep-v1? v1-rest v2-rest))
(dot-to-kill (if keep-v1? v2-dot v1-dot)))
   ;; uncomment if you're curious of which rest was chosen:
   ;;(ly:grob-set-property! v1-rest 'color green)
   ;;(ly:grob-set-property! v2-rest 'color blue)
   (ly:grob-suicide! (if keep-v1? v2-rest v1-rest))
   (if (ly:grob? dot-to-kill)
   (ly:grob-suicide! dot-to-kill))
   (ly:grob-set-property! rest-to-keep 'direction 0)
   (ly:rest::y-offset-callback rest-to-keep)))
(if can-merge
#t
(ly:rest-collision::calc-positioning-done grob

#(define merge-multi-measure-rest-on-Y-offset
  ;; Call this to get the 'Y-offset of a MultiMeasureRest.
  ;; It keeps track of other MultiMeasureRests in the same NonMusicalPaperColumn
  ;; and StaffSymbol. If two are found, make transparent one and return 1 for 
Y-offset of
  ;; the other one.
  (let ((table (make-weak-key-hash-table)))
(lambda (grob)
  (let* ((ssymb (ly:grob-object grob 'staff-symbol))
 (nmcol (ly:grob-parent grob X))
 (ssymb-hash (begin
   (if (not (hash-ref table ssymb))
   (hash-set! table ssymb (make-hash-table 1)))
   (hash-ref table ssymb)))
 (othergrob (hash-ref ssymb-hash nmcol))
 (measure-count (if (ly:grob? grob) 
   

RemoveEmptyStaffContext and merge rests snippet not co-operating

2012-09-04 Thread Frank Steinmetzger
Dear list

Using 2.14.2, I am setting an SA-TB choir score with an additional solo voice.
With the help of snippet 336¹ I am auto-merging rests in the two-voiced
staves.  I also want to use \layout{ \context{ \RemoveEmptyStaffContext } }
in order to hide the solo staff where it is silent. 

While the empty staves get removed as expected, using this feature breaks the
merge-rests code -- I get two rests above each other.  Can you per-chance tell
by looking at the snippet with your trained eye what could fix this (if at all
possible)?  It’s not really a showstopper, I can do it the old-fashioned way:
\oneVoice r4 \voiceOne

I’d be just more convenient if I wouldn’t have to. :-)
Thanks and good night...

¹ http://lsr.dsi.unimi.it/LSR/Item?id=336
-- 
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

“I'm always right.
This time I'm just even more right than usual.” – Linus Torvalds


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Proper Understanding of Y-extent sought

2012-04-15 Thread Frank Steinmetzger
On Sun, Apr 15, 2012 at 05:27:55PM +0200, Janek Warchoł wrote:

> > Actual question:
> > ---
> > So instead of hoping to find a snippet on the interwebs for each single case
> > and playing with the numbers without knowing why they behave as they do, I
> > would like to understand what they actually mean.  All the IR says about
> > Y-extent is "hardcoded extent in Y direction".
> >
> > So what exactly do those two numbers denote?
> > Is it minimum/maximum?  Extent below/above baseline?  Offset/size?
> 
> Y-extent is vertical size of the object. […]  It's Y-extent is something
> like '(-2.5 . 4.5) meaning that it's bottom is 2.5 staffspace below that
> reference point and it's top is 4.5 ss above it.
> Y-offset is the distance between object's reference point and the reference
> point to which it is attached, and it doesn't have to be 0 by default.  […]

> > PS.: Is it correct that the stems of Elias’s tied halves are so long?

> Yes.
> However, after the cue notes end, the font-size is wrong (it's too small).

Hm?  The Solo part is supposed to be small.  This score contains only the
tenor staff of the choir parts.  As such, the solo inserts shall only be a
guide for the tenor’s entries.  After the solo, all size changes are reverted.

> hope this helps,
> Janek

Indeed, that was very helpful, thanks a lot.  I shall save this text in my own
docs+notes folder for later reference.  In fact, I would like to propose
adding this to the docs at some place, so others can find it, too.  I guess
the best place would be NR Appendix A.15, Layout properties → Y-extent.

PS.: “It's” is the short form of “it is”. ;-)
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

The problem with HTML/CSS jokes: everyone understands them differently.


pgpb9tUdQ3eMG.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Proper Understanding of Y-extent sought

2012-04-15 Thread Frank Steinmetzger
Dear list

Preface (go down for actual question):
---
I am still struggling with moving my dynamics around.  I want to get rid of
all those extra-offsets, after you told me that it’s the wrong approach.  So I
dug into the docs and lsr again, and found out about setting Y-extent so that
lilypond thinks that the dynamic mark takes up no vertical space.

However, that’s overshooting the target.  All I’m trying to achieve is to move
the mark around and then let lilypond do the layouting again.  The goal is to
minimise the staff’s extent by putting dynamic marks next to its note, so they
don’t push out the lyrics so much.


Actual question:
---
So instead of hoping to find a snippet on the interwebs for each single case
and playing with the numbers without knowing why they behave as they do, I
would like to understand what they actually mean.  All the IR says about
Y-extent is "hardcoded extent in Y direction".

So what exactly do those two numbers denote?
Is it minimum/maximum?  Extent below/above baseline?  Offset/size?


A real life example of my current work:
Just by coincidence I found the ideal figures for the attached snippet (the
forte mark under the \tempo text), but only through poking in the dark.  Now
that I’ve found them and trying numbers just slightly off, I’m still puzzled.


As always, I appreciate your insight. :-)


PS.: Is it correct that the stems of Elias’s tied halves are so long?
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

The problem with FORTRAN jokes is that they never fit into a single li
\version "2.14.2"
\include "deutsch.ly"

\relative c {
% setup
\autoBeamOff
\dynamicUp
\set Score.skipBars = ##t
\key es \major

% small Solo insert
\set fontSize = #-4
\override Stem #'length-fraction = #(magstep -4)
\clef "bass"

R1 * 4^\markup\bold{Elias}
es8\f es ges b es2~
\key g \major
es r

% now choir music
\normalsize
\override Stem #'length-fraction = #(magstep 1)
\clef "G_8"
\tempo "Allegro con fuoco" 4 = 152

r4 r8.
\once \override DynamicText #'Y-offset = #-1
\once \override DynamicText #'Y-extent = #'(1 . 1.5)
a,16\f
a8. a16 a8. a16
dis2 r
}

\addlyrics {
\override LyricText #'font-size = #-2
sen -- de sie her -- ab! __
\revert LyricText #'font-size
Das Feu -- er fiel her -- ab,
}
<>

pgp6L0KFiGnAB.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyrics vertical spacing and dynamics with extra-offset

2012-04-09 Thread Frank Steinmetzger
On Sat, Apr 07, 2012 at 10:54:24PM +0200, Janek Warchoł wrote:

> >> Is that a bug?  Or am I making a mistake here?
> >
> > It's not a bug, and not really a mistake either.  But extra-offset should
> > be used only as a last resort, as the extra displacement is made only
> > _after_ _all_ typesetting is finished.  So extra space is ignored.
> 
> In other words zou should override X-offset and Y-offset here, not 
> extra-offset.

aha.  I tried X-offset at other places and hoped that the dynamic would
automatically move closer to the staff once it’s clear of its note, but
neither happened.
I guess I have to re-read that part of the manual and try again.
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

:Beauty is in the eye of the beerholder.

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


Bug: lyrics vertical spacing and dynamics with extra-offset

2012-04-07 Thread Frank Steinmetzger
Dear list

I am writing down the Tenor part of Mendelssohn’s Elias (Elijah) and stumbled
upon the following, which clearly is a bug (to me).

I attached the three bars of the piece in which it appears.  Notice that both
the upper and the lower voice contain a Dynamic mark.  The two marks have an
extra-offset each to get them closer to the staff.

In the first score, the lyrics are put nicely close to the staff. But as soon
as the lower lyrics span across the space where the dynamic mark would be
without the offset, both lyrics seem to ignore the space that became available
by using the extra-offset.  Thus, the distance to the staff increases again.

Is that a bug?  Or am I making a mistake here?



PS.: Because there has been no reply to it and others also reported problems
with ML delivery, did you get my mail about a regression concerning order of
MIDI tracks (from 3. April)?
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

I hate being bi-polar.  It’s fantastic!
\version "2.14.2"
 
\paper {
score-system-spacing #'padding = #13
}

music = \relative c' {
\clef "G_8"
\key f \major

8. f16 f4 << { \voiceTwo
r2

r4 g
\once \override DynamicText #'extra-offset = #'(-2.5 . 1.5)
b4._\ff b8
} \new Voice = "TenorInsert" { \voiceOne
c4. g8 d'2(
\once \override DynamicText #'extra-offset = #'(-0.5 . -1.5)
e4.)^\sf c8
} >> \oneVoice
2 r
}
text  = \lyricmode { hö -- re uns, er -- hö -- re uns! }
textShort = \lyricmode { hö -- re uns, er }

\score {
\new ChoirStaff << \new Staff = "Tenor" <<
\music
\addlyrics \textShort
\new Lyrics \with {alignAboveContext = "Tenor"}
\lyricsto "TenorInsert"
\lyricmode { Baal, er -- hö -- re }
>>
>>
}

\score {
\new ChoirStaff << \new Staff = "Tenor" <<
\music
\addlyrics \text
\new Lyrics \with {alignAboveContext = "Tenor"}
\lyricsto "TenorInsert"
\lyricmode { Baal, er -- hö -- re }
>>
>>
}


pgpHVaIfS3GyW.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: partcombine - whole note : slash on grace note

2012-04-05 Thread Frank Steinmetzger
On Wed, Apr 04, 2012 at 06:21:00AM -0700, MING TSANG wrote:
> Mark,
> 
> I try as suggested.  The print seems to suggest no voice two.   When I just
> extract voice two (the bass) there is no midi sound for the s1~ s1.   This
> is not what I want.

When I encounter this, I use tags. In your case:

notes = relative c' {
...
\tag #'pdf { s1 s1 }
\tag #'midi { g1~ g }
}

This needs separate scores for PDF and MIDI output. The former then uses
\keepWithTag #'pdf \notes, and the latter \keepwithTag #'midi \notes.

> Blessing in+,

Blessing in plus?
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

Arrogant is he who, on his birthday, sends his parents a good wishes card.


pgpu1QyJxaLaA.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Regression?: Wrong order of MIDI tracks for lyrics

2012-04-02 Thread Frank Steinmetzger
Hello list

Starting with 2.14 (that's the version I used after 2.12 anyway), the order of
tracks in the MIDI file has changed.  While 2.12 ordered them as their contexts
appeared in the score (notes, text, notes, text, and so on, see code example
below), 2.14 puts all music tracks first, then followed by all text tracks.

I can live with that if need be, but 2.14 mixes up the order of text tracks
(seemingly) randomly, so it's harder to find out which text part belongs to
which music part. Please see the attached screenshot to clarify -- it shows
Rosegarden as it just opened the resulting MIDI from the following score.


\score {
\new ChoirStaff
<<
\new Staff = "Sopran" {
<<
\new Voice="Sopran" \SopranNoten
\addlyrics \SopranText
>>
}
\new Staff = "Alt" {
<<
\new Voice="Alt" \AltNoten
\addlyrics \AltText
>>
}
\new Staff = "Tenor" {
<<
\new Voice="Tenor" \TenorNoten
\addlyrics \TenorText
>>
}
\new Staff = "Bass" {
<<
\new Voice="Bass" \BassNoten
\addlyrics \BassText
>>
}
>>
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 75 4)
}
}
}


As I said, 2.12 would have put the tracks of that score in the order in which
their contexts appear in the score, so in this case alternating between music
and text.

In the image you can see parts that have bars in them, those depict the pitch
of the music contained.  The parts without bars don't have music, but the text.
MIDI doesn't know about parts, so they are automatically created as they are
needed.  Hence the part in track 9 starts in measure 5 because that's where its
content begins, and so it belongs to track 2.  On the other Hand, the text part
in track 8 belongs to track 4.

Is this a regression?
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

The most dangerous thing about half-wisdom is
that almost half of it is actually believed.
<>

pgpQxEnBHRf3b.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to get Glissando in front of a note

2012-03-28 Thread Frank Steinmetzger
Hello list,

I am trying to produce glissando marks as seen in original.png. My idea was to
use hidden grace notes as start note, but unfortunately, the result is not
very good, as seen in result.png. There is overlapping with the time
signatures, and mid-measure the grace notes are too close to the note to be of
any use.

Could you give me a nudge, please? (Parallel hidden voices? postscript-fu?)

I attached a minimal example containing the code of my original score, from
which result.png was captured.
-- 
Gruß | Greetings | Qapla'
Please do not use my email addresses within any Facebook service.

“It is hard to be a conquering hero when it is not in your nature.”
  – Captain Hans Geering, ’Allo ’Allo
<><>\version "2.14.2"

sigs={
\numericTimeSignature
\time 4/4
s1
\time 2/4
s2
}
\new ChoirStaff <<
\new Staff <<
\sigs
\new Voice="Tenor" \relative c'' {
\autoBeamOff
c8 e f e d c c b
\time 2/2 c4 c
}
\addlyrics { so tanz ich jetz -- und mit Jung -- fer Kä -- 
then. }
>>

\new Staff <<
\sigs
\new Voice="Bass" \relative c' {
\clef bass 
\override Glissando #'style = #'zigzag
\hideNotes \grace a,4\glissando \unHideNotes g'2 
\hideNotes \grace a,4\glissando \unHideNotes g'2
\hideNotes \grace a,4\glissando \unHideNotes g'4 
\hideNotes \grace a,4\glissando \unHideNotes g'4
}
\addlyrics { hou hou hou hou. }
>>
>>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Two questions about vertical layout and lyrics spacing

2012-03-21 Thread Frank Steinmetzger
On Sat, Mar 17, 2012 at 01:53:10PM -0700, Joe Neeman wrote:

grrr... I _must_ remember to look to whom I send my replies; stupid mutt. I
answered only to Joe again. Here goes a second time:

> > Example #2, padding.png, shows a piece which has a large variation in
> > staff height, because there are either two lines of lyrics to a staff or
> > none at all.  As lilypond tries to keep an even system-system-distance,
> > the result is now that the first two systems on the first page are so
> > tight together that it is hard to make out which text belongs to which
> > staff.
> > The second page shows a similar, if not as extreme, effect; systems 2 and
> > 3 are rather heave with all their lyrics, but they appear closer together
> > than the less heavy systems 1 and 4 to their respective neighbours.
> >
> > My first thought is now of course to alter system-system-spacing
> > #'padding, but I have not found a way to make this equal between all
> > systems on one page (except if I enabled ragged-bottom).  What would you
> > recommend?
>
> There are two competing desires here [...]. Could you suggest, therefore, an
> extra parameter (or a modification to the algorithm) that would give you the
> trade-off you want?

Well, what came to my mind, being a (quite) seasoned user who's done a few
dozens scores for my choir, in different styles and arrangements, is a
variable to guide lily in its decisions, just like two-sided or ragged-* do.

So for example a variable called spacing-priority with a few possible values,
such as system-distance (what 2.14 does now), system-padding (what I would
need in padding.png), or system-lyrics-padding (for the lyrics.png
situation).  Internally, I guess, setting this variable would just imply some
other default values for the spacing alists, as Keith proposed.

The reason behind this approach is that, while lilypond should do as much as
possible automagically (which it is generally very good at), it just cannot
predict every possible situation.  So we're giving it a hint as to the
direction in which to go.

my 2¢.
--
Gruß | Greetings | Qapla'
“Hello, my friend! You can say you to me!” – Helmut Kohl


pgpbr17IKcE18.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Manual bars: PDF and MIDI have different opinion on melismas

2012-03-15 Thread Frank Steinmetzger
Dear list

I just discovered that 2.14 produces different lyrics for PDF and MIDI output,
when there are manual beams. Is this intentional?

A minimal example is attached. Note that, in the PDF, the text "three and
four" appears as expected under the notes, whereas in the MIDI, the notes on
"three and" are regarded as a melisma.

At first I thought it a regression over 2.12, but then found out that 2.12 did
the same thing and I never noticed the errors in my old MIDIs.
-- 
Gruß | Greetings | Qapla'
while (!asleep()) ++sheep;
\version "2.14.2"

music = \relative c'' { g4 a8( g) f8[ g] g4 }
text = \lyricmode { one twohoo three and four }
\score {
<<
\new Staff = "staff" \new Voice = "voice" \music
\new Lyrics \lyricsto "voice" \text
>>
\layout{}
\midi{}
}


pgpAjdI5vp6Ru.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[war...@gmx.de: Re: Floating markup / Markup takes too much space]

2012-03-10 Thread Frank Steinmetzger
Only sent to Phil again yesterday. Now to you all.

On Fri, Mar 09, 2012 at 01:37:50PM -, Phil Holmes wrote:

> Dear list
> 
> I am trying something new; I want to include a logo in my copyright line. I
> have here a one-page sheet consisting of a score and a markup block which
> contains the text for verses 2 to 4.
> 
> Now according to annotate-spacing, I have 11.13pt of space left. The image
> in the screenshot was included with the command
> \epsfile #Y #6 #"inc/filename.eps"
> 
> But even if I increase the image's height from 6 to a mere 7, the markup
> above is pushed to a second page.
> [...]
> There have been a _lot_ of changes in the spacing calculations between the 
> version you're using and current stable, which is 2.14.2.  I suggest trying 
> with 2.14 and letting us know if the problems remain.

Thanks for your answers. I was beginning to fear my questions became either too
specific, too mundane or were dealt with many a time before, so you just
didn't bother. :)

Anyway, The canon of your answers is to upgrade -- and I agree. A version push
request has been in the Gentoo bug tracker for ages now. I added a comment
there that 2.16 is about to come out (as I recently read here).


Back to topic: I built 2.14 from source which was easy thanks to Gentoo's
infrastructure. Indeed I can enlarge the logo nicely with it, and I don't even
have any big side effects, because it is a simple one-page piece. And I really
like the new default vertical spacing, especially concerning lyrics.

Most of my pieces are 2 or more pages, then also including a titlepage.
Converting those will be a bigger endeavour. But I'm looking forward to the
benefits of the improved layout engine.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

What do you call a fly without wings? - A walk.


pgpVuSuXeh6RN.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Floating markup / Markup takes too much space

2012-03-09 Thread Frank Steinmetzger
On Thu, Mar 08, 2012 at 06:16:15PM +0100, Frank Steinmetzger wrote:
> Dear list
> [...] 
> Now according to annotate-spacing, I have 11.13pt of space left. The image in
> the screenshot's copyright line was included with the command
> \epsfile #Y #6 #"inc/filename.eps"
> 
> But even if I increase the image's height from 6 to a mere 7, the markup above
> is pushed to a second page. Can you please explain to me why that is and,
> ideally, how I can get around that?

Pushing... sorry if I seem impatient, I was hoping to solve this today, and my
last few questions remained unanswered, so I hope I still get through to you
at all.
-- 
Gruß | Greetings | Qapla'
The situation is hopeless, but not serious.


pgppVH3f07RKI.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Floating markup / Markup takes too much space

2012-03-08 Thread Frank Steinmetzger
Dear list

I am trying something new; I want to include a logo in my copyright line. I
have here a one-page sheet consisting of a score and a markup block which
contains the text for verses 2 to 4.

Now according to annotate-spacing, I have 11.13pt of space left. The image in
the screenshot was included with the command
\epsfile #Y #6 #"inc/filename.eps"

But even if I increase the image's height from 6 to a mere 7, the markup above
is pushed to a second page. Can you please explain to me why that is and,
ideally, how I can get around that?

For future projects, where I don't have so much space left -- like multipage
scores with a constant number of systems per page -- I think it would be best
if I could make the image take up no additional vertical space at all, i.e.
make it float above all other elements.

My version is 2.12.3.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Electrical parts work with smoke.
If the smoke comes out, the parts don’t work anymore.
<>

pgpzT6MPo7X2b.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Extender: stretch to end of note value and into repeat alternatives

2012-02-16 Thread Frank Steinmetzger
Dear list

In the last two hours or so I've been reading up 800 unread mails, searched
the archive and the LSR. But I still have to bother you with this. :/

I'm trying to reproduce two songs which both make an unusually big use of
extenders.  Both are SATB choir pieces.  One has only one of the voices
singing, and the others accompany with hm __. In order to show that this
humming is continuous, it has lots of extenders all the way through, see
the attachment extender-mm.png for an example.

The other song does that too, albeit not so much in the face, see
parallel-extender.png. Of course I could always go with the modern style and
omit the extender for the whole note in this particular case, but I'd still
fancy reproducing the original, since the song is early renaissance.

Lastly, also found in the second one of those songs, I have an extender that
enters the alternatives of a volta repeat (alternative-extender.png). During
my catching up with the ML I already learned how to create ties in and out of
alternatives, but I couldn't find out anything about extenders.

The only thing I came up with so far is to switch the associated voice and use
invisible notes to artificially stretch the lines. But this would be rather
tedious, as
- the song uses it over the whole length,
- at some point in three voices at the same time, each at different ticks
- and I would have to deal with countless note clashes, which is a horror if
  you want a clean compile :)

May I ask for a little nudge here? Even a "no can do", so I can ease up a bit.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Two antennae got married. The wedding was OK, but the reception was great.
<><><>

pgpk40UvSNyMJ.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Enhancement request for vim filetype plugin

2012-01-20 Thread Frank Steinmetzger
Good evening

I'll write my request first for those who are not interested in the whole
background story :-)  It is about the vim filetype plugin that comes shipped
with lilypond.  The following line needs to be added before any key mapping
(blatantly taken from the ftplugin file for mail and adapted accordingly):

if !exists("no_plugin_maps") && !exists("no_lilypond_maps")

and of course the accompanying endif after the last mapping.


Now the background story:
I wrote to the maintainer who was given in the file, but the message couldn't
be delivered (I almost expected it, since the date of last change is 2004).  So
I hope there are some vim enthusiasts here that put my request to good use.

I was wondering yesterday why my own key bindings for lilypond files didn't
work in vim (I want to press F9 to compile a file). It took me more than two
hours to find it out -- including the help of #vim on IRC. It turned out that:

- the file defines some key mappings of its own
- by default, global key mappings have precedence over those in ~/.vimrc
... fair enough, but
- the F9 keymap doesn't just call :make, but also sets makeprg=make -k
- I tried to disable ftplugin keymaps, just for lilypond and also for all types
- the way of disabling ftplugin mappings recommended by the manual doesn't work
- because the ftplugin file doesn't check for it
» hence the above request

I'm assumeing that the vim file comes directly from lilypond itself, because
it is in the tarball and not from within the package manager directory. (OTOH,
there is no such file in Ubuntu whatsoever, I guess us Gentooans are lucky).

Thanks for your time.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

The only thing still keeping me here is Earth’s gravity.


pgpRujc8IXkh2.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce width of single measure

2012-01-20 Thread Frank Steinmetzger
On Fri, Jan 20, 2012 at 01:34:21AM +0100, Thomas Morley wrote:

G, I wrote a reply yesterday, but _atain_ only replied to one person
instead of the list.

> >> Hi Frank,
> >>
> >> 2012/1/17 Frank Steinmetzger :
> >>
> >> > Is there an automatic way to resolve this, i.e. that all "ness"
> >> > syllables are
> >> > properly aligned again?
> >
> >
> > It appears the text will be aligned to the head of the first note between <
> >>, so specify the upper of the two first: so, rather than , 

Yes, the solution was so simple. It worked like a charm, thanks.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Everyone wants your best. Don’t let them take it from you.


pgpGQOiu6UVYQ.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lyric alignment under Second intervals

2012-01-16 Thread Frank Steinmetzger
Sorry about the wrong subject, it was supposed to be this one instead.  (I used
another message in the list to extract the To: address and forgot to change the
subject before sending.)

For possible replies, here's the question again.


The "ness" syllables are not aligned to one another, because alto and bass are
aligned to a single note, whereas soprano and tenor have a Second interval,
which causes the stem to shift horizontally.

Is there an automatic way to resolve this, i.e. that all "ness" syllables are
properly aligned again?  The only solution I can think of is to use \set
associatedVoice, so that (in this example) soprano and tenor use the bass'
notes as rhythm base.

I'm (still) using 2.12.3 here. Thanks in advance for your insight.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

...still, there is life before death!


pgpsi3ZUT6E2t.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Reduce width of single measure

2012-01-16 Thread Frank Steinmetzger
Hello gurus

I already wrote a whole paragraph to describe my problem, but an image is far
simpler.  Please see the attached screenshot to get an idea of my problem.  The
"ness" syllables are not aligned to one another, because alto and bass are
aligned to a single note, whereas soprano and tenor have a Second interval,
which causes the stem to shift horizontally.

Is there an automatic way to resolve this, i.e. that all "ness" syllables are
properly aligned again?  The only solution I can think of is to use \set
associatedVoice, so that (in this example) soprano and tenor use the bass'
notes as rhythm base.

I'm (still) using 2.12.3 here. Thanks in advance for your insight.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

The most dangerous thing about half-wisdom is
that almost half of it is actually believed.
<>

pgpZcCEEnICCI.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


VIM files provided by lilypond

2011-12-02 Thread Frank Steinmetzger
Hello list,

this is more of a dev topic than user topic, but I’m always hesitant to create
a new user account in the Intertubes just for an assumed one-occasion use. Plus
I am in no way skilled to be considered a dev anyway. So I’d be glad if someone
here knows to whom to forward this.

So here’s the topic:
I wanted to go a bit deeper into writing lily stuff with vim, because althouh
Frescobaldi is a great too with the integrated preview and such, it has some
annoyances. Thus I noticed one and a half problems in the vim files that
lilypond ships.

The half problem is that it set makeprg as "lilypond -m", but my 2.12.3 tells
me that -m is unrecognised. (Is it a legacy parameter?)

The real problem is that the definition should be adjusted for filenames with
spaces in them. In particular, each instance of

makeprg=lilypond\ %<

should be changed to

makeprg=lilypond\ \"%<\"


It is of course possible that my files are obsolete since my lilypond version
is itself practically antique. But that is another issue.

Tüdelü...
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

„Die alten Burgen am Rhein sind zugrunde gegangen durch die umliegenden Leute.“
– Marquardtiana


pgpEUdsF9nKmz.pgp
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Reverse order of brackets in nested staves

2011-10-13 Thread Frank Steinmetzger
Hello again dear list

Again, like with almost every piece, I encountered something new and unknown. 
I had half a dozen problems, but I could find out (almost) everything by 
myself. So the documentation indeed is quite complete. ;-)

But there is one thing which I was unable to find out:
After an hour of fiddling, experimenting and understanding how those snippets 
actually work, I managed to have a hierarchy of brackets in a piece. But in 
order to put the dot on the i, I would like the order of brackets reversed, as 
seen in the screenshot (original | my version). Can you tell me how to achieve 
this? Thanks.

-- 
Gruß | Greetings | Qapla'
This is supposed to be cappucino? It’s not even sprinkled with Parmesan!<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Vertical position of whole-measure rest

2011-10-04 Thread Frank Steinmetzger
Hello again

this time it is really a problem and not a fault of my own. :-)

Namely: there is a small part with two voices, in which I need to move the 
whole-measure rest in the lower voice down a bit (see screenie).

I found http://lsr.dsi.unimi.it/LSR/Item?id=159 which explains \rest, i.e.
a4.\rest. However, that gives me a normal r4., whereas I need an R4..

How can I achieve that? Thanks.
-- 
Gruß | Greetings | Qapla'
Contrariwise, if it was so, it might be; and if it were so, it would be;
but as it isn’t, it ain’t.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bad decision on where to place slur?

2011-10-04 Thread Frank Steinmetzger
Am Dienstag, 4. Oktober 2011, 20:13:12 schrieb Frank Steinmetzger:
> Hello list
> 
> I just finished typing some old, falling apart score and noticed some
> details that bothered me, namely some slurs that would be much better if
> they were above the notes instead of below, and vice versa.

Belay that, I was being stupid.

The whole thing comprises a couple dozen pieces; to start a piece I simply 
copied an old one for the template, forgetting that at some place I used 
\slurDown in one of the first pieces. -_-
-- 
Gruß | Greetings | Qapla'
IBM - International Bubblegum Machines


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


Bad decision on where to place slur?

2011-10-04 Thread Frank Steinmetzger
Hello list

I just finished typing some old, falling apart score and noticed some details 
that bothered me, namely some slurs that would be much better if they were 
above the notes instead of below, and vice versa.

I know that and how I can change their position manually, but I was wondering 
on what information lilypond decides on where to put the slur -- above or 
below the notes. See the attached screenshot of three examples, I marked the 
slurs which I think would be better placed on the opposite side (and not just 
in my opinion; the original from many a year ago has them the same way I would 
like them).

What’s your opinion? Cheers.
-- 
Gruß | Greetings | Qapla'
Help a man when he is in trouble
and he will remember you when he is in trouble again.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Problem with Kerning

2011-09-28 Thread Frank Steinmetzger
Hello list

A few months ago I wrote about mis-shaped glyphs (about which noone was able 
to help).  I recently found out that the feta font itself is borked on my 
Gentoo system (and I discovered the same errors in Debian Squeeze’s), both are 
2.12.3 I think.  So I installed lilypond in my virtual Ubuntu; I know this 
looks right because a friend uses it.

But alas, I had to discover thusly that the Ubuntu-lilypond doesn’t do kerning 
as nicely as my Gentoo setup.  I am using TeX Gyre as default font, because 
it’s a little nicer to look at.  Interestingly, the Gentoo-version has simple 
ttf files of the font, whereas in Ubuntu the Gyre package installed a set of 
otf files.

If I use the default lilypond CM font, the result looks the same for the two 
systems, so the problem seems to be with how lilypond (or the underlying text 
renderer) digests the external font.

See the attached minimal example and screenshots thereof for the difference:
- the space between W and a in Water
- the space between T and r in Translated
- the space between T and . in S.A.T.B.


PS about the borked font issue:
I copied all files in /usr/share/lilypond/2.12.3/fonts/ from Ubuntu over to 
Gentoo and naturally the latter renders well now. But when comparing the two 
version of, for instance, type1/feta18.pfb in a font viewer, I noticed that 
the Gentoo version show slightly less spacing between some glyhps.
Could that be related, since on Gentoo the fonts are freshly compiled during 
installation?


Thanks for any help here, even if it’s just for learning a bit about 
lilypond’s internals, since the above workaround fixed the problem which 
“drove” me to Ubuntu in the first place.

-- 
Gruß | Greetings | Qapla'
Press any key to continue, or any other key to quit.<><>\version "2.12.2"
myStaffSize = #15.87
#(set-global-staff-size myStaffSize)
\paper {
	#(define fonts
	(make-pango-font-tree	"TeX Gyre Pagella"
"Sans"
"Mono"
	(/ myStaffSize 20)))
}

\header {
	title="Water Night"
	subtitle="for S.A.T.B. Chorus, a capella"
	dedication=\markup \column{ "dedicated in deepest friendship to Dr. Bruce Mayhall" }
	composer="Eric Whitacre"
	poet=\markup \column{ "Original Spanish text by Octavio Paz" "Translated by Muriel Rukeyser" }
}

\score { c'' }___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Error in glyphs: glyphs with filled loops at different feta font sizes

2011-01-17 Thread Frank Steinmetzger
Hello List,

I am having a problem here with Lilypond 2.12.3 on Gentoo Linux. I use a size 
of 14.14 for my own things, so I haven’t noticed it yet. But now I’ve come 
across someone else’s documents, which are set at 17.82. There the loop at the 
tip of the G clef is filled out. And at size 15.87 it’s the 4/4 time signatury 
glyph that displays incorrectly. Can you tell me how to avoid this?

I attached a screenie of the sizes in question and the ly they were made with.

I have tried all sizes that are stated in the comment of the attached file. 
The filled loop also occurs at 11.22, 20 and 22.45. At 25.2 I noticed that the 
clef’s centre diagonal line has an error at its lower end (the inside of the 
curve is thicker). Thus I discovered this error in the others as well.

Only 12.6 and 14.14 seem to really look normal.
I tested it with Okular, Gnome’s PDF viewer and KPDF, they all showed the 
error. But still I’m attaching the PDF for size 17.82 to test it.
-- 
Gruß | Greetings | Qapla'
Emacs is a great operating system, which only lacks a good editor.\version "2.12.3"

\include "deutsch.ly"
#(set-global-staff-size 14.14) %11.22, 12.6, 14.14, 15.87, 17.82, 20, 22.45, 25.2

upper=\relative c' {
	c d e f
}

\score {
	\new Staff \upper
	\layout {}
}<>

glitches17.82.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The best way to structure multi-file projects?

2010-12-16 Thread Frank Steinmetzger
On Thursday 16 December 2010 18:48:27 Phil Holmes wrote:
> Frank,
> 
> The example you've posted seems to work as expected.  Is there something
> you feel is wrong with the approach you use here?

Indeed, it doth work. For now I have done 8 pieces with 48 pages altogether, 
and it already takes Lily ages to distribute the scores.

In an earlier thread I was told that I can interrupt the page breaking 
algorithm via bookparts, but you may have noticed in my example that \book{} 
was commented out, because as I mentioned I can't use variables in bookparts.


What I would really love to do is use LaTeX to bring them all together. I'm 
using it already to create the front and back page. I have also already 
managed to get little example staves running with lilypond-book, but with the 
bigger scores I only got errors in LaTeX so far (missing files or something 
like that).
-- 
Gruß | Greetings | Qapla'
Ich untersage jegliche Verwendung meiner E-Mail-Adressen bei Facebook.

Was ist Onanie? - Liebe an und für sich.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


The best way to structure multi-file projects?

2010-12-15 Thread Frank Steinmetzger
Hello list

Triggered by my recent problem with a strange notion of Lilypond, due to which 
it seems to prefer an even number of pages for a score in a multi-score 
work, I wanted to try and fix that in another document of mine.

This work (namely Bach’s Mass in B minor, BWV 232) has 27 pieces, hence I 
wanted to make it as easy as possible to work on single pieces at a time, but 
also to compile the whole thing.

So, of course, each piece is in an own file again. But this time, I wanted to 
have everything that is needed to load a piece in one single line (so they can 
be switched on and off the easiest).


As a result, the piece files now contain the entire score block, plus variable 
definitions for all staves and lyrics to be used within the \score. However 
there is one problem - I can't use this approach with bookparts, because I 
can't define variables within a bookpart (I get unknown string error). The 
obvious solution to this would be of course to not use variables, but write 
everything into the \score directly. This has at least the problem of having 
to duplicate parts that are common to all staves.


But still, I am curious: how do you structure your bigger projects (both in 
terms of physical files as well as logical structure) in order to remain 
flexible in case you decide to change something globally? I'm only producing 
choir sheets, so I have no need for separate versions of the files like 
instrument parts.


I attached one piece and the main file, adapted to be a working minimal 
example. ;-)
-- 
Gruß | Greetings | Qapla'
Kids in the back seat cause accidents. Accidents in the backseat cause kids.
\version "2.12.2"
%\include "titling.ly" % more elaborate title page
\include "deutsch.ly"

#(set-global-staff-size 14.14)
\paper {
	#(set-paper-size "a4")
	top-margin = 1.3 \cm
	bottom-margin = 1.6 \cm
	default-paper-size = "a4"
	between-system-padding = 0\cm
	line-width = 17.5\cm
	ragged-last-bottom = ##f
}

\layout { indent = #0 }

%\book {
	\header {
		title="Mass in B minor"
		composer="Johann Sebastian Bach"
	}
	\markuplines \table-of-contents
%}
\pageBreak
%part="1. Kyrie eleison" \tocItem \markup \part \include "01.ly"
%part="3. Kyrie eleison" \tocItem \markup \part \include "03.ly"
%part="4. Gloria in excelsis" \tocItem \markup \part \include "04,05.ly"
%part="25. Osanna repetatur" \tocItem \markup \part \include "25.ly"
part="27. Dona nobis pacem" \tocItem \markup \part \include "27.ly"
\version "2.12.2"
\include "deutsch.ly"
tags=#'clefold
part="27. Dona nobis pacem"

control={
	\set Score.skipBars = ##t
	\set Score.skipTypesetting = ##f
	\override Score.RehearsalMark #'self-alignment-X = #left
	\time 2/1\mark\markup{\part}
	\set Staff.timeSignatureFraction = # '(2 . 2)

	s\breve
	s\breve * 45
	
	\bar "|."
}

SopranStaff={
	\set Staff.instrumentName="S"
	\set Staff.shortInstrumentName="S"
	<<
		\control
	\new Voice="Sopran" \relative c'' {
		\tag #'clefold {\clef soprano}
		\tag #'clefnew {\clef treble}
		\key h \minor
		\autoBeamOff
		\set Score.skipBars = ##t
		
		R\breve * 2
		r2 a( h) cis
		d \melisma cis4 h cis \melismaEnd a d2~
		d cis h1
	% Seite 5 Takt 6
		a2 r r1
		r2 d1 cis2
		d4 \melisma cis8[ h] a[ h g a] h[ a h c] h[ c h a]
	% Seite 6, Takt 9
		g4 \melismaEnd e a2 d, r
		r1 r2 a'(
		h) cis d \melisma cis4 h
		cis \melismaEnd fis, fis'2~ \melisma fis4 e8[ d] e2~
		e4 d2 \melismaEnd g4 cis, e d( cis)
	% Seite 7, Takt 14
		h1 r
		r d(
		e2) fis g \melisma fis4 e
		fis \melismaEnd d g1 fis2
		e1 d
	% Seite 8, Takt 19
		r r2 e~
		e dis e4 \melisma d8[ c] h[ c a h]
		c[ h c d] c[ e d c] h4 \melismaEnd cis d2
		g,4 r cis1 h2
	% Seite 9, Takt 23
		e4 e a,2 a4 r fis'2~
		fis eis fis4 \melisma e8[ d] cis[ d h cis]
		d[ cis d e] d[ fis e d] cis4 \melismaEnd cis fis2
		h,2 r r d(
	% Seite 10, Takt 27
		e) fis g \melisma fis4 e
		fis \melismaEnd d g1 fis2
		e d~ d4 h2 h4
		a a h2 e,4 r a2(
		h) cis d \melisma cis4 h
	% Seite 11, Takt 32
		cis \melismaEnd a d1 cis2
		h1 a
		R\breve
		d1( e2) fis
		g \melisma fis4 e fis \melismaEnd d g2~
	% Seite 12, Takt 37
		g fis e1
		d2 d1 cis2
		d8[ \melisma e d cis] h[ cis a h] cis[ d h cis] dis[ e cis dis]
		e1~ e4 d!8[ cis] d[ e fis d]
	% Seite 13, Takt 42
		g1~ g2 \melismaEnd fis
		e\breve
		d2 r4 d \melisma e2~ e8[ fis e d]
		cis4 \melismaEnd a fis'1 \melisma e2~
		e4 \melismaEnd a, d2~ d4 cis8[ h] cis2
		d\breve\fermata
	}
>>
}
SopranLyrics=\lyricmode {
	Do -- na no -- bis pa -- cem, pa --
	cem, pa -- cem, do --
	na no -- bis, do -- na no -- bis pa -- cem, do -- na no --
	bis, do -- na no -- bis pa -- cem, pa -- cem,
	pa -- cem, do -- na no -- bis pa -- cem,
	do -- na no -- bis pa -- cem, do -- na no -- bis, do --
	na no -- bis pa -- cem, pa -- cem, __ do -- na no -- bis pa -- cem, do -- na no --
	bis pa -- cem, pa -- cem, do -- na no -- bis pa --
	cem, pa -- cem, pa -- cem, do --
	na pa -- cem, do -- na, do -- na no -- bis pa -- cem.
}

AltStaff={
	\set Staff.instrumentName="A"
	\set Staff.shortInstrumentName="A"
	<< \control
	\new Voice

Re: Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
On Saturday 04 December 2010 19:14:46 Keith OHara wrote:

> > [...] It's almost perfect,
> > except for piece 9, which is only three systems big with (relatively)
> > much space in between. So I tried if it could be 4 systems long and it
> > can.
> > 
> > However, for some reason, when I do so it messes up piece 2. Although it
> > is two manual \pageBreaks apart, it is influenced by this one
> > system-count
> 
> You can ask Lilypond to consider only a portion of the music when breaking
> pages, by making each portion a separate \bookpart.  Each \bookpart starts
> on a new page, so you might put pieces 2-4 in one \bookpart, pieces 4-6 in
> the next \bookpart, etc.
> 
> When Lilypond has reached the limits of her ability to suggest page breaks,
> you can take over by putting \pageBreaks where you want them and using
> page-break-permission = #f (see chapter 4 in the reference manual for
> syntax).

But the strange thing is that it already allocated the correct space for parts 
2 and 4. I'm surprised that it behaves differently when I change something in 
a completely different part of the document.

Onc I encased pieces two and four by one bookbart, they fit into two pages 
together. Now, piece 10 stretched out to two pages (3 systems on the first, 
one on the second page, which was the last one of the document).
Then I added a bookpart around piece 10, which made it fit onto a single page 
again. Guess what -- this time it was piece 9 that stretches across two pages.


It’s as if lilypond is trying to keep an even number of pages.

You saw the file, there is no global page-count defined. I’m stumped.:-|
-- 
Gruß | Greetings | Qapla'
If you have a problem, call your system-administrator.
If you are the system-administrator, you have a problem.

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


Re: Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
On Saturday 04 December 2010 16:59:59 Phil Holmes wrote:
> Which version of LilyPond are you using?

Thought about that fact a couple of seconds after sending. *g*
It’s 2.12.3.
-- 
Gruß | Greetings | Qapla'
Moderener Tourismus: Man glaubt zu reisen und wird doch nur transportiert.

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


Weirdness in distribution of systems across pages

2010-12-04 Thread Frank Steinmetzger
Hello list,

I have written a document with a number of pieces within a single \book block. 
Each piece is a separate \score. I'm now working on an even density of the 
systems, so the document looks nice as a whole. I have one problem here:

For some pieces I have set a fixed system-count to override lilypond’s 
default, also I have a \pageBreak between all pieces except between 2 and 4. 
This yields the result on the left of the screenshot. It's almost perfect, 
except for piece 9, which is only three systems big with (relatively) much 
space in between. So I tried if it could be 4 systems long and it can.

However, for some reason, when I do so it messes up piece 2. Although it is 
two manual \pageBreaks apart, it is influenced by this one system-count and 
its systems are spread across one additional page (though its system count 
remains the same). You can see the result on the right column of the screenie.


Each piece is stored in a separate file. Those piece files contain the music 
in the form of

\partone=\new ChoirStaff
<<
\staffone
\lyricstostaffone

\stafftwo
\lyricstostafftwo

etc...
>>

without any additional \layout information, only the occasional \break. The 
main file has the scores and directly \includes the pieces into them.

Do you have any idea why piece 2 is influenced by piece 9? And -- more 
importantly -- a way to solve this mystery?
-- 
Gruß | Greetings | Qapla'
I forbid the use of any of my addresses with facebook services.

The number you dialed is imaginary.
Please rotate your phone by 90 degrees and try again.
\book {
	\header {
		title = "Oratorio de Noël"
		composer = "Camille Saint-Saëns"
		opus = "Op.12"
		tagline = ##f
	}
	\paper {
		oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page \fromproperty #'page:page-number-string "" }
		evenHeaderMarkup= \markup \fill-line { "" \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
	}

	\pageBreak
	\tocItem \markup "2. Récit et Chœur"
	\score {
		\keepWithTag #'chor
		\partzwo
		\header {piece=\markup\column{"2. Récit et Chœur" \null} }
		\layout{
			\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
			}
		}
	}

	%\pageBreak
	\tocItem \markup "4. Chœur"
	\score {
		\keepWithTag #'chor
		\partvier
		\header {piece="4. Air et chœur"}
		\layout{
			\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
			}
			system-count = 3
		}
	}

	\pageBreak
	\tocItem \markup "6. Chœur"
	\score {
		\partsechs
		\header {piece="6. Chœur"}
		\layout {
			system-count = #8
		}
	}

	\pageBreak
	\tocItem \markup "9. Quintette et Chœur"
	\score {
		\keepWithTag #'chor
		\partneun
		\header {piece="9. Quintette et Chœur"}
		\layout {
			system-count = 4
		}
	}
	\pageBreak
	\tocItem \markup "10. Récit et Chœur"
	\score {
		\partzehn
		\layout {
			system-count = #4
		}
		\header {piece=\markup\column{"10. Chœur" \null} }
	}
}
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Getting markup aligned to the bottom of the last page

2010-10-22 Thread Frank Steinmetzger
Hello Group

I am trying to add a descriptive text to the end of a score. I tried reading 
the snipped for a title page¹ and how this accomplishes it, but even after a 
couple of years of using lilypond, I still didn't manage to grasp scheme. It's 
just too weird. *duckandhide*

So I tried the Microsoft Word approach: just push everything down by newlines. 
I have between-system-padding set to 0 and enabled ragged-last-bottom. So on 
the last page I created some extra spacing between its two systems by adding a 
column to one of the lyrics syllables (marked as a red box in the screenshot).

annote-spacing tells me that there is lots of room left (11.72). But even if I 
add just one more line to the lyrics column as it is seen in the screenshot, 
the entire text below the system is put onto the next page.

I found out that I can prevent the latter problem by specifying a page-count, 
but that’s only a workaround. So the question is: what is the proper way to 
add some markup text and bottom-align it? (in a naïve way of thinking: add an 
auto-stretching vertical spacer between the score and the markup)

Thanks for some insight.


¹ http://lsr.dsi.unimi.it/LSR/Snippet?id=368
PS.: The screenshot is blanked out a little to make the file smaller.
-- 
Gruß | Greetings | Qapla'
Windows: reboot. Linux: be root.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: One line of lyrics, then two lines -> vertical alignment

2010-08-22 Thread Frank Steinmetzger
Am Sonntag, 22. August 2010 schrieb James Bailey:

> > My problem now is in the last system, where the lyrics part in two lines.
> > I was unable to figure out how to achieve in it the way this page shows
> > it.
> > 
> > What is your suggestion, please?

> Perhaps this from the LSR will help:
> http://lsr.dsi.unimi.it/LSR/Item?id=503

Yep, thanks, or to speak with the lyrics: „Schönen Dank“ (”thanks a lot“). :-)

The only pity is that, after I researched it for half an hour, I found out 
that I can’t center-align the first syllable of the lower line, because it 
starts on a melisma. So I had to left-align the upper line, in order for the 
two lines to be aligned to each other. This looks a little ugly, but well, I’m 
glad I’m done with it now.

It’s funny that, for almost every piece I set for my choir, I had to research 
and learn one or two new things about lilypond.
-- 
Gruß | Greetings | Qapla'
Programmers don’t die, they GOSUB without RETURN.
<>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


One line of lyrics, then two lines -> vertical alignment

2010-08-22 Thread Frank Steinmetzger
Hello List

I have grazed the ML archive and I (believe to) remember to have seen this 
question before, but I couldn’t find anything, only other meanings of 
”vertical alignment of lyrics“. So I’m just asking again. :-)

See the attached image of a page I’d like to set. It is page 2 of a song, 
which shows that the first part of the song has three stanzas, placed in three 
lines of lyrics. The forth stanza follows as a single lyrics line.

I have already achieved this by using three \lyricsto, where the first one 
adds stanza 1, the second one adds stanza 2 and 4, and the third adds stanza 
3.

My problem now is in the last system, where the lyrics part in two lines. I 
was unable to figure out how to achieve in it the way this page shows it.

What is your suggestion, please?
-- 
Gruß | Greetings | Qapla'
What do you call a dead bee? - A was.
<>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OMET: Online Music Editing Tools feedback?

2010-06-20 Thread Frank Steinmetzger
Am Freitag, 30. April 2010 schrieb Mike Blackstock:
> If somebody could have a quick look at http://www.vex.net/~mikeb/omet
> and tell me what they think I'd appreciate it.
> [...]
> Thanks a lot. I think it works across all browsers, though someone
> reported problems with FF 3.6.3 on some version of Vista, and IE 6 has
> the png bug that I gave up on. Also Google Chrome doesn't properly
> handle the turning off of the cursor it seems, at least on my system.

My answer is a little late, but valid:
Konqueror 4 has problems with those vertical tabs at the sides, and the menus 
aren’t as nicely drawn as they (c|s)hould:
http://img409.imageshack.us/i/konq.png/

For some strange reason, with other user accounts than my own, it doesn’t even 
get past the blue loating picture.
-- 
Gruß | Greetings | Qapla'
I guess irony can be pretty ironic sometimes.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Grouped beams

2010-01-31 Thread Frank Steinmetzger
Am Montag, 1. Februar 2010 schrieb Carl Sorensen:

> > I'm already working with override-auto-beam-setting to have all those
> > groups of 8. 16 8 you can see in my screenshot automatically separated:
> >
> > #(override-auto-beam-setting '(end * * * 8) 3 8)
> > #(override-auto-beam-setting '(end * * * 8) 6 8)
> > #(override-auto-beam-setting '(end * * * 8) 9 8)
>
> A much easier way to accomplish this is just to
> \set beatGrouping = #'(3 3 3 3)
>
> This will automatically end beams at every 3/8 in the 12/8 measure.

Hm well, the piece (SATB) is practically made up entirely of such groups, also 
with different time signatures. I wanted to avoid having to check the entire 
piece again and again for side-effects if I use commands with too wide-spread 
effects in case I have measures that should not be grouped in this manner.

(My goal is always to minimise special cases that need extra manual tweaking.)

> To enable beam subdivision, just [...] See Notation Reference 1.2.4.

*ashamed* I actually looked there, but didn’t scroll the PDF down far enough.

> I don't know what you're trying to achieve.

I should have used a bigger image in my first post to make it more clear. I’ll 
make up for it now, showing the full line of both the original and my remake.

> But the second rule above is 
> already handled by the very first rule, which applies to all note durations
> in the 12/8 (or any X/8) time signature.

Yeah, I’ve noticed that after I sent the message. :o)
override-auto-beam-settings wasn’t the right thing anyway, so I deleted those.
It’s now perfect and exactly like the original. Thanks for the help.
-- 
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/ - EDOB
Nicht von Staat und Konzernen ausschnüffeln lassen, E-Mails verschlüsseln!
http://de.wikipedia.org/wiki/GNU_Privacy_Guard  http://hp.kairaven.de/pgp/

Er trifft den Nagel stets auf den Daumen.
<>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Grouped beams

2010-01-31 Thread Frank Steinmetzger
Am Sonntag, 31. Januar 2010 schrieb James Bailey:
> On 31.01.2010, at 19:23, Frank Steinmetzger wrote:
> > Hi group,
> >
> > I've got two questions concerning the attached measure (you see the
> > original and my attempt on reproducing it).

> I can't tell if there's a difference by your code, but it really
> helps to know which version you're using.

It’s 2.12.2.
-- 
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/ - EDOB
Nicht von Staat und Konzernen ausschnüffeln lassen, E-Mails verschlüsseln!
http://de.wikipedia.org/wiki/GNU_Privacy_Guard  http://hp.kairaven.de/pgp/

IBM - International Bubblegum Machines


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Grouped beams

2010-01-31 Thread Frank Steinmetzger
Hi group,

I've got two questions concerning the attached measure (you see the original 
and my attempt on reproducing it).
How can I achieve a similar "grouping" of beams? I.e. having one beam go 
through, and the rest grouped. And secondly, how can I get the \times mark on 
top of it?

I'm already working with override-auto-beam-setting to have all those groups 
of 8. 16 8 you can see in my screenshot automatically separated:

#(override-auto-beam-setting '(end * * * 8) 3 8)
#(override-auto-beam-setting '(end * * * 8) 6 8)
#(override-auto-beam-setting '(end * * * 8) 9 8)

But setting this for the 16th-notes either doesn't help or I'm doing it wrong:
#(override-auto-beam-setting '(end 1 16 12 8) 2 8)
#(override-auto-beam-setting '(end 1 16 12 8) 3 8)

Please help. :-)
-- 
Gruß | Greetings | Qapla'
I haven’t lost my mind; it's backed up on tape somewhere!
<><>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: One Line Column Markup

2010-01-18 Thread Frank Steinmetzger
Am Montag, 18. Januar 2010 schrieb Pato Press:
> Ok thats great!
> even if I dont know how to find that character!!
> eventualy I can copy paste :)

Here's your four: ⁴ ;-)
-- 
Gruß | Greetings | Qapla'
Kids in the back seat cause accidents. Accidents in the backseat cause kids.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Two different languages per verse

2009-12-20 Thread Frank Steinmetzger
Am Montag, 21. Dezember 2009 schrieb Athanasius Pelletier:
> I have a song of five verses and I want Latin on the top and English on the
> bottom for each verse.  How can I accomplish that?

Uhm... I guess by writing ten verses and adding them all to your voice:

verseOneLat=\lyricmode {\set stanza = "1. " Ro -- ma -- ni i -- te dom -- um.}
verseOneEng=\lyricmode {Ro -- mans __ go __ home. __}
verseTwoLat=\lyricmode {\set stanza = "2. " Tem -- pus fu -- git. }
verseTwoEng=\lyricmode { Car -- pe __ di -- em. __}
verseThreeLat=\lyricmode {Seize the day. __}
verseThreeEng=\lyricmode {...}
verseFourLat=\lyricmode {...}
verseFourEng=\lyricmode {...}
verseFiveLat=\lyricmode {...}
verseFiveEng=\lyricmode {...}

-
Staff
-
1. Ro -- ma-ni  i-te dom-um.
   Ro -- mans _ go _ home. _
2. Car - pe ___ di - em. ___
   Seize theday. ___
-- 
Gruß | Greetings | Qapla'
WinErr 020: Error recording error codes - Additional errors will be lost.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: simple editor for windows

2009-12-17 Thread Frank Steinmetzger
Am Mittwoch, 16. Dezember 2009 schrieb Henning Hraban Ramm:
> 2009/12/16 Stefan Thomas :
> > I'm searching for a simple text-editor for windows. It is for the
> > computer in my music-school.
> > It is an old machine and lilypondtool, because it requires java, doesn't
> > work on it.
>
> On my WinXP installation in a VM I use Notepad++, it's fast enough and
> a good programming editor.
> But AFAIK there's no syntax highlighting setup for LilyPond yet.
> (Here's an old one:
> http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00491.html)
>
> I guess your Notepad problem is due to Unix line endings. AFAIK
> Notepad still can't cope with UTF-8 (and you'll need that encoding for
> umlauts etc.)

Notepad can deal with UTF-8, also in XP, but it has the (bad?) habit of adding 
a BOM at the beginning, which confuses every other software that is not a 
text editor. Also, I believe to remember that it produces utf16 (always two 
bytes per character).

Anyway, my recommendation would be Notepad++ as well.
-- 
Gruß | Greetings | Qapla'
The number you dialed is imaginary.
Please rotate your phone by 90 degrees and try again.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: repeated music

2009-11-23 Thread Frank Steinmetzger
Am Dienstag, 24. November 2009 schrieb Francesco Petrogalli:

> Hello,
>
> is there a simple way to make a function that generate a repetead
> pattern having just a note as input? I'm writing a Brahms' piano
> score, and the left hand is doing the same rhythm, just changing the
> notes:
>
>  %bar 1
>   <<
> {f8( f'4 f8)} \\
> {f,2}
>
> %bar 2
>   <<
> {g8( g'4 g8)} \\
> {g,2}
>
> %bar 3
>   <<
> {c8( c'4 c8)} \\
> {c,2}

You could try something like

basis=\relative c { <<
{ f8( f'4 f8) } \\
{ f,2 }
>> }


\basis
\transpose c d { \basis }
\transpose c e { \basis }

A more complex, yet more funcion-like approach would be to write a function 
(scheme?) that takes a note as input and prints out the apropriate notes. But 
this is the easiest way _I_ can think of.
-- 
Gruß | Greetings | Qapla'
Keyboard not connected, press F1 to continue.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: variables

2009-11-23 Thread Frank Steinmetzger
Am Montag, 23. November 2009 schrieb Hugh Myers:
> Given:
>
> eMinor = < e   b  gis  e b e, >
>
> I'd like to be able to do something like \eMinor' since I'm working in
> relative mode. Is this possible. Same thing for chord length, i.e.
> \eMinor2. etc.

AFAIK:

eMinor=\relative c { < e b gis e b e, > }

And then use \eMinor to "paste" it into your score.
-- 
Gruß | Greetings | Qapla'
This sentence no verb.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: change lyric placement depending with \RemoveEmptyStaffContext

2009-11-08 Thread Frank Steinmetzger
Am Sonntag, 8. November 2009 schrieb Peter Keller:
> I'm have a vocal score which uses bass clef almost exclusively during
> the verses.  I'd like to keep the lyrics below the staff when the treble
> clef is hidden, and between staves (above bass clef) when it appears.
> Any suggestions for how to do this?

Adjust your lyrics so that the bass lyrics have no content when both staves 
are visible and vice versa. An easy way to skip a certain number of notes in 
lyrics is by using the underscore.
-- 
Gruß | Greetings | Qapla'
IBM - International Bubblegum Machines


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mailing list strangeness

2009-10-29 Thread Frank Steinmetzger
Am Donnerstag, 29. Oktober 2009 schrieb Chris Angelico:
> On Fri, Oct 30, 2009 at 7:57 AM, Frank Steinmetzger  wrote:
> > Hi,
> >
> > not Lilypond-specific, but about the mechanisms of the mailing list:
> >
> > During the last days I asked two questions on the list, and both Kieren
> > and Neil wrote their answers with To:my address and a copy (CC) to the
> > list. The same goes for answers they write to each other in the ongoing
> > thread.
>
> The listserver is set up to be smart; if it notices that you've been
> cc'd into the list, it won't send you another copy. If that's a
> problem for you, go to the config page, as mentioned in your welcome
> email - it should be this, I believe:

Gee, thanks. As a (going) to be computer scientist, I (c|sh)ould have come to 
that idea myself. ;-) I have made the change.
-- 
Gruß | Greetings | Qapla'
Ladies fist, James Last.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Mailing list strangeness

2009-10-29 Thread Frank Steinmetzger
Hi,

not Lilypond-specific, but about the mechanisms of the mailing list:

During the last days I asked two questions on the list, and both Kieren and 
Neil wrote their answers with To:my address and a copy (CC) to the list. The 
same goes for answers they write to each other in the ongoing thread.

Shouldn't I get two messages then; the one for me and the one that goes to the 
list and hence to all subscribers? For the latter I set up a filter that 
moves all lilypond mails into an own folder.

I was wondering now where in the chain of communication the second message 
gets "lost". Though this is subject to personal opinion, the way I see it is 
that their mail app handles the thing wrong. When I answer to a message, 
KMail simply puts the mailing list in From:. Selecting "Answer to all" puts 
the recipients the other way around - To:mailing list and CC: author of the 
message.
-- 
Gruß | Greetings | Qapla'
Press any key to continue, or any other key to quit.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: website so close, and yet so far

2009-10-29 Thread Frank Steinmetzger
Am Donnerstag, 29. Oktober 2009 schrieb Valentin Villenave:
> On Tue, Oct 27, 2009 at 12:01 PM, Federico Bruni  wrote:
>  I have to admit I'm pretty disappointed with the user community.
>
> Wow, is this normal:
>
> http://lilypond.org/doc/v2.13/Documentation/
>
> This link points to the non-officially-published website's homepage???

I just look on it and would like to mention that the site has some problems 
with Konqueror 3:
The content from the heading ("Documentation for Lilypond 2.13.6") to above of 
the footer is embedded in a scrolling area. (see attached screen shot).

The documentation browser is odd. ;-)
I can't use the scroll wheel function in there and if I search for a word in 
the text, it gets highlighted but not scrolled to automatically. Something 
tells me these are not ordinary framesets.

Granted, Konqueror 3 is sadly reaching the end of its life and one could just 
ignore the tiny fraction of ppl still using it. But still, my observations 
could hint to some bigger problems within the code.
-- 
Gruß | Greetings | Qapla'
Q: What’s the proper plural of a "Net-connected Windows machine"?
A: A Botnet.
<>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics and repeats

2009-10-29 Thread Frank Steinmetzger
Am Donnerstag, 29. Oktober 2009 schrieb Kris Van Bruwaene:

> - how to get the (final) lyrics repeated there?

You can also use volta repeats in lyricmode.

> - how to get the slurs extended into it?

I'v wondered about that myself. I have a piece that has a slur/tie into the 
alternatives, so the first note in bracket "2" should have a leading ~.

> - how to delete it from the midi output (or get the repeat working in
> midi)?

You create two \score-sections – one with a \layout section for PDF output, 
one with a \midi section for MIDI output. Add \unfoldRepeats to the MIDI 
score.

> and how to print the piece of text that is identical in both repeats 
> only once.

Hm? In my understanding, the text – even if it is identical for both 
alternatives – should be written under the notes.
-- 
Gruß | Greetings | Qapla'
LCARS - Linux Can Also Run Starships


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Punctuation marks after underscore in lyrics

2009-10-25 Thread Frank Steinmetzger
Hi,

again a question about my Distler piece. Thanks to Neil I'm almost finished, 
but there's one thing left. In many pieces I see lyrics that have melismata 
at the end of a (half) sentence, so their text ends with __. And then the 
punctiation mark like comma, exclamation and question marks are set behind 
the underscore. What is the most elegant approach to achieve this at ponding?

TIA
-- 
Gruß | Greetings | Qapla'
Emacs is a great operating system, which only lacks a good editor.
<>

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bar number after line break with time signature change

2009-10-25 Thread Frank Steinmetzger
Am Sonntag, 25. Oktober 2009 schrieb Neil Puttock:

> 2009/10/23 Frank Steinmetzger :
> > Hi there,
> >
> > I've entered a Distler piece with lots of different time signatures. Now
> > that I'm finished and doublechecked with the original, I was about to
> > commit it to my choir, when I noticed that there were no visible bar
> > numbers.
>
> I'm guessing you've moved the Timing_translator to the Staff context
> so you can have independent time signatures.

Indeed.

> If so, you won't get any bar numbers unless you also move the
> Bar_number_engraver, since it can't see the context properties which the
> Timing_translator maintains (e.g., currentBarNumber and measurePosition).

Sounds logical. Thanks for the help. For the archive I quote the full code:

\score {
  \relative c' <<
    \new Staff \with { \consists "Bar_number_engraver" } {
      c4 d e f \break
      g4 a b c
    }
    \new Staff {
      \time 3/4
      c,4 d e4
      f4 \bar "" g a
      \time 2/4
      b4 c
    }
  >>
  \layout {
    \context {
      \Score
      \remove "Timing_translator"
      \remove "Default_bar_line_engraver"
      \remove "Bar_number_engraver"
    }
    \context {
      \Staff
      \consists "Timing_translator"
      \consists "Default_bar_line_engraver"
    }
  }
}

I believe it should be prudent to add this information to the snippet, because 
everyone who finds and uses it will run into this (unless (s)he knows it 
already).
-- 
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/ - EDOB
Nicht von Staat und Konzernen ausschnüffeln lassen, E-Mails verschlüsseln!
http://de.wikipedia.org/wiki/GNU_Privacy_Guard  http://hp.kairaven.de/pgp/

Es ist ein hartes Los, eine Niete zu sein.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Bar number after line break with time signature change

2009-10-23 Thread Frank Steinmetzger
Hi there,

I've entered a Distler piece with lots of different time signatures. Now that 
I'm finished and doublechecked with the original, I was about to commit it to 
my choir, when I noticed that there were no visible bar numbers.

At both line breaks I have signature changes in two or three of the four 
staves, so now my piece has no bar numbers at all. I've looked at the 
snippets repo and tried "bar number every five measures"¹ and "bar number 
show all"².

The former resulted in:
Interpreting music... /usr/share/lilypond/2.12.2/scm/output-lib.scm:201:84: In 
procedure modulo in expression (modulo bn n):
/usr/share/lilypond/2.12.2/scm/output-lib.scm:201:84: Wrong type argument in 
position 1: ()

the latter in no errors, but no bar numbers either.

Any ideas?

¹ http://lilypond.org/doc/v2.10/input/test/lily-f627625125.ly
² http://lilypond.org/doc/v2.10/input/test/lily-72669b7cc8.ly
-- 
Gruß | Greetings | Qapla'
UNIX is not user-unfriendly.
It just expects the user to be a little more computer-friendly.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: new website, nothing happening

2009-10-13 Thread Frank Steinmetzger
Am Dienstag, 13. Oktober 2009 schrieb James E. Bailey:
> On 13.10.2009, at 01:16, Graham Percival wrote:
> > What about having some screenshots of easy-to-use editors?
>
> I'm almost finished with my instruction for using nano. I just helped
> someone on the german list get that set up, and I figured I'd write
> instructions. What I have so far is here. http://sites.google.com/
> site/nanoforlilypond/

Images such as screenshots of text should not be saved as JPEG, but rather 
either GIF or preferably PNG. They'll look much better and be even smaller.
-- 
Gruß | Greetings | Qapla'
What is this that roareth thus? Can it be a motor bus?


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


MIDI Export: How to not put lyrics in own channel?

2009-09-09 Thread Frank Steinmetzger
Hi

Whenever I export a song with lyrics to MIDI, the lyrics are put into own MIDI 
channels, so I have to open the file in Rosegarden and cut’n’paste them back 
to their respective melody. Is there a way to accomplish this automatically?
-- 
Gruß | Greetings | Qapla'
LOL, you said ROFL.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: website draft 9

2009-09-07 Thread Frank Steinmetzger
Am Montag, 7. September 2009 schrieb Patrick Schmidt:
> Hi all,
>
> I proudly present draft 9 of the new website.
>
> http://lilypond.org/~graham/out/
>
> Please comment.

I'm sorry to report that you overdid the javascripting. Opening an image in 
Konqueror from its thumbnail doesn't work - the frame pops up and closes 
again immediately.
For example the postcard near the bottom of 
http://news.lilynet.net/The-LilyPond-Report-16?lang=en
-- 
Gruß | Greetings | Qapla'
This is not a signature.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Occasional lyrics

2009-09-06 Thread Frank Steinmetzger
Am Sonntag, 6. September 2009 schrieb Mark Engelberg:

> Right now, the way I'm dealing with this is to set up my ChoirStaff to have
> four lyrics lines throughout the song, above and below each staff.  Then, I
> add a "\skip 1" for every note for which no lyrics should be printed.

you could use _ to skip one syllable worth of notes in your lyrics (i.e. one _ 
for a melisma as well). That's easer to write, to read and to count.
-- 
Gruß | Greetings | Qapla'
Press any key to continue, or any other key to quit.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Disconnected and oddly placed stems

2009-09-05 Thread Frank Steinmetzger
Am Samstag, 5. September 2009 schrieb Dan Florio:

> I've attached the pdf of that specific part.  Notice how the stems in
> the fourth measure are disconnected and opposite.  Anyone know why this
> is happening, and how I can fix it?

Well, I don't know why, but how to avoid it: you can use multiple voices. One 
of them gets \voiceOne, so the stems go up no matter what pitch, the other 
gets \voiceTwo, thus making the stems go down.
-- 
Gruß | Greetings | Qapla'
Beamy, Scot me up!


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Speed

2009-09-03 Thread Frank Steinmetzger
Am Donnerstag, 3. September 2009 schrieb Tim Reeves:

> Mainly for my own curiosity, I compiled the Reubke Sonata score to check
> timing:
> WinXP SP3 32-bit, LP 2.13.3, LPT 2.12.869, on Intel C2D E9600 (2.8GHz), 2
> GB RAM
>
> 5 min 38 seconds.
>
> A bit slower than the Linux times others got.

W00t, I got only
real5m47.699s
user5m32.306s
sys 0m11.697s
on my linux system (C2D @ 2 GHz), but I'm still on 2.12.1, which gave me some 
error messages, though the PDF was created. Perhaps 2.13 is a little 
faster(?)
-- 
Gruß | Greetings | Qapla'
The first time you’ll get a Microsoft product that doesn’t suck
will be the day they start producing vacuum cleaners.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Speed

2009-09-03 Thread Frank Steinmetzger
Am Donnerstag, 3. September 2009 schrieb Bertalan Fodor (LilyPondTool):
> Please don't start this discussion :)

Then how about a discussion about top posting? ;-) ;-) *duckandhide*
-- 
Gruß | Greetings | Qapla'
What do you call a dead bee? - A was.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: One big parenthesis around a note _and_ its accidental

2009-08-31 Thread Frank Steinmetzger
Am Montag, 31. August 2009 schrieb Jethro Van Thuyne:

> Hi Frank,
>
> This does the trick in a bit unorthodox way:
>
>   \relative c'' {
>   \override TextScript #'extra-offset = #'(-2.2 . 1.9)
> a b c d |
> 1_\markup { \small "(   )" }
>   }
>
> But there will probably be a better way, without the offset fiddling and
> using the space bar...

Well, but it does the trick fair enough. Thanks. :-)
-- 
Gruß | Greetings | Qapla'
I wish my lawn was emo, so it would cut itself.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


One big parenthesis around a note _and_ its accidental

2009-08-31 Thread Frank Steinmetzger
Hi again

I was setting another piece yesterday and this had, as final note,
1

The fis in this chord is in parenthesis (basically) like this:

-
   O
---/-\---
   | # O |
---\-/---

However, lilypond gives me this:
-
   O
-
# (O)
-

The parenthesis are hardly visible, because they are half occluded by the 
accidental and because they are so small. Is there a way to achieve the style 
of my template's look?
-- 
Gruß | Greetings | Qapla'
Crayons can take you more places than starships. (Guinan)


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change distance between piano staves for one system only

2009-08-29 Thread Frank Steinmetzger
Am Samstag, 29. August 2009 schrieb Frederick Dennis:
> Dear All,
> \version "2.12.2"
> I'm typesetting a 6-stave piece, SATB and piano.
> Is there any way of altering the distance between the
> piano staves, just for one system. Also, is there any
> way to put more distance between the top piano
> stave and the bass singers' stave? I have checked
> out the documentation and not found anything that
> worked.
> Fred.

If that position is fixed to a note, but not to the system (like for example 
3rd system on 2nd page), I would first try inserting spacing by markups. That 
would appear as the easiest way.
-- 
Gruß | Greetings | Qapla'
This is not a signature.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Have a title page, but also default headers on first score page

2009-08-29 Thread Frank Steinmetzger
Am Samstag, 29. August 2009 schrob Nicolas Sceaux:

> You (Frank) have to change the footer markups. Have a look
> at oddFooterMarkup in ly/titling-init.ly: change the `first-page'
> predicate call to a (to be written) `second-page'.

Actually, I tried that out of the blue, hoping this keyword would exist. But 
it gave me an error message.

> \paper {
> %% this is `first-page' from ly/titling-init.ly slightly modified
> %% (see the "1+")
> #(define (second-page layout props arg)
>   (define (ancestor layout)
> "Return the topmost layout ancestor"
> (let ((parent (ly:output-def-parent layout)))
>(if (not (ly:output-def? parent))
>layout
>(ancestor parent
>  (if (= (chain-assoc-get 'page:page-number props -1)
> (1+ (ly:output-def-lookup (ancestor layout) 'first-
> page-number)))
>   (interpret-markup layout props arg)
>   empty-stencil))

Ah ok, you're defining second-page yourself. In Ironically, I'm now in dispute 
with myself about which is better - copyright on first or on second page. :-D
-- 
Gruß | Greetings | Qapla'
begin signature_virus
  Hi! I’m a signature virus.
  Please copy me to your signature to help me spread.
end


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Speed

2009-08-28 Thread Frank Steinmetzger
Am Freitag, 28. August 2009 schrieb Jonathan Wilkes:
> It sounds like there is a wide discrepancy depending on machine/os/etc.
>
> Does anyone have any insight into how I could decrease this time on my
> winxp machine?

Half way through reading that sentence I wanted to say "install Linux". *d&h*
-- 
Gruß | Greetings | Qapla'
LOL, you said ROFL.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond Speed

2009-08-28 Thread Frank Steinmetzger
Am Freitag, 28. August 2009 schrieb Jonathan Wilkes:
> Hello,
>  I'm curious how long it takes for other people to run lilypond on the
> following simple score:
>
> \relative c' {
>   c4 d e fis
> }
>
> I'm on winxp sp3, pentium 1.7Ghz with 512mb ram and it consistently takes
> 7 seconds to complete, whether I do it on the command line or in
> LilypondTool.

Core2Duo T7200 at 1GHz:

Creating a PS:
real0m1.502s
user0m1.418s
sys 0m0.073s

Creating a PDF:
real0m1.808s
user0m1.644s
sys 0m0.138s

And at 2GHz:

Creating a PS:
real0m0.810s
user0m0.763s
sys 0m0.040s

Creating a PDF:
real0m0.973s
user0m0.879s
sys 0m0.083s

(all values +/- 20ms)

Have you tried right after booting into Windows? It is known to have a faible 
for swapping here and there even if the RAM isn't filled up yet.
-- 
Gruß | Greetings | Qapla'
Windows: reboot. Linux: be root.


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 81, Issue 124

2009-08-28 Thread Frank Steinmetzger
Am Freitag, 28. August 2009 schrieb Frederick Dennis:
> > I'm creating scores for my choir and because some of us use duplex
> > printers,
>
> they would like an empty page at the beginning. So I thought "Why not have
> a
>
> > nice title page there?", But because the majority does not use duplex
> > printers, I want the default title still visible. (Also because I
> > couldn't
>
> I have encountered this problem.
>
> > . So now I have
> > a title page and, on the following page, the default header with title
> > and composer.
>
> Excellent. Could you possibly post an example, please?

Include the snipped I mentioned¹ and then edit it. Replace

,
| scoreTitleMarkup = \markup \null
`

with

scoreTitleMarkup = \markup { \column {
\defaultBookTitleMarkup
%  \on-the-fly #print-all-headers { \defaultBookTitleMarkup \hspace #1 }
  \fill-line {
\fromproperty #'header:piece
\fromproperty #'header:opus
  }
} } }

For some reason that on-the-fly doesn't trigger, I don't know enough about the 
mechanics behind it to explain this. Which is why it doesn't work to just 
delete the \markup \null part, which I would expect to bring back the default 
setting (this formatting actually _is_ the default setting, with an addition 
to make it work again).

And finally, insert the formatting for defaultBookTitleMarkup:

defaultBookTitleMarkup = \markup {
  \override #'(baseline-skip . 3.5)
  \column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
  \huge \larger \bold
  \fill-line {
\larger \fromproperty #'header:title
  }
  \fill-line {
\large \smaller \bold
\larger \fromproperty #'header:subtitle
  }
  \fill-line {
\smaller \bold
\fromproperty #'header:subsubtitle
  }
  \fill-line {
\fromproperty #'header:poet
{ \large \bold \fromproperty #'header:instrument }
\fromproperty #'header:composer
  }
  \fill-line {
\fromproperty #'header:meter
\fromproperty #'header:arranger
  }
}
  }
}


¹ http://lsr.dsi.unimi.it/LSR/Item?id=368

PS.: Posting in HTML format brings chaos to quoting levels and readability.
-- 
Gruß | Greetings | Qapla'
Crayons can take you more places than starships. (Guinan)


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Have a title page, but also default headers on first score page

2009-08-27 Thread Frank Steinmetzger
Hello list,

I'm creating scores for my choir and because some of us use duplex printers, 
they would like an empty page at the beginning. So I thought "Why not have a 
nice title page there?", But because the majority does not use duplex 
printers, I want the default title still visible. (Also because I couldn't 
find out how to insert a blank page with lilypond only without heavy research 
into how to get the headers onto page 2.)

after some searching I found a snippet¹ which creates a suitable title page. 
But then of course the default header on the score's first page were gone.
So I have had a look at the code and found
scoreTitleMarkup = \markup \null

I played with it, found out where defaults were defined (titling-init.ly) and 
copied them from there to my snippet, which gave me what I needed. (though I 
deleted the on-the-fly part, because it gave me a Guile error). So now I have 
a title page and, on the following page, the default header with title and 
composer.


But there is one last thing:
How can I get the copyright notice on the second page instead of the first?


Again, I looked at titling-init.ly, and found oddFooterMarkup=...
So I also copied it to my document and exchanged odd and even headers, so the 
copyright would appear on page 2 of the PDF. But I only found things like 
#not-last-page, #first-page, etc, but not how to check for a certain number.

On the other hand, because I don't fancy editing default code and keeping that 
around for later, I would perfer an alternative which would let me use said 
snippet for the title page, and then have lilypond deal with the following 
code as if it would be starting a new document. (As if using two different 
books, but get them into one file).



footnoty stuff:
¹ http://lsr.dsi.unimi.it/LSR/Item?id=368
-- 
Gruß | Greetings | Qapla'
IBM - International Bubblegum Machines


signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user