X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Foutput-tex.scm;h=af663cbf0e71f0fb348f4d19894b092d3969286b;hb=1a14af4c5977b42d4498da4317b129438aaa6325;hp=3a3e023ebe77e302b0c65341a7763cc7ce91cb65;hpb=7eaeba29769613cb105e71ac40a71746d1601d90;p=lilypond.git diff --git a/scm/output-tex.scm b/scm/output-tex.scm index 3a3e023ebe..af663cbf0e 100644 --- a/scm/output-tex.scm +++ b/scm/output-tex.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 1998--2006 Jan Nieuwenhuizen +;;;; (c) 1998--2007 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys @@ -27,7 +27,6 @@ dashed-slur named-glyph dashed-line - zigzag-line comment repeat-slash placebox @@ -43,7 +42,6 @@ (use-modules (ice-9 regex) (ice-9 string-fun) - (ice-9 format) (guile) (srfi srfi-13) (scm framework-tex) @@ -95,15 +93,12 @@ "\\char" (number->string subidx)) (begin - (ly:warning (_ "can't find ~a in ~a" name font)) + (ly:warning (_ "cannot find ~a in ~a" name font)) "")))) (define (dashed-line thick on off dx dy phase) (embedded-ps (list 'dashed-line thick on off dx dy phase))) -(define (zigzag-line centre? zzw zzh thick dx dy) - (embedded-ps (list 'zigzag-line centre? zzw zzh thick dx dy))) - (define (embedded-ps expr) (let ((ps-string (with-output-to-string @@ -130,7 +125,7 @@ (embedded-ps (list 'round-filled-box x y width height blotdiam))) (define (text font s) - (format + (format #f "\\hbox{\\~a{}~a}" (tex-font-command font) (sanitize-tex-string s))) @@ -157,8 +152,6 @@ (define (no-origin) "") - - (define-public (line-location file line col) "Print an input location, without column number ." (string-append (number->string line) " " file))