Move add-grob-definition from a snippet to scm/translation-functions.scm (issue 6128048)

2012-04-27 Thread dak
It is not the official way to create a new grob definition, but a hack from Mike done without understanding the implementation of \grobdefinitions. It is not just tampering with a global variable (session-wide instead of parser-wide) to add stuff to all-grob-descriptions, it is also inefficient

Re: Move add-grob-definition from a snippet to scm/translation-functions.scm (issue 6128048)

2012-04-27 Thread Carl Sorensen
On 4/27/12 4:00 PM, d...@gnu.org d...@gnu.org wrote: Instead, one can just add a single context mod adding the new grob definition to the Score context definition. Snip It would make more sense to revert the respective commit creating the snippet completely.

Re: Move add-grob-definition from a snippet to scm/translation-functions.scm (issue 6128048)

2012-04-27 Thread dak
Carl Sorensen c_soren...@byu.edu writes: On 4/27/12 4:00 PM, d...@gnu.org d...@gnu.org wrote: Instead, one can just add a single context mod adding the new grob definition to the Score context definition. Snip It would make more sense to revert the respective commit creating the

Re: Move add-grob-definition from a snippet to scm/translation-functions.scm (issue 6128048)

2012-04-27 Thread plroskin
Reviewers: dak, c_sorensen_byu.edu, Message: OK, the problem I wanted to address is to have a documented way to define new grobs. I hoped that moving add-grob-definition to a public place would be a good start. If it's not, sorry for the noise. Description: Move add-grob-definition from a

Re: Move add-grob-definition from a snippet to scm/translation-functions.scm (issue 6128048)

2012-04-27 Thread dak
On 2012/04/28 03:08:13, Pavel Roskin wrote: OK, the problem I wanted to address is to have a documented way to define new grobs. I hoped that moving add-grob-definition to a public place would be a good start. If it's not, sorry for the noise. scheme-text-spanner.ly contains a lot of