Hiding OttavaBracket

View: New views
7 Messages — Rating Filter:   Alert me  

Hiding OttavaBracket

by Raphaël Doursenaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I'm using lilypond to create guitar and bass tablatures using a
tablature.ly file found on the list with \tabNumbersOnly
Now I'm writing the solo part and I'd like to hide the OttavaBracket on
the tablature side.
How can I do that?

Thanks,
- --
Raphaël Doursenaud
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrxHzMACgkQaZKmNAdXaVW4sgCghA/BHn/H5efHexMGoCUg4FkD
O7YAn1R7KyIqOkhICmwnmA0ulS4iXUc6
=j8XF
-----END PGP SIGNATURE-----


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

Re: Hiding OttavaBracket

by Martin Tomek :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Mittwoch, 4. November 2009 07:29:09 schrieb Raphaël Doursenaud:
> Hi everybody,
>
> I'm using lilypond to create guitar and bass tablatures using a
> tablature.ly file found on the list with \tabNumbersOnly
> Now I'm writing the solo part and I'd like to hide the OttavaBracket on
> the tablature side.
> How can I do that?
>
> Thanks,

Hi,

Try the following

\layout {
        \context { \TabStaff
                \remove Ottava_spanner_engraver
        }
}

Greetings

Martin


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

Re: Hiding OttavaBracket

by Marc Hohl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Raphaël,

which version are you using?
I recommend the latest development version (2.13.7),
because there you don't need tablature.ly and \tabNumbersOnly
any more.

If the OttavaBracket still shows up, please send
a minimal example, so I can see what's going wrong and perhaps
improve the tablature features for the next version.

Thank you.

Marc

Raphaël Doursenaud schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everybody,
>
> I'm using lilypond to create guitar and bass tablatures using a
> tablature.ly file found on the list with \tabNumbersOnly
> Now I'm writing the solo part and I'd like to hide the OttavaBracket on
> the tablature side.
> How can I do that?
>
> Thanks,
> - --
> Raphaël Doursenaud
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkrxHzMACgkQaZKmNAdXaVW4sgCghA/BHn/H5efHexMGoCUg4FkD
> O7YAn1R7KyIqOkhICmwnmA0ulS4iXUc6
> =j8XF
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@...
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>  



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

Re: Hiding OttavaBracket

by Raphaël Doursenaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Tomek a écrit :

> Am Mittwoch, 4. November 2009 07:29:09 schrieb Raphaël Doursenaud:
>> Hi everybody,
>>
>> I'm using lilypond to create guitar and bass tablatures using a
>> tablature.ly file found on the list with \tabNumbersOnly
>> Now I'm writing the solo part and I'd like to hide the OttavaBracket on
>> the tablature side.
>> How can I do that?
>>
>> Thanks,
>
> Hi,
>
> Try the following
>
> \layout {
> \context { \TabStaff
> \remove Ottava_spanner_engraver
> }
> }
>
> Greetings
>
> Martin

Thanks Martin!

This is exactly what I needed.

- --
Raphaël Doursenaud
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrxNs0ACgkQaZKmNAdXaVV6WQCfUYNi3VQ/LzhahuQJy0fOEuqN
i6wAoL+Ez5Zuqd5m15Bm6eUSj3eCmb2P
=k2f4
-----END PGP SIGNATURE-----


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

Re: Hiding OttavaBracket

by Raphaël Doursenaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Hohl a écrit :

> Hello Raphaël,
>
> which version are you using?
> I recommend the latest development version (2.13.7),
> because there you don't need tablature.ly and \tabNumbersOnly
> any more.
>
> If the OttavaBracket still shows up, please send
> a minimal example, so I can see what's going wrong and perhaps
> improve the tablature features for the next version.
>
> Thank you.
>
> Marc

I'm using the latest stable (2.12.2) with your tablature.ly and hp.ly

Latest development version I see on the website is 2.13.6, did you mean
the git version?

Anyway, I tried my file with 2.13.6 (Any x86_64 GNU/Linux prebuilt) and
it segfaults!

I'm going to build the git version to see if there is some improvements.

Regards,

- --
Raphaël Doursenaud
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrxN9QACgkQaZKmNAdXaVXUVACbBQNn621wCL3EEVIaz8SEVDCS
d3MAnjXeHcsu3Hu9P5KYZNmYEATXFj9X
=f3nD
-----END PGP SIGNATURE-----


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

Re: Hiding OttavaBracket

by Raphaël Doursenaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just tried the git version and it still displays the OttavaBracket on
the tablature.

Please find attached a sample file of what I was doing.

The fix proposed by Martin is perfect for me but it would be cool to
have it definitively fixed in the next version.

Thanks for your work! Lilypond is becoming an awesome tablature engraver.
- --
Raphaël Doursenaud
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrxRD8ACgkQaZKmNAdXaVXcpgCcDn3q1cNqUWoFag05mptCQ+49
vTsAnRESnQJ16zMaF0QEKwaTN4ExpqSG
=VICV
-----END PGP SIGNATURE-----

\version "2.13.7"

\include "italiano.ly"

Solo = {
  #(set-octavation 1)
  r1 |
  \acciaccatura re''8\2 \glissando mi''4.\2 si'\3 re''4\3 ~ | re''1\3 |
  r1 |
  r1 |
  mi''4.\2 si'\3 re''4\3 ~ | re''1\3 | fad'1\4 |
  r1 |
  mi''4.\2 si'\3 re''4\3 ~ | re''1\3 |
  #(set-octavation 0)
}

Guitare = \new StaffGroup \with {
  \consists "Instrument_name_engraver"
  instrumentName = "Guitare"
} <<
  \new Staff \with {
    midiInstrument = "overdriven guitar"
  } { \clef "treble_8" \Solo }
  \new TabStaff { \clef "moderntab" \Solo }
>>

\book {
  \score { \Guitare }
}

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

Re: Hiding OttavaBracket

by Marc Hohl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Raphaël Doursenaud schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Just tried the git version and it still displays the OttavaBracket on
> the tablature.
>
> Please find attached a sample file of what I was doing.
>
> The fix proposed by Martin is perfect for me but it would be cool to
> have it definitively fixed in the next version.
>  
Thanks for you example! I just sent a patch, so in the next release,
the ottava spanner should be removed by default. It doesn't make
sense at all, but I didn't use a ottava spanner until now (and it seems
that noone else did in combination with tablature), so this
error remained undetected.
> Thanks for your work! Lilypond is becoming an awesome tablature engraver.
>  
I hope so ;-)

Greetings

Marc

> - --
> Raphaël Doursenaud
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkrxRD8ACgkQaZKmNAdXaVXcpgCcDn3q1cNqUWoFag05mptCQ+49
> vTsAnRESnQJ16zMaF0QEKwaTN4ExpqSG
> =VICV
> -----END PGP SIGNATURE-----
>  



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