X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Foutput-tex.scm;h=dc53b5a932bdec8d5074b4a3ff75b312ff0faa04;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=a07bf77ac334409d422bce4157927c2ba4a5854b;hpb=744614ec4497e540fbaa6ad9bf6e842f4b99442a;p=lilypond.git diff --git a/scm/output-tex.scm b/scm/output-tex.scm index a07bf77ac3..dc53b5a932 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--2008 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 (_ cannot 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))