|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #4276 Allow changes of scripts by type (e.g. changing the padding and font-size > of "tenuto" throughout a file) |
Date: | Tue, 04 Apr 2017 20:17:18 +0000 |
Add scriptExceptions propert/convenience functionsy
These is currently no convenient way to change default
settings for a specific articulation-type.
-- This commit adds a new context property, scriptExceptions,
which holds custom user settings to modify the default
scriptDefinitions. The data structure is modelled after
scriptDefinitions and the public variable
default-script-alist.
The settings in scriptExceptions are simply added to the
head of the property-value alists of the indicated scripts.
New settings will be used by virtue of appearing before the
default settings, and there is no need to include settings
of untouched properties because the defaults are still present.
-- Add two convenience functions for easily modifying settings
for a single articulation type: \addScriptException and
\removeScriptException
-- Add two regtests and a Changes entry.
http://codereview.appspot.com/324740043
[issues:#4276] Allow changes of scripts by type (e.g. changing the padding and font-size > of "tenuto" throughout a file)
Status: Accepted
Created: Thu Jan 29, 2015 05:06 AM UTC by Anonymous
Last Updated: Tue Apr 04, 2017 08:17 PM UTC
Owner: nobody
Originally created by: *anonymous
Originally created by: address@hidden
On 28/01/15 18:12, David Nalesnik wrote:> Hi,
>
> It is a common request to be able to change the defaults of specific
> scripts globally. An example would be changing the padding and font-size
> of "tenuto" throughout a file. Currently, the user needs to tweak each
> instance of the right Script, a process that is tedious and error-prone.
>
> There is a snippet which makes such changes much more convenient:
> http://lilypond.org/doc/v2.19/Documentation/snippets/tweaks-and-overrides#tweaks-and-overrides-overriding-articulations-of-destinct-type
>
> This capability ought to be part of the codebase, either through the method
> in the snippet, or through the addition of a context property--something
> like "scriptExceptions" to work in conjunction with "scriptDefinitions".
>
> I would like to open a discussion of the best approach to the problem,
> through tweaks (as in the snippet), or through context properties (for
> which I can provide a basic patch.)
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |