evince handling textedit://

2012-10-07 Thread Stjepan Horvat
Hi guys..does anyone has any news on has evince handles textedit..
i found this post
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00185.html from
2007 using gconftool-2 but couldn't get it working..
after i execute the gconftool-2 --install-schema-file=textedit.schemas
i still get -- Unable to open external link Operation not supported like it
didn't remove Evince ignores the embedded textedit:// urls by default,

i use evince 3.4.0..

thanks in advance

-- 
*Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje.
Izreke 12:18*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Glissando between single notes in chord

2012-10-07 Thread Nick Payne
On 07/10/12 11:07, David Nalesnik wrote:
 Hi pabuhr,

 On Sat, Oct 6, 2012 at 5:21 PM, pabuhr pab...@fastmail.fm wrote:

 [...]

 Below is my attempt at a guide finger (which I'm sure you saw a few months
 ago).
 http://www.mail-archive.com/lilypond-user@gnu.org/msg73509.html

 [...]

 The problem with my
 version is that the combined guide/finger-number are centred above/below the
 note. I don't know how to get the finger number centred above the note (i.e.,
 right justify the entire glyph); any help would be appreciated. I did try
 ly:stencil-aligned-to but no change in the output.
 I've attached a possible solution to the problem.  I haven't tried it
 out beyond your example, but I hope it will prove useful.

Thanks, that's very useful. I added three functions to your code which
which take just the slope as parameter and default to using either
hyphen, en dash, and em dash, to cater for different degrees of
tightness of note spacing:

% guide hyphen
%   c-\ghy #-15 -14  c4^\ghy #45 ^2  c4-\ghy #-15 -3  c4_\ghy# -14 _4
ghy = #(define-music-function (parser location slope fingering) (number?
ly:music?)
   (gx slope #x2010 fingering))
% guide en dash
%   c-\gen #-15 -14  c4^\gen #45 ^2  c4-\gen #-15 -3  c4_\gen# -14 _4
gen = #(define-music-function (parser location slope fingering) (number?
ly:music?)
   (gx slope #x2013 fingering))
% guide em dash
%   c-\gem #-15 -14  c4^\gem #45 ^2  c4-\gem #-15 -3  c4_\gem# -14 _4
gem = #(define-music-function (parser location slope fingering) (number?
ly:music?)
   (gx slope #x2014 fingering))

I also tried two-em and three-em dashes (unicode values 0x2E3A and
0x2E3B, see http://www.unicode.org/charts/PDF/U2E00.pdf), but they're
not in the emmentaler font; when I put them in a function the console
spits out:

Preprocessing graphical objects...
programming error: FT_Get_Glyph_Name () error: invalid argument
continuing, cross fingers
programming error: Glyph has no name, but font supports glyph naming.
Skipping glyph U+10002E3A, file
/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf

Nick
http://www.unicode.org/charts/PDF/U2E00.pdf
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Glissando between single notes in chord

2012-10-07 Thread David Nalesnik
Hi Nick,

On Sun, Oct 7, 2012 at 4:39 PM, Nick Payne nick.pa...@internode.on.net wrote:

[...]


 Thanks, that's very useful. I added three functions to your code which which
 take just the slope as parameter and default to using either hyphen, en
 dash, and em dash, to cater for different degrees of tightness of note
 spacing:


[...]

 I also tried two-em and three-em dashes (unicode values 0x2E3A and 0x2E3B,
 see http://www.unicode.org/charts/PDF/U2E00.pdf), but they're not in the
 emmentaler font; when I put them in a function the console spits out:

 Preprocessing graphical objects...
 programming error: FT_Get_Glyph_Name () error: invalid argument
 continuing, cross fingers
 programming error: Glyph has no name, but font supports glyph naming.
 Skipping glyph U+10002E3A, file
 /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf


Unfortunately, I'm not sure at the moment how to get the function to
work with those characters.  However, if you're interested simply in
drawing lines, then there will be greater flexibility with a line
stencil, rather than em- and en-dashes and such.  I've adapted the
function to do just that (see attached).  It allows customization of
slope and the length of the guide-line.

HTH,
David


guide-finger2.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


newbie guitar fingering layout question

2012-10-07 Thread Jim Tisdall

Greetings!  I'll introduce myself after asking my question.

I'm new to Lilypond and have a question about laying out some
fingering in guitar material for a new book I'm writing.  I'm
not neglecting the copious documentation, but I'm still on the
learning curve for sure and have missed or misunderstood a lot
as of yet.

Using LilyPond 2.16.0, modified the scripts.scm definitions of
\upbow and \downbow  so they are DOWN instead of UP (couldn't
see a way to do that in the score ... yes, I'm a newbie).

The following small example produces a brace of standard notation and 
tablature:


lilypond
 
\new Staff {
   \clef treble_8
 \set fingeringOrientations = #'(down)
 \set stringNumberOrientations = #'(up)
 \set strokeFingerOrientations = #'(down)  % these are RH

  e\6\downbow-1 f\upbow-3 g\downbow-4
  a\5\downbow-1 b\upbow-3 c'\downbow-4
  d'\4\downbow-1 e'\upbow-3 f'\downbow-4
  g'\3\downbow-1 a'\upbow-3
  b'\2\downbow-1 c''\upbow-2
  d''\downbow-4 e''\1\downbow-1 f''\upbow-2 g''\downbow-4
}

\new TabStaff {
\clef moderntab

 \set fingeringOrientations = #'(down)
 \set stringNumberOrientations = #'(up)
 \set strokeFingerOrientations = #'(down)  % these are RH

  e\6 f\6 g\6
  a\5 b\5 c'\5
  d'\4 e'\4 f'\4
  g'\3 a'\3
  b'\2 c''\2 d''\2
  e''\1 f''\1 g''\1
}
 
 /lilypond

My main question is this: I'd like to have the bow and
left-hand fingering and right-hand fingering appear in the
space between the two staffs, in a straight line, so they
can be seen easily by those reading either the standard
staff above, or the tablature staff below.  How to do?  The
staffs are in synch, so I just need to take the fingering
info from the standard staff and push it down so it will
line up underneath (and therefore between the two staffs.)

As part of this, I'll need to figure out how to adjust the
spacing between the staffs ... well really I have many
things I need to learn how to do!


to introduce myself:
I'm a musician and scientist, published author and so forth.
I got interested in computer music way back when and ended
up working with Max Mathews at Bell Labs for seven years.
The computer skills I learned I then used in human genome
project.  But now I'm back to full-time music.  I've played
with some names ... I'm fairly eclectic.

I'm writing a large book on guitar technique, Sibelius didn't
have what I needed so I'm turning to Lilypond which does.
I like the edit-compile-run ; I'm trained in several computer
languages.  I'm developing Perl classes to process my
Lilypond scores.  I have programmed in Scheme but not recently,
but it's a comfort to have a real programming language embedded.
(Again, Sibelius with Manuscript seems a bit painful, although
it is a nice WYSIWYG and has many excellent features.)

Thanks and I'm glad I found this software and this community!
Peace,
Jim Tisdall

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


Re: Glissando between single notes in chord

2012-10-07 Thread David Nalesnik
Hi again,

On Sun, Oct 7, 2012 at 6:00 PM, David Nalesnik david.nales...@gmail.com wrote:
 Hi Nick,


[...]

 if you're interested simply in
 drawing lines, then there will be greater flexibility with a line
 stencil, rather than em- and en-dashes and such.  I've adapted the
 function to do just that (see attached).  It allows customization of
 slope and the length of the guide-line.


Just remembered that I wrote an engraver a while back which can draw
lines between fingering numbers.  I can't find the file in the
archives, so I'll attach it again here.  With this override (which
uses a property defined in the file), glissando lines get moved from
between their notes to the numbers:

\override Glissando #to-fingerings = ##t

You can control which fingerings the line goes between by setting glissandoMap.

It's meant to connect fingering numbers, but you can hide the first
number to mimic the effect of the function earlier in the thread.
(I'm sure something could be done to this so you wouldn't need to do
that!)

-David


fingering-slide-engraver.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Glissando between single notes in chord

2012-10-07 Thread David Nalesnik
Me again--

On Sun, Oct 7, 2012 at 6:20 PM, David Nalesnik david.nales...@gmail.com wrote:

[...]


 It's meant to connect fingering numbers, but you can hide the first
 number to mimic the effect of the function earlier in the thread.
 (I'm sure something could be done to this so you wouldn't need to do
 that!)


I got myself a little off-track.  Just noticed the OP again.  To
create your example there, you'd use the engraver attached above and
do something like this:

\relative c'' {
  \override Glissando #'to-fingerings = ##t
  \set glissandoMap = #'((0 . 0))
  fis^4 b, a dis,2\glissando g^4 b, g e |
}


-David

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


lilypond-book

2012-10-07 Thread The Doctor (Michael D)
First of all I would like to thank everyone who have been so very 
helpful in responding to my latest email queries concerning Lilypond. I 
have at least one more (for now) and am getting rather frustrated with 
this one.


I am quite new to lilypond-book, and am attempting to add a somewhat 
complex (but short) score to an existing LaTeX document. I want to add 
more short 'scores' to this document to include everything the Choir 
sings while (with LaTeX) having everything the Priest and Deacon says 
there as well. I am attaching 3 files that have chronicles my journey 
thus far.


When I compile from the latex document using:

/lilypond-book --pdf filename.lytex
pdflatex filename.tex

/I end up with a pdf with no music, just some code where the music 
should be. Any help is appreciated greatly.

--
/Best wishes (In Christ), /
/Philip (Michael) Dykes /
\version 2.16.0
\include english.ly
\include gregorian.ly

\layout {
  \context{
\Score \override SpacingSpanner #'packed-spacing = ##f 
  }
  \context{
\Lyrics \override LyricHyphen #'minimum-distance = #2.2
\override LyricSpace #'minimum-distance = #0.8
  }
}


\header {
  title = \markup {
\override #'(font-name . URW Chancery L) \fontsize #5.0 \bold
  { The Anaphora } }
  poet = \markup {
\override #'(font-name . Arial Black) \fontsize #1.75 \bold
  { Kievan Chant } }
  composer =  \markup {
\override #'(font-name . Arial Black) \fontsize #1.75 \bold
  { arr. by Michael Dykes } }
}

% #(set-global-staff-size 22)
global = {
  \key f \major
  \override Staff.NoteHead #'style = #'altdefault
  \override Staff.TimeSignature #'stencil = ##f
  %\override Staff.BarLine #'stencil = ##f
  \set Score.defaultBarType = empty
  \bar |.
}
move = { \bar  \break }

soprano = \relative c' {
  \global
  % Music follows here.
  f4 f f f e f g2 g4 f e f\breve \bar |.
}

bass = \relative c {
  \global
  % Music follows here.
  f4 f f f c c c2 c4 c c f\breve \bar |.
}

verse = \lyricmode {
  % Lyrics follow here.
  A mer -- cy of peace, 
  a sac -- ri -- fice of praise.
}

\score {
  \new ChoirStaff 
\new Staff \with {
  midiInstrument = string ensemble 1
  instrumentName = \markup \center-column { S/T}
} 
  \new Voice = soprano { \voiceOne \soprano }

\new Lyrics \lyricsto soprano \verse
\new Staff \with {
  midiInstrument = string ensemble 1
  instrumentName = \markup \center-column { A/B }
} 
  \clef bass
  \new Voice = bass { \voiceTwo \bass }

  
  \layout { ragged-last=##t 
   #(layout-set-staff-size 22)
  }
  \midi {
\tempo 4 = 150
}
  }

%{
convert-ly (GNU LilyPond) 2.16.0  convert-ly: Processing `'...
Applying conversion: 2.15.7, 2.15.9, 2.15.10, 2.15.16, 2.15.17,
2.15.18, 2.15.19, 2.15.20, 2.15.25, 2.15.32, 2.15.39, 2.15.40,
2.15.42, 2.15.43, 2.16.0
%}
\documentclass[12pt,a4paper,oneside]{article}
\usepackage[left=2.00cm,right=2.00cm,top=2.45cm,bottom=2.5cm]{geometry}
\usepackage{color,enumitem,epsfig}
\usepackage{fancyhdr,multicol,xcolor}
\usepackage{indentfirst}


% % % Top Matter % % % % % % % % % % % % % % % % % % % % % % %
\title{The Anaphora}
\author{}
\date{\today}
\begin{document}
\maketitle

\textbf{Deacon:} Let us stand aright. Let us stand with fear. Let us attend, 
that we may offer the holy Oblation in peace.\\

\lilypondfile[quote,noindent]{01anap_kiev[2].ly}

\textbf{Priest:} The grace of our Lord Jesus Christ, and the love of God the 
Father, and the communion of the Holy Spirit be with you all.\\

\textbf{Choir: } And with Thy spirit. \\

\textbf{Priest:} Let us lift up our hearts. \\

\textbf{Choir:} We lift them up unto the Lord.\\ 

\textbf{Priest:} Let us give thanks unto the Lord. \\

\textbf{Choir:} It is meet and right to worship Father, Son, and Holy Spirit, 
the Trinity one in essence and undivided. \\

\textbf{Priest:} \textit{It is meet and right to hymn Thee, to bless Thee, to 
praise Thee, to give thanks unto Thee, and to worship Thee in every place of 
Thy dominion, for thou art God inexpressibie, inconceivable, invisible, 
incomprehensible, everexisting, eternally the same, thou and Thine 
Only-Begotten Son and Thy Holy Spirit. Thou didst bring us from nonexistence 
into being, and when we had fallen away, didst raise us up again, and didst not 
cease to do all things until thou hadst brought us up to heaven, and hadst 
bestowed upon us Thy kingdom, which is to come. For all these things we give 
thanks unto Thee, and to Thine Only-Begotten Son, and to Thy Holy Spirit, for 
all things of which we know and of which we know not, for the benefits both 
revealed and unrevealed, which have been done for us. And we give thanks unto 
Thee for this service which thou hast vouchsafed to accept from our hands, even 
though there stand beside Thee thousands of Archangels and ten thousands of 
Angels, Cherubim and Seraphim, six-winged, many-eyed, borne aloft on their 
wings.}\\

\textbf{Priest:} Singing the hymn of victory, shouting, crying, and 

Re: Glissando between single notes in chord

2012-10-07 Thread Werner LEMBERG

 programming error: Glyph has no name, but font supports glyph naming.
 Skipping glyph U+10002E3A, file
 /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf

Uh, oh, this is a nonsense error message.  There *never* exists
U+10002E3A, since this is outside of the valid Unicode range.

Can you prepare a minimum example which delivers this error?


Werner

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


Re: newbie guitar fingering layout question

2012-10-07 Thread David Kastrup
Jim Tisdall tisd...@tisdall.net writes:

 Greetings!  I'll introduce myself after asking my question.

 I'm new to Lilypond and have a question about laying out some
 fingering in guitar material for a new book I'm writing.  I'm
 not neglecting the copious documentation, but I'm still on the
 learning curve for sure and have missed or misunderstood a lot
 as of yet.

 Using LilyPond 2.16.0, modified the scripts.scm definitions of
 \upbow and \downbow  so they are DOWN instead of UP (couldn't
 see a way to do that in the score ... yes, I'm a newbie).

Try
upbow = _\upbow
downbow = _\downbow

and of course, you could have just written _\upbow and _\downbow every
time you use them instead, or define your own commands.

-- 
David Kastrup


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


Re: lilypond-book

2012-10-07 Thread David Kastrup
The Doctor (Michael D) thedoctor81...@gmail.com writes:

 \lilypondfile[quote,noindent]{01anap_kiev[2].ly}

I suspect your file name here.  Try picking a name that has no brackets
in it.

-- 
David Kastrup


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


Re: Glissando between single notes in chord

2012-10-07 Thread Nick Payne
On 08/10/12 15:16, Werner LEMBERG wrote:
 programming error: Glyph has no name, but font supports glyph naming.
 Skipping glyph U+10002E3A, file
 /usr/local/lilypond/usr/share/lilypond/current/fonts/otf/emmentaler-18.otf
 Uh, oh, this is a nonsense error message.  There *never* exists
 U+10002E3A, since this is outside of the valid Unicode range.

 Can you prepare a minimum example which delivers this error?

This gives an error message with the identical glyph number of U+10002E3A:

\version 2.17.0

\relative c' {
  c1^\markup { \char ##x2E3A }
}


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