[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, co
From: |
Richard Shann |
Subject: |
Re: Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col |
Date: |
Sat, 13 Oct 2012 09:28:35 +0100 |
Hi,
I notice I did give the result of the strings command on the pdf
generated from the Denemo-generated lilypond, putting it into a file
called junk3.ly I get this session:
--------------------------------------------------------
lilypond junk3.ly && strings junk3.pdf | grep textedit
GNU LilyPond 2.12.3
Processing `junk3.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `junk3.ps'...
Converting to `./junk3.pdf'...
/URI(textedit:///home/rshann/junk3.ly:14:13:13)>>
/URI(textedit:///home/rshann/:0:0:0)>>
/URI(textedit:///home/rshann/junk3.ly:14:24:24)>>
/URI(textedit:///home/rshann/junk3.ly:14:28:28)>>
/URI(textedit:///home/rshann/junk3.ly:14:9:9)>>
----------------------------------------------------------
I cut the file down, and the difference is whether the music is inline
or in a definition, This file gives the 0:0:0 location
themusic = { c'4 c'\breathe c'4 c' }
\score {
\themusic
}
while
\score {
{ c'4 c'\breathe c'4 c' }
}
gives no link at all for the breathing sign.
HTH
Richard
On Fri, 2012-10-12 at 22:20 +0100, Richard Shann wrote:
> Hi,
> Thanks for the response.
> With junk.ly consisting of exactly
> { c' c'\breathe c' c' }
> then
>
> lilypond junk.ly
>
> creates a file junk.pdf with no point and click for the breathing sign.
> The version is
> lilypond --version
> GNU LilyPond 2.12.3
>
> I see no link when hovering over the breathing sign with junk.pdf open
> in the evince pdf reader, and this is confirmed by using the strings
> command on the file:
>
> strings junk.pdf | grep textedit
> /URI(textedit:///home/rshann/junk.ly:1:19:19)>>
> /URI(textedit:///home/rshann/junk.ly:1:2:2)>>
> /URI(textedit:///home/rshann/junk.ly:1:5:5)>>
> /URI(textedit:///home/rshann/junk.ly:1:16:16)>>
>
> which has just four links for the four notes and none for the breathing
> sign.
> Strangely, if I use this .ly text, then I *do* get a link for the
> breathing sign, but it has 0:0:0 for the positional information. What
> triggers the difference I can't imagine...
>
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> %% LilyPond file generated by Denemo version 0.9.7
>
> %%http://www.gnu.org/software/denemo/
>
> \version "2.12"
>
> Barline = |
> EndMovementBarline = \bar "|."
>
> % The music follows
>
> MvmntIVoiceI = {
> c'4 c'\breathe c'4 c' \EndMovementBarline
> }
>
> %Default Score Layout
>
> \header {
> tagline = \markup {"" on \simple #(strftime "%x" (localtime
> (current-time)))}
>
> }
> \layout {indent = 13.2}
> \paper {
>
> page-limit-inter-system-space = ##t
> page-limit-inter-system-space-factor = 1.2
> }
> #(set-default-paper-size "a4")
> #(set-global-staff-size 22)
>
> \score { %Start of Movement
> <<
>
> %Start of Staff
> \new Staff = "Violin" << \set Staff.instrumentName = "Violin"
> \new Voice = "VoiceIMvmntI" {
> \clef treble
> { \key c \major}
> { \time 4/4 }
> \MvmntIVoiceI } %End of voice
>
> >>
> %End of Staff
>
> >>
>
> \header {
> title = "Untitled"
>
> }
>
> } %End of Movement
>
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> This is not critical for the development of Denemo incidentally, but is
> curious.
>
> Richard Shann
>
>
>
> > Forwarding to OP:
> >
> > ---------- Forwarded message ----------
> > From: David Kastrup <address@hidden>
> > Date: 2012/10/12
> > Subject: Re: Point and Click on BreathingSign gives 0 for line, char,
> > col
> > To: address@hidden
> >
> >
> > Richard Shann <address@hidden> writes:
> >
> > > Denemo is developing dragging objects
> > > in the LilyPond generated pdf backend.
> > > This works for RehearsalMark but not for BreathingSign
> > > which has 0,0,0 for the position information.
> > > The filename is still ok.
> >
> >
> > With
> >
> > { c' c'\breathe c' c' }
> >
> > I get full position information on the breathing sign. Can you
> > provide
> > an example of what does not work for you?
> >
> > --
> > David Kastrup
- Point and Click on BreathingSign gives 0 for line, char, col, Richard Shann, 2012/10/12
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, Richard Shann, 2012/10/16
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, David Kastrup, 2012/10/12
- Re: Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col,
Richard Shann <=
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, David Kastrup, 2012/10/13
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, Richard Shann, 2012/10/16
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, Francisco Vila, 2012/10/16
- Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, Richard Shann, 2012/10/18
- Re: Re: Fwd: Point and Click on BreathingSign gives 0 for line, char, col, Richard Shann, 2012/10/16