]> git.donarmstrong.com Git - lilypond.git/commitdiff
Update bibliography templates and titles
authorPhil Holmes <mail@philholmes.net>
Tue, 15 Feb 2011 17:35:43 +0000 (17:35 +0000)
committerGraham Percival <graham@percival-music.ca>
Wed, 16 Feb 2011 19:36:58 +0000 (19:36 +0000)
Changes the bibliography titles and stops outputting the
citations themselves.

Documentation/essay/literature.itely
Documentation/essay/texi-long.bst
Documentation/web/texi-web.bst

index 2be07164f4d99b87cf05d33cc0134723123e964b..dcd7ac7610b8057c69a6ed346bcc2d551e7bab6d 100644 (file)
@@ -84,15 +84,15 @@ practices.
 @node Long literature list
 @section Long literature list
 
-@subheading Colorado
+@subheading University of Colorado Engraving music bibliography
 
 @include colorado.itexi
 
-@subheading Computer notation
+@subheading Computer notation bibliography
 
 @include computer-notation.itexi
 
-@subheading Engraving
+@subheading Engraving bibliography
 
 @include engravingbib.itexi
 
index a2406481d50e9ab0dea9b75fbf4e25b0c0b98d7d..f1a0f78c2ee90e5f443af8a0bb20fdc1753168d9 100644 (file)
@@ -1,3 +1,6 @@
+% 15 Feb 2011:
+% Updates to prevent citation titles being written to the bibliography
+% and get rid of &nbsp; - the ampersand is later translated to &amp;
 % 18/aug/2010:
 %    - changed into texi-long.bst by Graham Percival for GNU LilyPond
 %    - only a minimum of changes were made; some html remains in
@@ -100,10 +103,12 @@ FUNCTION {output.check}
 
 % DFK changed to use cite$ for the label
 % DFK changed to texinfo, and use URL to make cite key a link
+% PEH changed to stop writing citation to output
 FUNCTION {output.bibitem}
 { newline$
   URL empty$
-    { "@item @code{[" cite$ * "]} " * write$ newline$
+%    { "@item @code{[" cite$ * "]} " * write$ newline$
+    { "@item " write$
     }
     { "" quote$ * cite$ * quote$ * " HREF=" * quote$ *
        URL * quote$ * "> " * cite$ * ":</A></DT>" * write$
@@ -266,7 +271,7 @@ FUNCTION {format.names}
                'skip$
              if$
              t "others" =
-               { " et&nbsp;al." * }
+               { " et al." * }
                { " and " * t * }
              if$
            }
@@ -354,9 +359,11 @@ FUNCTION {format.btitle}
 { title author.title.purify strong
 }
 
+%PEH changed "&nbsp;" to " " in 2nd line to avoid & being changed to &amp; later
+% looks daft but going for minimum changes
 FUNCTION {tie.or.space.connect}
 { duplicate$ text.length$ #3 <
-    { "&nbsp;" }
+    { " " }
     { " " }
   if$
   swap$ * *
@@ -544,11 +551,11 @@ FUNCTION {format.crossref.editor}
 { editor #1 "{vv~}{ll}" format.name$
   editor num.names$ duplicate$
   #2 >
-    { pop$ " et&nbsp;al." * }
+    { pop$ " et al." * }
     { #2 <
        'skip$
        { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-           { " et&nbsp;al." * }
+           { " et al." * }
            { " and " * editor #2 "{vv~}{ll}" format.name$ * }
          if$
        }
index 32fe613e9c7e7e11282e5cc4ae8269bb39e4b858..290c8614e192b15a0a84953be8e608041cdb5fd9 100644 (file)
@@ -266,7 +266,7 @@ FUNCTION {format.names}
                'skip$
              if$
              t "others" =
-               { " et&nbsp;al." * }
+               { " et al." * }
                { " and " * t * }
              if$
            }
@@ -354,9 +354,10 @@ FUNCTION {format.btitle}
 { title author.title.purify strong
 }
 
+% PEH - the 2 same lines below are because I replaced &nbsp; with a space
 FUNCTION {tie.or.space.connect}
 { duplicate$ text.length$ #3 <
-    { "&nbsp;" }
+    { " " }
     { " " }
   if$
   swap$ * *
@@ -543,11 +544,11 @@ FUNCTION {format.crossref.editor}
 { editor #1 "{vv~}{ll}" format.name$
   editor num.names$ duplicate$
   #2 >
-    { pop$ " et&nbsp;al." * }
+    { pop$ " et al." * }
     { #2 <
        'skip$
        { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
-           { " et&nbsp;al." * }
+           { " et al." * }
            { " and " * editor #2 "{vv~}{ll}" format.name$ * }
          if$
        }