bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lilypond-book problems in Windows


From: Mats Bengtsson
Subject: Lilypond-book problems in Windows
Date: Fri, 07 Sep 2001 18:10:24 +0200

It turns out that MiKTeX uses the wrong method to
determine if tex or pdftex is used. This means
that our check of \pdfoutput in lilyponddefs.tex
doesn't work correctly. 

I found a workaround on the net and applied, 
see the patch below.

  /Mats

--- tex/lilyponddefs.tex~       Thu Aug 30 16:17:25 2001
+++ tex/lilyponddefs.tex        Fri Sep  7 18:06:13 2001
@@ -55,11 +55,17 @@
         \botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
 
 % Are we using PDFTeX?  If so, use pdf definitions.
+% MiKTeX checks \pdfoutput the wrong way, makes our
+% check more complicated.
 \ifx\pdfoutput\undefined  
   \input lily-ps-defs
 \else
-  \pdfoutput=1
-  \input lily-pdf-defs
+  \ifx\pdfoutput\relax
+    \input lily-ps-defs
+  \else
+    \pdfoutput=1
+    \input lily-pdf-defs
+  \fi
 \fi
 
 \def\EndLilyPondOutput{%





reply via email to

[Prev in Thread] Current Thread [Next in Thread]