emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-24 r117559: Fix bug #18636 with documentation of


From: David Kastrup
Subject: Re: [Emacs-diffs] emacs-24 r117559: Fix bug #18636 with documentation of multi-monitor displays.
Date: Thu, 09 Oct 2014 22:17:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Glenn Morris <address@hidden> writes:

> It also says:
>
>   It would be straightforward to extend Texinfo to work in a
>   similar fashion for C, Fortran, or other languages.
>
> (All the cool, hip languages!)
>
> The fact that no-one ever bothered, and that @lisp is used a grand total
> of 16 times in the Emacs Lisp Reference manual, indicates to me that
> this feature is... pointless. But YMMV.

address@hidden:/usr/local/tmp/lilypond$ git grep '@lilypond' Documentation|wc -l
9097

And indeed, the @lilypond passages are extracted and compiled separately
as LilyPond code, then the images are reinserted into the output.

With an input like

    @node String number indications
    @unnumberedsubsubsec String number indications

    @cindex string numbers
    @cindex string vs. fingering numbers
    @cindex fingering vs. string numbers

    The string on which a note should be played may be indicated by
    appending @address@hidden to a note.

    @lilypond[verbatim,quote,relative=0]
    \clef "treble_8"
    c4\5 e\4 g2\3
    <c,\5 e\4 g\3>1
    @end lilypond

    When fingerings and string indications are used together, their
    placement can be controlled by the order in which the two items appear
    in the code @emph{only} if they appear inside of an explicit chord:

generating output like

PNG image

or the web page

<URL:http://lilypond.org/doc/v2.19/Documentation/notation/common-notation-for-fretted-strings#string-number-indications>

So while the idea might not have caught on in general, in LilyPond's
documentation it is used several thousands of times.

-- 
David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]