]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/framework-eps.scm (dump-stencils-as-EPSes): just strip
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 20 Jul 2006 13:41:42 +0000 (13:41 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 20 Jul 2006 13:41:42 +0000 (13:41 +0000)
.eps extension from includegraphics.

* scripts/lilypond-book.py (main): add support for --pdf.

* lily/spacing-determine-loose-columns.cc (is_loose_column):
support float_grace_columns_.

* Documentation/topdocs/NEWS.tely (Top): doc tupletFullLengthNote.

* Documentation/topdocs/NEWS.tely (Top): document new feature.

ChangeLog
scm/framework-eps.scm
scripts/lilypond-book.py

index df8dfbaa9f6175adfb61831a1ef4e831e75f0ec9..ca4bbeed67f93c59ad9d349b90fe71a77660c2e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-07-20  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * scm/framework-eps.scm (dump-stencils-as-EPSes): just strip
+       .eps extension from includegraphics.
+
        * scripts/lilypond-book.py (main): add support for --pdf. 
 
        * lily/spacing-spanner.cc (calc_common_shortest_duration): use
index 23f5779f869981fb85b49fadb3e3ede7a6ca2391..5026f6126ff8890616c40610c26a4dea6a8d4403 100644 (file)
@@ -70,15 +70,12 @@ stencil, so LaTeX includegraphics doesn't fuck up the alignment."
 
   ;; main body 
   (let* ((tex-system-name (format "~a-systems.tex" basename))
-        (pdftex-system-name (format "~a-systems.pdftex" basename))
         (texi-system-name (format "~a-systems.texi" basename))
         (tex-system-port (open-output-file tex-system-name))
-        (texi-system-port (open-output-file texi-system-name))
-        (pdftex-system-port (open-output-file pdftex-system-name)))
+        (texi-system-port (open-output-file texi-system-name)))
     
     (ly:message (_ "Writing ~a...") tex-system-name)
     (ly:message (_ "Writing ~a...") texi-system-name)
-    (ly:message (_ "Writing ~a...") pdftex-system-name)
 
     (set! stencils (widen-left-stencil-edges stencils))
     
@@ -91,10 +88,8 @@ stencil, so LaTeX includegraphics doesn't fuck up the alignment."
   \\betweenLilyPondSystem{~a}
 \\fi
 " c) tex-system-port))
-               (display (format "\\includegraphics{~a-~a.eps}\n"
+               (display (format "\\includegraphics{~a-~a}\n"
                                 basename (1+ c)) tex-system-port)
-               (display (format "\\includegraphics{~a-~a.pdf}\n"
-                                basename (1+ c)) pdftex-system-port)
                (display (format "@image{~a-~a}\n"
                                 basename (1+ c)) texi-system-port))
              (iota (length stencils)))
index 433f7712fbf23b0b4ac3d9e82a4fbbb1bf71016d..abba494907f16aa8246942c914c1530f29fdf2f8 100644 (file)
@@ -563,7 +563,7 @@ output = {
  \preLilyPondExample%%
 \fi%%
 \def\lilypondbook{}%%
-\input %(base)s-systems.%(texextension)s%%
+\input %(base)s-systems.tex%%
 \ifx\postLilyPondExample \undefined%%
  \relax%%
 \else%%
@@ -1164,9 +1164,6 @@ class Lilypond_snippet (Snippet):
                 verb = self.substring ('code')
                 str += (output[LATEX][VERBATIM] % vars ())
 
-        texextension = 'tex'
-        if global_options.create_pdf:
-            texextension = 'pdftex'
         str += (output[LATEX][OUTPUT] % vars ())
 
         ## todo: maintain breaks