Re: [frogs] [PATCH]: Tracker 836 - Allow output filename and output-suffix to be specified for a \book block

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]




On 10/26/09 3:09 PM, "Graham Percival" <graham@xxxxxxxxxxxxxxxxx> wrote:

> On Mon, Oct 26, 2009 at 12:11:55PM -0600, Carl Sorensen wrote:
>> 
>> On 10/23/09 5:52 PM, "Ian Hulin" <ian@xxxxxxxxxxxx> wrote:
>> 
>>> music-functions-init.ly adds three new functions
>>> * \bookOutputSuffix - to set the output suffix for the \book block
>>> * \bookOutputName - to set output filename for the current \book block
>>> * \bookOuptutNameRevert - to restore the the output filename to the value
>>> prior to that of the last \bookOuputName call.
>> 
>> I think these functions should be named
>> 
>> \setBookOutputSuffix
>> \setBookOutputName
>> \revertBookOutputName
> 
> Nooooo!  Having \set vs. \setBlahBlah is a nightmare for newbies.
> Sorry, my brain is fried at the moment, so I have no alternative
> suggestions.

You're right, of course.

The problem is that Ian wants to really have a revert option (and we can't
use revert either, because of confusion with \revert).

How about

\useBookOuptutSuffix
\useBookOutputName
\usePreviousBookOutputName

or 

\bookOutputSuffix
\bookOutputName
\bookOutputNameUsePrevious  (I hate the english of this, but it sorts where
it belongs and it captures the intent).

Carl


---

----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/