Re: Shortened line containing second time repeat volta has problems

2014-12-05 Thread Pierre Perol-Schneider
Hi John,

2014-12-04 15:13 GMT+01:00 John McWilliam jsmcwill...@gmail.com:


 1. The repeat sign at the beginning of the second part is coded but does
 not
 appear.


Because of : \once \hide Score.BarLine


 2. If you have time could you explain your corrections to my code. I
 understand the allow-volta-hook
 but why did the barline at the end of line two appear and have to be
 hidden.


 It is just an option. It does not have to be there.

  Lastly, why did the
 repeat sign at the beginning of line three disappear.


Same as point 1.

See attached files,
Cheers,
Pierre
\version 2.18.0

#(allow-volta-hook ||)

\score {
  \new Staff {
\time 3/4   %adjust time to suit specific tunes
\bar .|:

% Part 1
\set Score.repeatCommands = #'(start-repeat)
\repeat unfold 4 { a4 a a }
\set Score.repeatCommands = #'((volta 1))
\repeat unfold 4 { a4 a a }
\break
\set Score.repeatCommands = #'((volta #f) (volta 2. --1,2) end-repeat)
\repeat unfold 4 { a4 a a }
\bar ||
\set Score.repeatCommands = #'((volta #f)) 

%% instead of \once \hide Score.BarLine :
\override Score.BarLine.break-visibility = #end-of-line-invisible
\stopStaff

% Increasing the unfold counter will expand the staff-free space
\repeat unfold 6 { s4 s4 s4 }
\break
\startStaff  % Resume bar count and show staff lines again
% Part 2
\set Score.repeatCommands = #'(start-repeat)
\repeat unfold 4 { a4 a a }
\revert Score.BarLine.break-visibility
\set Score.repeatCommands = #'((volta 1))
\repeat unfold 4 {a4 a a }
\set Score.repeatCommands = #'((volta #f) end-repeat)
  }%end staff
}%end score___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: setting text span to breakable?

2014-12-05 Thread Pierre Perol-Schneider
Hi Jaime,

2014-12-05 5:21 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:


 Is there a way to write the texts at the beginning and end of the line and
 not at the breaking points? In other words, to have the text only at the
 leftmost and rightmost bounds?


Simply add in the layout :

\override TextSpanner.bound-details.right-broken.text = ##f
\override TextSpanner.bound-details.left-broken.text = ##f


Cheers,

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


Re: implicit tuplets

2014-12-05 Thread Noeck
or triplets that do not show the number:

\version 2.18.2
{
  \omit TupletNumber
  \omit TupletBracket
  \tuplet 3/2 8 { c16 d e c d e c d e c d e }
}

The two \omit statements can be placed later in the music (e.g. after the first 
three notes) to
indicate that these are triplets but not to repeat the '3' all the time.

Joram

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


Re: setting text span to breakable?

2014-12-05 Thread Jaime E Oliver
Thanks! This works fine. 
I wonder where is the documentation for these overrides so I can at least try 
to find a experiment before writing the list…
best,
J


On Dec 5, 2014, at 4:30 AM, Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com wrote:

 Hi Jaime,
 
 2014-12-05 5:21 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:
  
 Is there a way to write the texts at the beginning and end of the line and 
 not at the breaking points? In other words, to have the text only at the 
 leftmost and rightmost bounds?
  
 Simply add in the layout :
 
 \override TextSpanner.bound-details.right-broken.text = ##f
 \override TextSpanner.bound-details.left-broken.text = ##f
 
 Cheers,
 Piere
 

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


Re: setting text span to breakable?

2014-12-05 Thread Pierre Perol-Schneider
See : http://www.lilypond.org/doc/v2.18/Documentation/internals/textspanner

2014-12-05 14:19 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:

 Thanks! This works fine.
 I wonder where is the documentation for these overrides so I can at least
 try to find a experiment before writing the list…
 best,
 J


 On Dec 5, 2014, at 4:30 AM, Pierre Perol-Schneider 
 pierre.schneider.pa...@gmail.com wrote:

 Hi Jaime,

 2014-12-05 5:21 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:


 Is there a way to write the texts at the beginning and end of the line
 and not at the breaking points? In other words, to have the text only at
 the leftmost and rightmost bounds?


 Simply add in the layout :

 \override TextSpanner.bound-details.right-broken.text = ##f
 \override TextSpanner.bound-details.left-broken.text = ##f

 Cheers,
 Piere



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


Re: Shortened line containing second time repeat volta has problems

2014-12-05 Thread John McWilliam
Thanks Pierre for solving my problem and for your background information. I
think we can close this issue now.
 




-
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Shortened-line-containing-second-time-repeat-volta-has-problems-tp169174p169220.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Including a logo on the title page of a book

2014-12-05 Thread John McWilliam
Inclusion of logo problem.
Suggestion was to move the \markup command to the end of the Header object.
This resulted in: unexpected \markup error.




-
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Including-a-logo-on-the-title-page-of-a-book-tp169194p169221.html
Sent from the User mailing list archive at Nabble.com.

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


Re: size of pdf files

2014-12-05 Thread Knut Petersen

On 05.12.2014 00:25, Werner LEMBERG wrote:

How can I force lilypond to include the full emmentaler-design-size
font instead of only a subset?

LilyPond itself only produces PS files, *always* embedding complete
fonts, AFAIK.  Thus ghostscript's `-dSubsetFonts=false' option should
work for Emmentaler also.  Have you actually checked that by looking
into the various snippet PDF files produced by lilypond?


Yes, I verified that the Emmentaler-* fonts in lilypond pdfs are only subsets.
Thanks for pointing out that the postscript files contain the full fonts.

I compiled the attached lualatex document, it contains four short lilypond 
snippets
that are written to tmp files and compiled by lilypond (I used v2.18.2) on the 
fly. (You´ll
have to change the definition in line 22 to contain the correct path to your 
lilypond
executable if you try to luatex the file)

  lualatex --shell-escape lilyinluatex
  gs -dNOPAUSE -q -dBATCH -sOutputFile=tmp.pdf -sDEVICE=pdfwrite 
lilyinluatex.pdf

After that dir showed:

  -rw-rw-rw- 1 knut users  171192  5. Dez 14:58 lilyinluatex.pdf
  -rw-r--r-- 1 knut users  154502  5. Dez 14:58 tmp.pdf

Only a minor reduction of the file size.

Now I thought a bit and added -dSubsetFonts=false to the gs parameter list in
backend-library.scm. I also changed lilyponddefs.ps to include white-on-white 
print
commands for all the emmentaler glyphs used in the four examples (hint: grep, 
sed,
sort  uniq make it easy to get a list of glyphs from ps files):

/set-ps-scale-to-lily-scale {
lily-output-units output-scale mul dup scale
gsave
1 setgray
0 0 moveto magfontemmentaler-18mPYo /clefs.G glyphshow
0 0 moveto magfontemmentaler-18mPYo /timesig.C44 glyphshow
0 0 moveto magfontemmentaler-18mPYo /noteheads.s1 glyphshow
0 0 moveto magfontemmentaler-18mPYo /noteheads.s2 glyphshow
0 0 moveto magfontemmentaler-18mPYo /flags.u3 glyphshow
0 0 moveto magfontemmentaler-18mPYo /dots.dot glyphshow
0 0 moveto magfontemmentaler-18mPYo /accidentals.sharp glyphshow
0 0 moveto magfontemmentaler-18mPYo /six glyphshow
0 0 moveto magfontemmentaler-18mPYo /eight glyphshow
0 0 moveto magfontemmentaler-18mPYo /accidentals.flat glyphshow
grestore
} bind def

I executed

  lualatex --shell-escape lilyinluatex
  gs -dNOPAUSE -q -dBATCH -sOutputFile=tmp.pdf -sDEVICE=pdfwrite lilyinluatex.pd

and had a look at the directory:

  -rw-rw-rw- 1 knut users  290232  5. Dez 15:08 lilyinluatex.pdf
  -rw-r--r-- 1 knut users   61247  5. Dez 15:08 tmp.pdf

Ok. A file size reduction to about 36% of the original is a promising  result.

I think it would be a good idea to have some kind of interface to define
a set of emmentaler glyphs to be included in the pdfs and to allow
to activate the -dSubsetFonts=false setting in ghostscript.

There's some more room for improvements - as you can see, the example code
does not contain anything that should pull in the Schoolbook Roman font, but in 
the
postscript file I see

%%Page: 1 1
%%BeginPageSetup
%%EndPageSetup

gsave 0 paper-height translate set-ps-scale-to-lily-scale
0. 0. moveto /CenturySchL-Roma 3.28515625 output-scale div selectfont
0.6025 0. 0. /space
1 print_glyphs

 
Why does lilypond think it is a good idea to print a space at origin using an otherwise

unused font?


Currently I have no idea how to tell luatex and lilypond to use the Computer 
Modern
fonts in a way that allows ghostscript to eliminate one of the two remaining 
subsets.


The file notation.pdf of 2.18.2 contains more than 3400 font
subsets, more than 2000 are subsets of emmentaler-*.otf.  Most of
those could be eliminated, saving serval MB of filesize.

The question is whether pdftex is capable to do that – this program
processes the texinfo documentation, loads all the snippet PDF files,
ten doing the subsetting, and I guess it is not able to optimize this
on a global, document-wide level.


Not pdftex, ghostscript would be capable of doing that ...


May it works to disable subsetting in pdftex, cf.

   
http://tex.stackexchange.com/questions/24002/turning-off-font-subsetting-in-pdftex


Interesting link, but the problem are the pdfs generated by lilypond via gs. I 
switched from
pdftex to luatex as it allows to use non-latin characters in csnames.


Then a call to gs for PDF-PDF processing might produce smaller output
files (or maybe there exist special tools to do that).


I don't see a better tool than ghostscript, at least nothing free and open 
source.

cu,

 Knut
\NeedsTeXFormat{LaTeX2e}
\documentclass[10pt]{letter}
\usepackage{geometry}
\geometry{a4paper,noheadfoot,nomarginpar,left=1.5cm,right=1.5cm,top=1.5cm,bottom=1.5cm}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=old]{german}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
\usepackage{graphicx}

\def\tmpNameFull{tmplily.ly}   \newwrite\tmpFileFull

Re: Including a logo on the title page of a book

2014-12-05 Thread Matthias Böhringer

Am 05.12.2014 um 16:05 schrieb John McWilliam:

Inclusion of logo problem.
Suggestion was to move the \markup command to the end of the Header object.
This resulted in: unexpected \markup error.




-
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Including-a-logo-on-the-title-page-of-a-book-tp169194p169221.html
Sent from the User mailing list archive at Nabble.com.

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


Hallo list,

I can get it to work, if

1) the eps file is in a place where lily can find it

2) the eps fiel has a proper Bounding Box (I let ghostview calculate that!)

3) I used the poet for the logo file

Short extract from my .ly: (just the header definition)


\header {
  title = Title
  composer = Composer
  arranger = Arranger
  tagline = \markup {
Version
\simple #(strftime %d. %B %Y, %X, (localtime (current-time)))
LilyPond \simple #(lilypond-version)
  }
poet =  \markup { \epsfile #0 #20 #Logo_LNPB_gv.eps }
}

Hope this helps,

Matthias
--
Matthias Böhringer
Brunnenstraße 6
72296 Schopfloch-Unteriflingen

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


Re: Including a logo on the title page of a book

2014-12-05 Thread Markus Baertschi
I've included a logo in the footer (tagline). I would have liked to
add it to the top-left of each page, but did not find a simple way
to do that without everything getting shifted around.

On Fri, Dec 5, 2014 at 4:33 PM, Matthias Böhringer
matthiasboehrin...@t-online.de wrote:
 Hallo list,

 I can get it to work, if
 1) the eps file is in a place where lily can find it
 2) the eps fiel has a proper Bounding Box (I let ghostview calculate that!)
 3) I used the poet for the logo file

 Short extract from my .ly: (just the header definition)


 \header {
   title = Title
   composer = Composer
   arranger = Arranger
   tagline = \markup {
 Version
 \simple #(strftime %d. %B %Y, %X, (localtime (current-time)))
 LilyPond \simple #(lilypond-version)
   }
 poet =  \markup { \epsfile #0 #20 #Logo_LNPB_gv.eps }
 }

tagline = \markup {
  \epsfile #X #5 #Logo-concorde.eps
  \hspace #3
  \raise #1.6 {
 La Concorde Etoy - Préparé par Markus le
 \simple #(strftime %d.%m.%Y (localtime (current-time)))
   }
}



-- 
Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland
mar...@markus.org, +41 (79) 403 1186 (mobile)

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


RE: implicit tuplets

2014-12-05 Thread Mark Stephen Mrotek
In my cheat sheet is:

\set tupletSpannerDuration = #(ly:make-moment 1 4)
\times 2/3 { p1 p2 p3 p4 p5 p6 . }

A search of the manual did not bring up anything.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Urs
Liska
Sent: Thursday, December 04, 2014 10:04 PM
To: MarcM; lilypond-user@gnu.org
Subject: Re: implicit tuplets



Am 5. Dezember 2014 04:31:54 MEZ, schrieb MarcM m...@mouries.net:

I am typesetting the Bee by Schubert (*) with a time signature of 2/4 
and all notes are 1/16 and grouped implicitly in triplets.

is there a way to specify at the beginning of the score that notes are 
to be grouped in triplets of 1/16 and avoid having to type  \tuplet 3/2 
{c8
c8 c8}.


Yes. Just enclose the whole triplets music in a \tuplet expression.
A first argument of 8 will tell LilyPond to group the triplets in groups of
an eighth note's length.

HTH
Urs

many times?


(*)
http://conquest.imslp.info/files/imglnks/usimg/d/db/IMSLP215195-SIBLEY1
802.16784.ebd6-39087011178730violin.pdf






--
View this message in context:
http://lilypond.1069038.n5.nabble.com/implicit-tuplets-tp169206.html
Sent from the User mailing list archive at Nabble.com.

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


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


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


Re: Including a logo on the title page of a book

2014-12-05 Thread Francisco Vila
2014-12-05 16:48 GMT+01:00 Markus Baertschi mar...@markus.org:
 I've included a logo in the footer (tagline). I would have liked to
 add it to the top-left of each page, but did not find a simple way
 to do that without everything getting shifted around.

Did you try a toplevel markup before the actual score?

\markup {the logo}

\score {
{ c' }
}


-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: implicit tuplets

2014-12-05 Thread Noeck
Yes, but there is the more recent \tuplet command:
http://lilypond.org/doc/v2.18/Documentation/notation/writing-rhythms

Am 05.12.2014 um 16:49 schrieb Mark Stephen Mrotek:
 In my cheat sheet is:
 
 \set tupletSpannerDuration = #(ly:make-moment 1 4)
 \times 2/3 { p1 p2 p3 p4 p5 p6 . }
 
 A search of the manual did not bring up anything.
 
 Mark

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


Re: Including a logo on the title page of a book

2014-12-05 Thread Markus Baertschi
On Fri, Dec 5, 2014 at 6:39 PM, Francisco Vila paconet@gmail.com wrote:
 Did you try a toplevel markup before the actual score?

 \markup {the logo}

 \score {
 { c' }
 }

I tried adding it to things in the \header part.

\header {
title = \markup { ... \epsfile ... }
}

The problem is that this way the logo treated like the title text
and takes space like it. I'd like to give it a fixed place on a separate layer.
Sort of 'print the logo 2cm from the top and 3cm from the left of the page',
independent of any other text.

Markus

-- 
Markus Baertschi, Bas du Rossé 16, CH-1163, Etoy, Switzerland
mar...@markus.org, +41 (79) 403 1186 (mobile)

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


RE: implicit tuplets

2014-12-05 Thread Mark Stephen Mrotek
Noeck,

Thank you for the reference. I shall update my sheet.

From pass use, my understanding is that the ly:make-moment x x would
automatically beam the group. In the example given in the reference you
gave, the tuplets are over a quaver yet beamed over a crochet.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Noeck
Sent: Friday, December 05, 2014 9:58 AM
To: lilypond-user@gnu.org
Subject: Re: implicit tuplets
 
Yes, but there is the more recent \tuplet command:
http://lilypond.org/doc/v2.18/Documentation/notation/writing-rhythms

Am 05.12.2014 um 16:49 schrieb Mark Stephen Mrotek:
 In my cheat sheet is:
 
 \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 2/3 { p1 p2 
 p3 p4 p5 p6 . }
 
 A search of the manual did not bring up anything.
 
 Mark

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


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


Free Fried?

2014-12-05 Thread Joshua Nichols
This project on indiegogo happened a while ago, and I have a general
question to people who donated for packages:

Have you had those fulfilled? I seem to be out of the loop on the timing of
those things.
Thanks!

Sincerely,

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


Re: size of pdf files

2014-12-05 Thread Werner LEMBERG

 Now I thought a bit and added -dSubsetFonts=false to the gs
 parameter list in backend-library.scm.  I also changed
 lilyponddefs.ps to include white-on-white print commands for all the
 emmentaler glyphs used in the four examples (hint: grep, sed, sort 
 uniq make it easy to get a list of glyphs from ps files): [...]

This is a nice idea!  However, I consider it a bug in ghostscript that
you can't suppress subsetting for the Emmentaler fonts.  Can you send
a bug report to the gs people?

 A file size reduction to about 36% of the original is a promising
 result.

Indeed.

 I think it would be a good idea to have some kind of interface to
 define a set of emmentaler glyphs to be included in the pdfs and to
 allow to activate the -dSubsetFonts=false setting in ghostscript.

Mhmm.  Having a `-dSubsetFonts=false' option is certainly a good idea
(and please provide a patch for that :-).  However, I would rather
favor that the bug gets fixed in gs – or finding out what we are
missing.

 Why does lilypond think it is a good idea to print a space at origin
 using an otherwise unused font?

This is a very good question.  IIRC, it comes from headers or footers
added by lilypond.  It is obviously not possible to *completely*
disable that, hence the silly whitespace.  This is a bug in lilypond,
I think...


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


Re: Displaying add9

2014-12-05 Thread Flaming Hakama by Elaine
I think you are confusing the printed chord names with the lilypond chord
representations.

Get rid of the notion that there is equivalence between groups of notes and
the chord names.
Rather, there is a mapping from the note groups to chord names.
Just because two groups of notes map to the same name (in this case, to C11
or C9) does not mean that lilypond thinks the groups of notes are the
same.  This is just a non-identity mapping and these two groups of notes
map to the same name.

Maybe the default representation should make these differentiations?  But
that is not a bug, it is just a matter of taste.  I consider it a normal
matter to have to customize a chord name here or there (at least), so just
add this exception framework to your house style and move on.


And then, there is the matter of the best way to specify the chords using
the \chordmode syntax.

I suggest that it helps to just specify the notes you want, rather than
starting with something bigger and trying to remove notes:

See the examples below, HTH

On Thu, Dec 4, 2014 at 7:32 PM, lilypond-user-requ...@gnu.org wrote:

 From: Jan Kohnert nospam001-li...@jankoh.mooo.com
 To: lilypond-user@gnu.org
 Subject: Re: Displaying add9
 Message-ID: 1796182.PmaPqyeAAc@kohni
 Content-Type: text/plain; charset=utf-8

 Hi,

 Am Donnerstag, 4. Dezember 2014, 23:14:14 schrieb Big Noise:
  there's a snippet that can help:
  http://lsr.di.unimi.it/LSR/Item?id=459

 [?]

  Does that help your issue?

 that one helped to get the stuff out to the colleagues, so thanks! But
 still,
 looking at the sourcecode, it seems more like a workaround than a real
 solution. I consider it to be a bug.

 Personally, I know of two major versions of displaying that stuff:
 1.: c e g d' == Cadd9 and c e g b d == C9
 2.: c e g d' == C9 and c e g b d == C7/9

 Nothing I ever read, made c e g d' == c e g h d, simply because it's
 just
 wrong.

 There was another chord, which I couldn't make print the right way:
 Cadd11. It
 whould be c e g f' but neither c1:11^7^9 (which I considered to be right
 Lilypond-Syntax), nor c11^7.9 (which was my second chance input) gave the
 correct result. And C11 (what was displayed in both trials) is just wrong,
 since it whould be c e g b d f, which is a totally different chord.

 Any of the devs there, who can clearify this one?

 --
 MfG Jan


\version 2.18.2

myChordExceptions = {
  c e g d'1-\markup { \raise #0.7 { \tiny  add } \raise #0.7 {
\normalsize 9 } }
  c e g f'1-\markup { \raise #0.7 { \tiny  add } \raise #0.7 {
\normalsize 11 } }
}
chExceptions = #(append (sequential-music-to-chord-exceptions
myChordExceptions #t) ignatzekExceptions)


% No big ideological crises here in terms of notes
rawChordSequence = \chordmode {
  \set chordChanges = ##t
  c1:5.9
  c:9
  c:5.11
  c:7.11
  c:11
}

% Just rename the ones you want to distinguish
myChordSequence = \chordmode {
  \set chordChanges = ##t
  \set chordNameExceptions = #chExceptions
  \rawChordSequence
}



  \new ChordNames {
\set chordChanges = ##t
\rawChordSequence
  }
  \new Staff {
\relative c' { \rawChordSequence }
  }



  \new ChordNames {
\set chordChanges = ##t
\myChordSequence
  }
  \new Staff {
\relative c' { \myChordSequence }
  }





David Elaine Alt
415 . 341 .4954   *Confusion is
highly underrated*
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Including a logo on the title page of a book

2014-12-05 Thread Francisco Vila
2014-12-05 19:12 GMT+01:00 Markus Baertschi mar...@markus.org:
 On Fri, Dec 5, 2014 at 6:39 PM, Francisco Vila paconet@gmail.com wrote:
 Did you try a toplevel markup before the actual score?

 \markup {the logo}

 \score {
 { c' }
 }

 I tried adding it to things in the \header part.

 \header {
 title = \markup { ... \epsfile ... }
 }

 The problem is that this way the logo treated like the title text
 and takes space like it. I'd like to give it a fixed place on a separate 
 layer.
 Sort of 'print the logo 2cm from the top and 3cm from the left of the page',
 independent of any other text.

The this solution works: create a full page with your logo at the
desired location and use pdftk to combine them this way:

pdftk themusic.pdf background thelogo.pdf output overlay.pdf

thelogo.pdf and a PNG render of overlay.pdf attached.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


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


Re: Including a logo on the title page of a book

2014-12-05 Thread Francisco Vila
2014-12-06 0:54 GMT+01:00 Francisco Vila paconet@gmail.com:
 The this solution works:

Then this solution works.

To create thelogo.pdf I first saved a lilypond score as SVG, then
added the logo with inkscape, then deleted everything but the logo,
then saved as PDF.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


RE: implicit tuplets

2014-12-05 Thread MarcM
thanks all for your answers. That put me in the right direction.Here are the
solutions that work:

\relative c'' {
   \time 2/4

  \set Timing.beamExceptions = #'()
  \set Timing.baseMoment = #(ly:make-moment 1/8)
  \set Timing.beatStructure = #'(1 1 1 1)

  % explicit triplets
  \tuplet 3/2 8 { c16 d e c d e c d e c d e } |

  % implicit triplets - version 1
  % omit the tuplet indicators after the first three notes) to
  % indicate that these are triplets but not to repeat the '3' all the time.
  {
\tuplet 3/2 8 { c16 d e
  \omit TupletNumber
  \omit TupletBracket
c d e c d e c d e }
  }
  % implicit triplets - version 2
  c16*2/3 d e c d e c d e c d e |

  % implicit triplets - version 3
  \scaleDurations 2/3 {
c16 d e c d e c d e c d e |
  }
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/implicit-tuplets-tp169206p169236.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Including a logo on the title page of a book

2014-12-05 Thread Nick Payne

On 05/12/2014 06:32, John McWilliam wrote:

I'm compiling a collection of pipe tunes and would like to include a logo in
the center of the title page under the heading. I've converted a jpeg file
to eps format using save as in Adobe Photoshop and failed using the
\markup {\epsfile #0 #20 #Logo_LNBP.eps} command. The logo is found in:

Logo_LNPB.eps
http://lilypond.1069038.n5.nabble.com/file/n169194/Logo_LNPB.eps

Does anyone have any suggestions as to how this should be down.


\version 2.18.0

#(set-default-paper-size a4 'landscape)
#(set-global-staff-size 15) % set staff-size when ready to print

date = #(strftime %d-%m-%Y (localtime (current-time)))
tocSection = #(define-music-function (parser location text) (markup?)
(add-toc-item! 'tocSectionMarkup text))

\book {

\header {
 title = Lake Norman Pipe Band
 subtitle = March collection
%   \markup {\epsfile #0 #20 #Logo_LNBP.eps}
 copyright = \markup {
\line {Compiled by John S. McWilliam,
\concat { (rev.  \date ) }}}
   }


\paper {

 tocTitleMarkup = \markup {\huge \column {
\fill-line { \null Table of Contents \null }
\hspace #1
}
 }
 tocItemMarkup = \tocItemWithDotsMarkup
 tocSectionMarkup = \markup {\large \column {
\hspace #1
\fill-line { \null \italic \fromproperty #'toc:text \null }
\hspace #1
}
 }
}%end paper

\pageBreak %after title page
\markuplist \table-of-contents
\pageBreak

\bookpart {
\header {
title = 2/4 Marches
subtitle = ##f}
\tocSection \markup { 2/4 Marches } 
}


}%end book
In one score where I've done this without problem, the title page has a 
page to itself and is in a separate bookpart to the score. It just 
contains the following:


\header {

   title = \markup {

\with-color #grey

\lower #8 \left-align \center-column {

  \fontsize #4 Sonata BWV 1003

  \lower #1 \fontsize #1 3. Andante

  \lower #4 \fontsize #-1 Johann Sebastian Bach (1685–1750)

}

  }

  subtitle = \markup { \epsfile #X #72 #Bach_BWV1003_andante.eps }

}


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