X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-identifiers.scm;h=838de55e558db9bad72d1fafc3972318dd2ce54a;hb=55cdf3441eca8d6489c486767cf8013b08e8b32e;hp=0d6793428848f5cd589d436e2ada49a394de9687;hpb=18b1975ebc7601abf5fb49df87d5a965c53fce9b;p=lilypond.git diff --git a/scm/document-identifiers.scm b/scm/document-identifiers.scm index 0d67934288..838de55e55 100644 --- a/scm/document-identifiers.scm +++ b/scm/document-identifiers.scm @@ -1,11 +1,19 @@ -;; -;; document-identifiers.scm -- implement documentation -;; of identifiers from .ly file. -;; -;; source file of the GNU LilyPond music typesetter -;; -;; (c) 2006 Han-Wen Nienhuys -;; +;;;; This file is part of LilyPond, the GNU music typesetter. +;;;; +;;;; Copyright (C) 2006--2011 Han-Wen Nienhuys +;;;; +;;;; LilyPond is free software: you can redistribute it and/or modify +;;;; it under the terms of the GNU General Public License as published by +;;;; the Free Software Foundation, either version 3 of the License, or +;;;; (at your option) any later version. +;;;; +;;;; LilyPond is distributed in the hope that it will be useful, +;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;;; GNU General Public License for more details. +;;;; +;;;; You should have received a copy of the GNU General Public License +;;;; along with LilyPond. If not, see . (use-modules (ice-9 format)) @@ -23,11 +31,11 @@ (signature-str (string-join - (map (lambda (x) (format "@var{~a} (~a)" + (map (lambda (x) (format #f "@var{~a} (~a)" (car x) (cadr x))) (zip arg-names type-names))))) - (format + (format #f "@item @code{~a}~a~a @findex ~a ~a @@ -44,15 +52,8 @@ (else #f))) - -(define (identifierstring (car a)) - (symbol->string (car b)))) - - (define-public (identifiers-doc-string) - (format + (format #f "@table @asis ~a @end table