I think this should eventually be handled by some automated documentation 
mechanism for public scheme functions.  Such a mechanism would also document 
the other functions in /scm/stencil.scm and elsewhere that aren't currently 
documented.

Here’s a post from David Nalesnik with a script that's a big step in this 
direction:

http://lists.gnu.org/archive/html/lilypond-user/2015-04/msg00132.html

Seems like a matter of integrating this kind of script into the 
/scm/documentation-generate.scm file (or a similar, parallel file) so that it 
would produce a listing like this:

http://lilypond.org/doc/v2.18/Documentation/notation/scheme-functions

(Note: that list is not all Scheme functions, just the C++ functions that are 
accessible via Scheme.)

But such automated documentation would be a separate issue.  So, if there's 
interest in just documenting stencil-flip here’s an example where it is used to 
flip the clef glyphs horizontally.

\version “2.19”

\new Staff \with {
 \override Clef.stencil = #(lambda (grob)
                             (flip-stencil X (ly:clef::print grob)))
} {
 \clef treble
 g'1
 \clef bass
 g1
}


---

** [issues:#4590] Document stencil-flip function**

**Status:** Accepted
**Created:** Thu Sep 03, 2015 04:38 PM UTC by Trevor Daniels
**Last Updated:** Thu Sep 03, 2015 04:38 PM UTC
**Owner:** nobody


The stencil-flip function was added in [Issue 4370](#4370), but not documented.


---

Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to