Re: The stafftab reversed!?

2015-11-19 Thread Thomas Morley
2015-11-18 10:38 GMT+01:00 Pierre Perol-Schneider
:
> +1
> ~Pierre
>
> 2015-11-18 10:11 GMT+01:00 Phil Holmes :
>
>>
>> The simplest would be to add it as a snippet and tag it as docs.
>
>

done in LSR:
http://lsr.di.unimi.it/LSR/Item?u=1=1014
tagged docs

currently unapproved, if nobody objects I'll approve it upcoming weekend.

I'll have a look at the doc-string, etc soon, as Trevor suggested.

Cheers,
  Harm

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


Re: The stafftab reversed!?

2015-11-18 Thread Phil Holmes
- Original Message - 
From: "Thomas Morley" <thomasmorle...@gmail.com>

To: "Pierre Perol-Schneider" <pierre.schneider.pa...@gmail.com>
Cc: "lilypond-user" <lilypond-user@gnu.org>
Sent: Tuesday, November 17, 2015 9:31 PM
Subject: Re: The stafftab reversed!?



2015-11-17 14:14 GMT+01:00 Pierre Perol-Schneider
<pierre.schneider.pa...@gmail.com>:

Well it is actually in the manual:
http://www.lilypond.org/doc/v2.18/Documentation/internals/tab_005fnote_005fheads_005fengraver




This is more or less a listing of the relevant context-properties
together with their doc-strings. I wouldn't call this a well done
documentation.

For a proper documentation, is it sufficient to add an LSR-snippet
(tagged docs) or should we extend the NR?

What do people think?


Cheers,
 Harm



The simplest would be to add it as a snippet and tag it as docs.

--
Phil Holmes 



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


Re: The stafftab reversed!?

2015-11-18 Thread Pierre Perol-Schneider
+1
~Pierre

2015-11-18 10:11 GMT+01:00 Phil Holmes :


> The simplest would be to add it as a snippet and tag it as docs.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The stafftab reversed!?

2015-11-17 Thread Pierre Perol-Schneider
Well it is actually in the manual:
http://www.lilypond.org/doc/v2.18/Documentation/internals/tab_005fnote_005fheads_005fengraver

2015-11-17 11:46 GMT+01:00 Mario Moles :

> Great! Thank you so match!
>
> :) ;)
>
> In data martedì 17 novembre 2015 10:30:00, hai scritto:
>
> > 2015-11-16 22:14 GMT+01:00 Mario Moles :
>
> > > Hi lilyponders!
>
> > >
>
> > > It is possible to reverse the staff tab? The first string in place of
> the
>
> > > sixth? That is a mirror image to the arrangement of the guitar strings?
>
> > > Thank you!
>
> > > --
>
> > >
>
> > > oiram/bin/selom
>
> > >
>
> > > Da ognuno secondo le proprie capacità ad ognuno secondo i propri
> bisogni.
>
> > >
>
> > > MIB-kernellinux-tester
>
> > >
>
> > > http://mariomoles.altervista.org/
>
> > >
>
> > > Linux
>
> > >
>
> > > MIB Lilypond Frescobaldi Rosegarden
>
> > >
>
> > >
>
> > > ___
>
> > > lilypond-user mailing list
>
> > > lilypond-user@gnu.org
>
> > > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> >
>
> > \layout {
>
> > \context {
>
> > \Score
>
> > stringOneTopmost = ##f
>
> > }
>
> > }
>
> >
>
> > \new TabStaff { e'\1 }
>
> >
>
> >
>
> > HTH,
>
> > Harm
>
>
> --
>
> oiram/bin/selom
>
> Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
>
> MIB-kernellinux-tester
>
> http://mariomoles.altervista.org/
>
> Linux 
>
> MIB  Lilypond 
> Frescobaldi  Rosegarden
> 
>
> ___
> 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: The stafftab reversed!?

2015-11-17 Thread Mario Moles
Great! Thank you so match!
:) ;)
In data martedì 17 novembre 2015 10:30:00, hai scritto:
> 2015-11-16 22:14 GMT+01:00 Mario Moles 
:
> > Hi lilyponders!
> > 
> > It is possible to reverse the staff tab? The first string in place of the
> > sixth? That is a mirror image to the arrangement of the guitar 
strings?
> > Thank you!
> > --
> > 
> > oiram/bin/selom
> > 
> > Da ognuno secondo le proprie capacità ad ognuno secondo i propri 
bisogni.
> > 
> > MIB-kernellinux-tester
> > 
> > http://mariomoles.altervista.org/
> > 
> > Linux
> > 
> > MIB Lilypond Frescobaldi Rosegarden
> > 
> > 
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> \layout {
>   \context {
> \Score
> stringOneTopmost = ##f
>   }
> }
> 
> \new TabStaff { e'\1 }
> 
> 
> HTH,
>   Harm


/oiram/bin/selom/
/Da ognuno secondo le proprie capacità ad ognuno secondo i propri 
bisogni./
/MIB-kernellinux-tester/
http://mariomoles.altervista.org/[1] 
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The stafftab reversed!?

2015-11-17 Thread Thomas Morley
2015-11-17 11:25 GMT+01:00 David Kastrup :
> Thomas Morley  writes:
>
>> 2015-11-16 22:14 GMT+01:00 Mario Moles :
>>> Hi lilyponders!
>>>
>>> It is possible to reverse the staff tab? The first string in place of the
>>> sixth? That is a mirror image to the arrangement of the guitar strings?
>>
>> \layout {
>>   \context {
>> \Score
>> stringOneTopmost = ##f
>>   }
>> }
>>
>> \new TabStaff { e'\1 }
>
> That's cheating.  You probably peeked in the manual.



rofl

Though:

git grep "stringOneTopmost"
lily/tab-note-heads-engraver.cc:"stringOneTopmost "
ly/engraver-init.ly:  stringOneTopmost = ##t
scm/define-context-properties.scm: (stringOneTopmost ,boolean?
"Whether the first string is
scm/translation-functions.scm: (string-one-topmost
(ly:context-property context 'stringOneTopmost))

I'd say it's not really documented, warranting an issue.
Can't do it right now, have to run...


Cheers,
  Harm

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


Re: The stafftab reversed!?

2015-11-17 Thread Mario Moles
Thank you! It is a first solution! Although having to always indicate the 
string is frustrating! 
Thanks!
In data martedì 17 novembre 2015 09:01:09, hai scritto:
> Hi Mario,
> 
> Here's a possibility:
> 
> \version "2.18.2"
> 
> my-music = \relative { c d e f g a b c }
> 
> \score {
>   \new StaffGroup <<
> \new Staff \my-music
> \new TabStaff \my-music
> 
>   \layout {
> \context {
>   \Staff
>   \clef "G_8"
> }
>   }
> }
> 
> my-music-alter = \relative { c\2 d\3 e\3 f\3 g\4 a\4 b\5 c\5 }
> 
> \score {
>   \new StaffGroup <<
> \new Staff \my-music-alter
> \new TabStaff \my-music-alter
> 
>   \layout {
> \context {
>   \Staff
>   \clef "G_8"
>   \omit StringNumber
> }
> \context {
>   \TabStaff
>   stringTunings = \stringTuning 
> }
>   }
> }
> 
> Pretty tedious though...
> Cheers,
> Pierre
> 
> 2015-11-16 22:14 GMT+01:00 Mario Moles 
:
> > Hi lilyponders!
> > 
> > It is possible to reverse the staff tab? The first string in place of the
> > sixth? That is a mirror image to the arrangement of the guitar 
strings?
> > Thank you!
> > --
> > 
> > oiram/bin/selom
> > 
> > Da ognuno secondo le proprie capacità ad ognuno secondo i propri 
bisogni.
> > 
> > MIB-kernellinux-tester
> > 
> > http://mariomoles.altervista.org/
> > 
> > Linux 
> > 
> > MIB  Lilypond 
> > Frescobaldi  Rosegarden
> > 
> > 
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user


/oiram/bin/selom/
/Da ognuno secondo le proprie capacità ad ognuno secondo i propri 
bisogni./
/MIB-kernellinux-tester/
http://mariomoles.altervista.org/[1] 
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The stafftab reversed!?

2015-11-17 Thread Pierre Perol-Schneider
Nice Harm! This should definitely be in the LSR.
Cheers,
Pierre

2015-11-17 10:30 GMT+01:00 Thomas Morley :

> 2015-11-16 22:14 GMT+01:00 Mario Moles :
> > Hi lilyponders!
> >
> > It is possible to reverse the staff tab? The first string in place of the
> > sixth? That is a mirror image to the arrangement of the guitar strings?
> > Thank you!
> > --
> >
> > oiram/bin/selom
> >
> > Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
> >
> > MIB-kernellinux-tester
> >
> > http://mariomoles.altervista.org/
> >
> > Linux
> >
> > MIB Lilypond Frescobaldi Rosegarden
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
> \layout {
>   \context {
> \Score
> stringOneTopmost = ##f
>   }
> }
>
> \new TabStaff { e'\1 }
>
>
> HTH,
>   Harm
>
> ___
> 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: The stafftab reversed!?

2015-11-17 Thread Pierre Perol-Schneider
Hi Mario,

Here's a possibility:

\version "2.18.2"

my-music = \relative { c d e f g a b c }

\score {
  \new StaffGroup <<
\new Staff \my-music
\new TabStaff \my-music
  >>
  \layout {
\context {
  \Staff
  \clef "G_8"
}
  }
}

my-music-alter = \relative { c\2 d\3 e\3 f\3 g\4 a\4 b\5 c\5 }

\score {
  \new StaffGroup <<
\new Staff \my-music-alter
\new TabStaff \my-music-alter
  >>
  \layout {
\context {
  \Staff
  \clef "G_8"
  \omit StringNumber
}
\context {
  \TabStaff
  stringTunings = \stringTuning 
}
  }
}

Pretty tedious though...
Cheers,
Pierre

2015-11-16 22:14 GMT+01:00 Mario Moles :

> Hi lilyponders!
>
> It is possible to reverse the staff tab? The first string in place of the
> sixth? That is a mirror image to the arrangement of the guitar strings?
> Thank you!
> --
>
> oiram/bin/selom
>
> Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
>
> MIB-kernellinux-tester
>
> http://mariomoles.altervista.org/
>
> Linux 
>
> MIB  Lilypond 
> Frescobaldi  Rosegarden
> 
>
> ___
> 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: The stafftab reversed!?

2015-11-17 Thread David Kastrup
Thomas Morley  writes:

> 2015-11-16 22:14 GMT+01:00 Mario Moles :
>> Hi lilyponders!
>>
>> It is possible to reverse the staff tab? The first string in place of the
>> sixth? That is a mirror image to the arrangement of the guitar strings?
>
> \layout {
>   \context {
> \Score
> stringOneTopmost = ##f
>   }
> }
>
> \new TabStaff { e'\1 }

That's cheating.  You probably peeked in the manual.

-- 
David Kastrup

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


Re: The stafftab reversed!?

2015-11-17 Thread David Kastrup
Pierre Perol-Schneider  writes:

> Here's a possibility:
>
> \version "2.18.2"
>
> my-music = \relative { c d e f g a b c }
>
> \score {
>   \new StaffGroup <<
> \new Staff \my-music
> \new TabStaff \my-music
>   >>
>   \layout {
> \context {
>   \Staff
>   \clef "G_8"
> }
>   }
> }
>
> my-music-alter = \relative { c\2 d\3 e\3 f\3 g\4 a\4 b\5 c\5 }
>
> \score {
>   \new StaffGroup <<
> \new Staff \my-music-alter
> \new TabStaff \my-music-alter
>   >>
>   \layout {
> \context {
>   \Staff
>   \clef "G_8"
>   \omit StringNumber
> }
> \context {
>   \TabStaff
>   stringTunings = \stringTuning 
> }
>   }
> }
>
> Pretty tedious though...

That one would just be screaming for the "needs-work" patch in
issue 703.  The patch might not be optimal for banjos but for this kind
of reverse tuning...

But there might be some other override for the string/staffline
assignment that's better suited.

-- 
David Kastrup

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


Re: The stafftab reversed!?

2015-11-17 Thread Thomas Morley
2015-11-16 22:14 GMT+01:00 Mario Moles :
> Hi lilyponders!
>
> It is possible to reverse the staff tab? The first string in place of the
> sixth? That is a mirror image to the arrangement of the guitar strings?
> Thank you!
> --
>
> oiram/bin/selom
>
> Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.
>
> MIB-kernellinux-tester
>
> http://mariomoles.altervista.org/
>
> Linux
>
> MIB Lilypond Frescobaldi Rosegarden
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


\layout {
  \context {
\Score
stringOneTopmost = ##f
  }
}

\new TabStaff { e'\1 }


HTH,
  Harm

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


Re: The stafftab reversed!?

2015-11-17 Thread Thomas Morley
2015-11-17 14:14 GMT+01:00 Pierre Perol-Schneider
:
> Well it is actually in the manual:
> http://www.lilypond.org/doc/v2.18/Documentation/internals/tab_005fnote_005fheads_005fengraver



This is more or less a listing of the relevant context-properties
together with their doc-strings. I wouldn't call this a well done
documentation.

For a proper documentation, is it sufficient to add an LSR-snippet
(tagged docs) or should we extend the NR?

What do people think?


Cheers,
  Harm

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


Re: The stafftab reversed!?

2015-11-17 Thread Trevor Daniels

Thomas Morley wrote Tuesday, November 17, 2015 9:31 PM


> 2015-11-17 14:14 GMT+01:00 Pierre Perol-Schneider
> :
>> Well it is actually in the manual:
>> http://www.lilypond.org/doc/v2.18/Documentation/internals/tab_005fnote_005fheads_005fengraver
> 
> 
> 
> This is more or less a listing of the relevant context-properties
> together with their doc-strings. I wouldn't call this a well done
> documentation.
> 
> For a proper documentation, is it sufficient to add an LSR-snippet
> (tagged docs) or should we extend the NR?
> 
> What do people think?

It would be impractical to extend the NR to include all the
context and grob properties.  There are simply too many.  Instead,
the approach we've adopted is show how to use just the ones that 
are commonly required, and to show how to find other properties by
searching for them in the IR.  As an intermediate solution, many
of the less common properties are demonstrated as untagged snippets
in the LSR, and I think that method would be appropriate in this case.

But the doc string that appears in the IR could be more explicit,
and I'd be happy to see a pointer to this IR page in an appropriate
place in the NR.

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


The stafftab reversed!?

2015-11-16 Thread Mario Moles
Hi lilyponders!
It is possible to reverse the staff tab? The first string in place of the 
sixth? That is a mirror image to the arrangement of the guitar 
strings? Thank you!

/oiram/bin/selom/
/Da ognuno secondo le proprie capacità ad ognuno secondo i propri 
bisogni./
/MIB-kernellinux-tester/
http://mariomoles.altervista.org/[1] 
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user