]> git.donarmstrong.com Git - lilypond.git/commitdiff
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
authorJohn Mandereau <john.mandereau@gmail.com>
Sat, 6 Dec 2008 13:33:10 +0000 (14:33 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sat, 6 Dec 2008 13:33:10 +0000 (14:33 +0100)
Documentation/user/text.itely
ROADMAP
input/regression/font-postscript.ly
lily/text-interface.cc
scm/define-grob-properties.scm
scm/encoding.scm
tex/GNUmakefile
tex/quotes.patch [deleted file]

index 04b1720913aabccb4d070d7cda74cbffb3ec43fa..70d4bcaf8e801f3b0444c968d517e418691095ff 100644 (file)
@@ -316,42 +316,8 @@ requires, are described in @ref{Multi-page markup}.
 
 @snippets
 
-@ignore
-@c TODO Replace following example with this snippet when available
-@c Submitted to LSR 30 Nov 08
 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{stand--alone-two--column-markup.ly}
-@end ignore
-
-Stand-alone text may be arranged in several columns using @code{\markup}
-commands:
-
-@lilypond[verbatim,quote]
-\markup {
- \fill-line {
-  \hspace #1.0
-  \column {
-   \line {"O sacrum convivium" }
-   \line {"in quo Christus sumitur," }
-   \line {"recolitur memoria passionis ejus," }
-   \line {"mens impletur gratia," }
-   \line {"futurae gloriae nobis pignus datur." }
-   \line {"Amen."}
-  }
-  \hspace #2
-  \column {
-   \line { \italic {"O sacred feast"} }
-   \line { \italic {"in which Christ is received,"} }
-   \line { \italic {"the memory of His Passion is renewed,"} }
-   \line { \italic {"the mind is filled with grace," } }
-   \line { \italic {"and a pledge of future glory is given to us." }}
-   \line { \italic {"Amen."}}
-  }
-  \hspace #1.0
- }
-}
-@end lilypond
-@seealso
+{stand-alone-two-column-markup.ly}
 
 @seealso
 Notation Reference: @ref{Formatting text},
diff --git a/ROADMAP b/ROADMAP
index 59a4fbecbd2c0b2d612a2665a4c133b7b3da226d..4ec2eec4bd5e19185fc4bef1c29e94e059a59637 100644 (file)
--- a/ROADMAP
+++ b/ROADMAP
@@ -9,42 +9,40 @@ LilyPond development is hosted at:
 Here is a simple explanation of the directory layout for LilyPond's
 source files.
 
-   .                   Toplevel READMEs, ChangeLog, build bootstrapping,
-                       patches for third party programs
+   .                    Toplevel READMEs, ChangeLog, build bootstrapping,
+                          patches for third party programs
    Documentation/
-       bibliography/   .bib files with references to books and articles
-       misc/           Old announcements, ChangeLogs and NEWS
-       pictures/       The logo
-       topdocs/                Sources for the toplevel READMEs
-                       (README.txt, INSTALL.txt, NEWS.txt etc.)
-       user/           User manuals
-       po/              translated manual node names
-       fr/ es/ de/      docs translated to French, Spanish, German resp.
-   buildscripts/       Scripts for the build process
-   elisp/              Emacs LilyPond mode and syntax coloring
-   flower/             A simple c++ library
-       include/
-   input/              Music input examples
-       lsr/         Snippets from the LilyPond Snippet Repository
-                    (auto-generated, do not modify!)
-       manual/      Examples from the manual
-       mutopia/                Real music, more at www.mutopiaproject.org
-       new/         Snippets which are too new for LSR
-       regression/     Testing of features, one test per file
-       texidocs/    Translations of texidoc and doctitle fields
-                    (for input/lsr)
-       tutorial/       Examples from the tutorial 
-   lily/               C++ sources for LilyPond (lilypond-bin)
-     include/
-   ly/                 System music include files
-   make/               Specific make subroutines and packaging for
-                       Red Hat-like distributions (.spec files)
-   mf/                 MetaFont sources for the feta font
-   po/                 Translations
-   ps/                 PostScript library files
-   python/             Python modules, MIDI module
-   scm/                        Scheme sources for LilyPond and subroutine files
-   scripts/            End-user scripts
-   stepmake/           Generic make subroutine files
-   tex/                        TeX library files
-   vim/                        Vi(M) LilyPond mode and syntax coloring
+       bibliography/    .bib files with references to books and articles
+       misc/            Old announcements, ChangeLogs and NEWS
+       pictures/        The logo
+       topdocs/         Sources for the toplevel READMEs
+                          (README.txt, INSTALL.txt, NEWS.txt etc.)
+       user/            User manuals
+       po/              Translated manual node names
+       fr/ es/ de/      Docs translated to French, Spanish, German, resp.
+   buildscripts/        Scripts for the build process
+   elisp/               Emacs LilyPond mode and syntax coloring
+   flower/              A simple C++ library
+   input/               Music input examples
+       lsr/             Snippets from the LilyPond Snippet Repository
+                          (auto-generated, do not modify!)
+       manual/          Examples from the manual
+       mutopia/         Real music, more at www.mutopiaproject.org
+       new/             Snippets which are too new for LSR
+       regression/      Testing of features, one test per file
+       texidocs/        Translations of texidoc and doctitle fields
+                          (for input/lsr)
+       tutorial/        Examples from the tutorial 
+   lily/                C++ sources for the LilyPond binary
+   ly/                  System music include files
+   make/                Specific make subroutines and packaging for
+                          Red Hat-like distributions (.spec files)
+   mf/                  MetaFont sources for the Emmentaler and Aybabtu fonts
+   po/                  Translations for binaries and end-user scripts
+   ps/                  PostScript library files
+   python/              Python modules, MIDI module
+   scm/                 Scheme sources for LilyPond and subroutine files
+   scripts/             End-user scripts
+   stepmake/            Generic make subroutine files
+   tex/                 TeX and texinfo library files
+   vim/                 Vi(M) LilyPond mode and syntax coloring
index 4144763962c30bb1d1d16d68db6c9afd2a547260..d061343bfa88c564273d1a83b3f8c09029c33ff6 100644 (file)
@@ -1,47 +1,29 @@
 \header {
-
-    texidoc = "This file demonstrates how to load different
-    (postscript) fonts. The file @file{font.scm} shows how to define
-    the scheme-function @code{make-century-schoolbook-tree}.
-
-    This file should be run with the TeX and extra options should be
-    passed to LaTeX and dvips to help it find the uncb font."
-
+  texidoc = "This file demonstrates how to load different (postscript)
+fonts.  The file @file{font.scm} shows how to define the scheme-function
+@code{make-century-schoolbook-tree}."
 }
+
 \version "2.11.51"
 
-\paper
-{
-    #(define text-font-defaults
-      '((font-encoding . latin1)
-       (baseline-skip . 2)
-       (word-space . 0.6)))
+\paper {
+  #(define text-font-defaults
+    '((font-encoding . latin1)
+      (baseline-skip . 2)
+      (word-space . 0.6)))
 
-    #(set! fonts (make-century-schoolbook-tree 1.0))
+  #(set! fonts (make-century-schoolbook-tree 1.0))
 }
 
-%ugh.
-% do this here so we don't forget the connection with
-% this file.
-#(system "afm2tfm `kpsewhich uncb8a.afm` uncb8a.tfm") 
-
 \layout {
-    line-width = 160 \mm - 2.0 * 9.0 \mm
+  line-width = 160 \mm - 2.0 * 9.0 \mm
 
-    
-    indent = 0.0\mm
-    ragged-right = ##t
+  indent = 0.0\mm
+  ragged-right = ##t
 }
 
 {
-    \key a \major
-    \time 6/8
-    cis''8.
-
-%% uncomment to test postscript fonts. 
-% ^"test!"
-
-    
-    
-    d''16 cis''8 e''4 e''8
+  \key a \major
+  \time 6/8
+  cis''8.^"test!" d''16 cis''8 e''4 e''8
 }
index 0feb99adb6c57991ee6491fc912ec0386f381f89..480d2726a2f0282b0ffffe9caf33fd1ecd7720b6 100644 (file)
@@ -72,8 +72,8 @@ MAKE_SCHEME_CALLBACK_WITH_OPTARGS (Text_interface, interpret_markup, 3, 0,
 "  Takes three arguments, @var{layout}, @var{props}, and @var{markup}.\n"
 "\n"
 "@var{layout} is a @code{\\layout} block; it may be obtained from a grob with"
-" @code{ly:grob-layout}.  @var{props} is a alist chain, ie. a list of alists."
-"  This is typically obtained with"
+" @code{ly:grob-layout}.  @var{props} is an alist chain, i.e. a list of"
+"  alists.  This is typically obtained with"
 " @code{(ly:grob-alist-chain (ly:layout-lookup layout 'text-font-defaults))}."
 "  @var{markup} is the markup text to be processed.");
 SCM
index 36f598e22bfb41ec7ef2fba23ee0ce119db28e59..b697af3b300136ab1487802c96fdb4e976a86dbd 100644 (file)
@@ -169,7 +169,7 @@ be used: @code{#UP}=@code{1}, @code{#DOWN}=@code{-1},
 @code{#LEFT}=@code{-1}, @code{#RIGHT}=@code{1}, @code{#CENTER}=@code{0}.")
      (dot-count ,integer? "The number of dots.")
      (dot-negative-kern ,number? "The space to remove between a dot
-a and slash in percent repeat glyphs.  Larger values bring the two
+and a slash in percent repeat glyphs.  Larger values bring the two
 elements closer together.")
      (dot-placement-list ,list? "List 
 consisting of @code{(@var{description} @var{string-number} 
@@ -525,7 +525,7 @@ dot.")
 number, the quicker the slur attains its @code{height-limit}.")
      (remove-empty ,boolean? "If set, remove group if it contains no
 interesting items.")
-     (remove-first ,boolean? "Remove the first staff of a orchestral
+     (remove-first ,boolean? "Remove the first staff of an orchestral
 score?")
      (restore-first ,boolean? "Print a natural before the
 accidental.")
index 0974c39d03e36d0b21353f45128fd1711bc33783..d500c0c270b20c9f6302bd9ee8e9579961f5d298 100644 (file)
@@ -1,12 +1,49 @@
 ;;;; encoding.scm -- font encoding
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
-;;;; 
+;;;;
 ;;;; (c) 2004--2008 Jan Nieuwenhuizen <janneke@gnu.org>
 
-
-
-(define-public latin1-coding-vector #(.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef space exclam quotedbl numbersign dollar percent ampersand quoteright parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef dotlessi grave acute circumflex tilde macron breve dotaccent dieresis .notdef ring cedilla .notdef hungarumlaut ogonek caron space exclamdown cent sterling currency yen brokenbar section dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron degree plusminus twosuperior threesuperior acute mu paragraph periodcentered cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls agrave aacute acircumflex atilde adieresis aring ae ccedilla egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis eth ntilde ograve oacute ocircumflex otilde odieresis divide oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis))
+(define-public latin1-coding-vector
+  #(.notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    %% 0x20
+    space exclam quotedbl numbersign dollar percent ampersand quoteright
+    parenleft parenright asterisk plus comma hyphen period slash
+    zero one two three four five six seven
+    eight nine colon semicolon less equal greater question
+    %% 0x40
+    at A B C D E F G
+    H I J K L M N O
+    P Q R S T U V W
+    X Y Z bracketleft backslash bracketright asciicircum underscore
+    %% 0x60
+    `quoteleft a b c d e f g
+    h i j k l m n o
+    p q r s t u v w
+    x y z braceleft bar braceright asciitilde .notdef
+    %% 0x80
+    .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    .notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef
+    dotlessi grave acute circumflex tilde macron breve dotaccent
+    dieresis .notdef ring cedilla .notdef hungarumlaut ogonek caron
+    %% 0xA0
+    space exclamdown cent sterling currency yen brokenbar section
+    dieresis copyright ordfeminine guillemotleft logicalnot hyphen registered macron
+    degree plusminus twosuperior threesuperior acute mu paragraph periodcentered
+    cedilla onesuperior ordmasculine guillemotright onequarter onehalf threequarters questiondown
+    %% 0xC0
+    Agrave Aacute Acircumflex Atilde Adieresis Aring AE Ccedilla
+    Egrave Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis
+    Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis multiply
+    Oslash Ugrave Uacute Ucircumflex Udieresis Yacute Thorn germandbls
+    %% 0xE0
+    agrave aacute acircumflex atilde adieresis aring ae ccedilla
+    egrave eacute ecircumflex edieresis igrave iacute icircumflex idieresis
+    eth ntilde ograve oacute ocircumflex otilde odieresis divide
+    oslash ugrave uacute ucircumflex udieresis yacute thorn ydieresis))
 
 
 (define-public (decode-byte-string str)
@@ -15,10 +52,9 @@ assuming that STR is byte-coded using ENCODING-NAME."
 
   (let* ((len (string-length str))
         (output-vector (make-vector len '.notdef)))
-
     (do
        ((idx 0 (1+ idx)))
        ((>= idx len) output-vector)
       (vector-set! output-vector idx
-                    (vector-ref latin1-coding-vector
-                                (char->integer (string-ref str idx)))))))
+                  (vector-ref latin1-coding-vector
+                              (char->integer (string-ref str idx)))))))
index 51302a630905979712051da8bb09bc3092259b0f..bc9dcc9201355f15d5eb99b3a87b78ebfba0d633 100644 (file)
@@ -1,11 +1,11 @@
 depth = ..
 
 TEX_FILES = $(filter-out texinfo.tex, $(call src-wildcard,*.tex))
-EXTRA_DIST_FILES = $(TEX_FILES) texinfo.tex quotes.patch
-STEPMAKE_TEMPLATES=install install-out
+EXTRA_DIST_FILES = $(TEX_FILES) texinfo.tex
+STEPMAKE_TEMPLATES = install install-out
 
-INSTALLATION_DIR=$(local_lilypond_datadir)/tex/
-INSTALLATION_FILES=$(TEX_FILES)
+INSTALLATION_DIR = $(local_lilypond_datadir)/tex/
+INSTALLATION_FILES = $(TEX_FILES)
 
 include $(depth)/make/stepmake.make
 
@@ -13,4 +13,3 @@ local-uninstall:
        -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex
 
 all: $(INSTALLATION_FILES)
-
diff --git a/tex/quotes.patch b/tex/quotes.patch
deleted file mode 100644 (file)
index b7bba2e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
---- texinfo/doc/texinfo.tex    2006-06-02 03:19:04.000000000 +0200
-+++ texinfo.tex        2006-06-02 03:19:10.000000000 +0200
-@@ -1878,9 +1878,12 @@
- {
-   \catcode`\-=\active
-   \catcode`\_=\active
-+  \catcode`\'=\active
-   %
-   \global\def\code{\begingroup
-     \catcode`\-=\active  \catcode`\_=\active
-+    \catcode`\'=\active
-+    \let'\singlequotechar
-     \ifallowcodebreaks
-      \let-\codedash
-      \let_\codeunder
-@@ -5059,11 +5062,10 @@
- %
- \maketwodispenvs {lisp}{example}{%
-   \nonfillstart
--  \tt
-+  \tt\quoteexpand
-   \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special.
-   \gobble       % eat return
- }
--
- % @display/@smalldisplay: same as @lisp except keep current font.
- %
- \makedispenv {display}{%
-@@ -5191,6 +5193,12 @@
- \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount
- %
- \def\starttabbox{\setbox0=\hbox\bgroup}
-+%
-+%
-+% Don't replace quotes with curly quotes. This makes cut & pasting
-+% from a PDF file problematic.
-+% 
-+\def\singlequotechar{\char'15\relax}
- \begingroup
-   \catcode`\^^I=\active
-   \gdef\tabexpand{%
-@@ -5203,6 +5211,11 @@
-       \wd0=\dimen0 \box0 \starttabbox
-     }%
-   }
-+  \catcode`\'=\active
-+  \gdef\quoteexpand{%
-+    \catcode`\'=\active
-+    \def'{\singlequotechar}
-+  }%
- \endgroup
- \def\setupverbatim{%
-   \let\nonarrowing = t%
-@@ -5212,6 +5225,7 @@
-   \def\par{\leavevmode\egroup\box0\endgraf}%
-   \catcode`\`=\active
-   \tabexpand
-+  \quoteexpand
-   % Respect line breaks,
-   % print special symbols as themselves, and
-   % make each space count