Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(273)

Side by Side Diff: Documentation/notation/input.itely

Issue 330040043: Doc: Add how to change the notation fonts
Patch Set: Created 6 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 2
3 @ignore 3 @ignore
4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5 5
6 When revising a translation, copy the HEAD committish of the 6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors' 7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes.. 8 Guide, node Updating translation committishes..
9 @end ignore 9 @end ignore
10 10
(...skipping 2786 matching lines...) Expand 10 before | Expand all | Expand 10 after
2797 Here are a few sample bars of music set in Gonville: 2797 Here are a few sample bars of music set in Gonville:
2798 2798
2799 @c NOTE: these images are a bit big, but that's important 2799 @c NOTE: these images are a bit big, but that's important
2800 @c for the font comparison. -gp 2800 @c for the font comparison. -gp
2801 @sourceimage{Gonville_after,15cm,,} 2801 @sourceimage{Gonville_after,15cm,,}
2802 2802
2803 Here are a few sample bars of music set in LilyPond's Feta glyphs: 2803 Here are a few sample bars of music set in LilyPond's Feta glyphs:
2804 2804
2805 @sourceimage{Gonville_before,15cm,,} 2805 @sourceimage{Gonville_before,15cm,,}
2806 2806
2807 @subsubheading Installation Instructions for MacOS 2807 @subsubheading Installation Instructions
2808 2808
2809 Download and extract the zip file. Copy the @code{lilyfonts} 2809 Download and extract the font files.
2810 directory to @file{@var{SHARE_DIR}/lilypond/current}; for more 2810 Copy the
2811 information, see @rlearning{Other sources of information}. Rename the 2811 @file{gonville-11.otf},
2812 existing @code{fonts} directory to @code{fonts_orig} and the 2812 @file{gonville-13.otf},
2813 @code{lilyfonts} directory to @code{fonts}. To revert back to Feta, 2813 @file{gonville-14.otf},
2814 reverse the process. 2814 @file{gonville-16.otf},
2815 @file{gonville-18.otf},
2816 @file{gonville-20.otf},
2817 @file{gonville-23.otf},
2818 @file{gonville-26.otf}, and @file{gonville-brace.otf}
2819 files to @file{@dots{}/share/lilypond/current/fonts/otf} or
2820 @file{@dots{}/share/lilypond/@var{X.Y.Z}/fonts/otf}.
2821 If you have @file{gonville-*.svg} and @file{gonville-*.woff} files,
2822 copy them to @file{@dots{}/share/lilypond/current/fonts/svg} or
2823 @file{@dots{}/share/lilypond/@var{X.Y.Z}/fonts/svg}.
2824 For more information, see @rlearning{Other sources of information}.
2825
2826 Note: @file{gonville-*.otf} files are
2827 for @code{ps} and @code{eps} backend (for PDF and PostScript outputs).
2828 @file{gonville-*.svg} files are
2829 for @code{svg} backend without @code{svg-woff} option.
2830 @file{gonville-*.woff} files are
2831 for @code{svg} backend with @code{svg-woff} option.
2832 For more information, see @rprogram{Advanced command line options for LilyPond}.
2833
2834 The following syntax changes the notation font (general and brace)
2835 to the Gonville font.
2836
2837 @example
2838 \paper @{
2839 #(define fonts
2840 (set-global-fonts
2841 #:music "gonville"
2842 #:brace "gonville"
2843 ))
2844 @}
2845 @end example
tisimst 2017/08/17 20:19:58 I think it would be prudent to show all the inputs
trueroad 2017/08/18 03:36:36 I've added detail in `text.itely`.
2815 2846
2816 @seealso 2847 @seealso
2817 Learning Manual: 2848 Learning Manual:
2818 @rlearning{Other sources of information}. 2849 @rlearning{Other sources of information}.
2819 2850
2820 Notation Reference: 2851 Notation Reference:
2821 @ref{The Emmentaler font}. 2852 @ref{The Emmentaler font},
2853 @ref{Entire document fonts}.
2822 2854
2823 @knownissues 2855 @knownissues
2824 Gonville cannot be used to typeset @q{Ancient Music} notation and it is 2856 Gonville cannot be used to typeset @q{Ancient Music} notation and it is
2825 likely newer glyphs in later releases of LilyPond may not exist in the 2857 likely newer glyphs in later releases of LilyPond may not exist in the
2826 Gonville font family. Please refer to the author's website for more 2858 Gonville font family. Please refer to the author's website for more
2827 information on these and other specifics, including licensing of 2859 information on these and other specifics, including licensing of
2828 Gonville. 2860 Gonville.
2829 2861
2862 @subsubheading Other notation fonts
2863
2864 If you have other notation fonts like @file{@var{fontname}-*.otf},
2865 @file{@var{fontname}-*.svg}, and @file{@var{fontname}-*.woff},
2866 you can use them in the same way as Gonville.
tisimst 2017/08/17 20:19:58 This is true, but at the moment, the only allowed
trueroad 2017/08/18 03:36:36 Done.
2867
2868 That is, copy the
2869 @file{@var{fontname}-*.otf}
2870 files to @file{@dots{}/share/lilypond/current/fonts/otf} or
2871 @file{@dots{}/share/lilypond/@var{X.Y.Z}/fonts/otf}.
2872 If you have @file{@var{fontname}-*.svg} and @file{@var{fontname}-*.woff} files,
2873 copy them to @file{@dots{}/share/lilypond/current/fonts/svg} or
2874 @file{@dots{}/share/lilypond/@var{X.Y.Z}/fonts/svg}.
2875
2876 The following syntax changes the notation font (general and brace)
2877 to the @var{fontname} font.
2878
2879 @example
2880 \paper @{
2881 #(define fonts
2882 (set-global-fonts
2883 #:music "@var{fontname}"
2884 #:brace "@var{fontname}"
2885 ))
2886 @}
2887 @end example
2830 2888
2831 @node Creating MIDI output 2889 @node Creating MIDI output
2832 @section Creating MIDI output 2890 @section Creating MIDI output
2833 2891
2834 @cindex Sound 2892 @cindex Sound
2835 @cindex MIDI 2893 @cindex MIDI
2836 2894
2837 LilyPond can produce files that conform to the MIDI (Musical Instrument 2895 LilyPond can produce files that conform to the MIDI (Musical Instrument
2838 Digital Interface) standard and so allow for the checking of the music 2896 Digital Interface) standard and so allow for the checking of the music
2839 output aurally (with the help of an application or device that 2897 output aurally (with the help of an application or device that
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
3696 3754
3697 3755
3698 @knownissues 3756 @knownissues
3699 3757
3700 Not all lilypond music events are supported by 3758 Not all lilypond music events are supported by
3701 @file{event-listener.ly}. It is intended to be a well-crafted 3759 @file{event-listener.ly}. It is intended to be a well-crafted
3702 @qq{proof of concept}. If some events that you want to see are 3760 @qq{proof of concept}. If some events that you want to see are
3703 not included, copy @file{event-listener.ly} into your lilypond 3761 not included, copy @file{event-listener.ly} into your lilypond
3704 directory and modify the file so that it outputs the information 3762 directory and modify the file so that it outputs the information
3705 you want. 3763 you want.
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b