Fredag den 24. april 1998 skrev Mats:

> Jan Arne, once we have the correct LaTeX font commands, you should add
> \usepackage[latin1]{inputenc}

I have done some testing, and it seems like Mats is right.

ly2dvi.sh version 0.9 (patch against lilypond-0.1.58):

# NEWS :
# 0.9   - Trap Lilypond abort
#       - Replaced "\usepackage[T1]{fontenc}" with
#         \usepackage[latin1]{inputenc} (takk, Mats)
#       - Removed "()" around "\LilyIdString" (Janne didn't want it)

BTW - in los-toros, better use:

title =          "La Feria";
subtitle =       "La Feria\normalsize\\[2ex]Los Toros";

instead of

title =          "La Feria\normalsize\\[2ex]Los Toros";

OK?

-- 
       Jan Arne Fagertun <[EMAIL PROTECTED]>
http://www.termo.unit.no/mtf/people/janaf/          Phone: +47 73533036
NTNU => NT, Not Unix... http://www.nvg.ntnu.no/ntnu/ - better use Linux
--- ly2dvi.sh   Fri Apr 24 22:40:20 1998
+++ ly2dvi.sh-0.9       Fri Apr 24 22:39:52 1998
@@ -8,7 +8,7 @@
 #  Original LaTeX file made by Mats Bengtsson, 17/8 1997
 #
 
-VERSION="0.8"
+VERSION="0.9"
 NAME=ly2dvi.sh
 IDENTIFICATION="$NAME $VERSION" 
 NOW=`date`
@@ -16,12 +16,16 @@
 
 # NEWS
 
+# 0.9  - Trap Lilypond abort
+#      - Replaced "\usepackage[T1]{fontenc}" with
+#        \usepackage[latin1]{inputenc} (takk, Mats)
+#      - Removed "()" around "\LilyIdString" (Janne didn't want it)
+
 # 0.8  - Trap Lilypond segmentation fault
 #      - Function for cleanup
 #      - Trap line
 #      - More human-readable variables
 #      - Some logics concerning rc-files
-
 # 0.7
 #      - Improved Lilypond error checking
 #      - Output orientation (landscape...). Overrides mudela file
@@ -46,7 +50,7 @@
 #      - Handles margins for A4 paper (equal on both sides)
 #      - new option -s (--separate) for one LaTeX run per file,
 #        else all files are run together
-
+#
 # 0.5
 #      - More useful ("two-level") debug.
 #      - The Q&D hack to find file names and not handling \include
@@ -172,7 +176,7 @@
 fi
 LOGFILE=$TMP/lilylog.$$                        # Logfile for lilypond
 PWIDTH=600;                            # Width of A4 paper!
-PHEIGTH=830;                            # Heigth of A4 paper!
+PHEIGTH=845;                            # Heigth of A4 paper!
 #
 # RC-files ?
 #
@@ -414,7 +418,8 @@
 \nonstopmode
 $LLNG
 \usepackage{geometry}
-\usepackage[T1]{fontenc}
+%\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
 %\addtolength{\oddsidemargin}{-1cm}
 %\addtolength{\topmargin}{-1cm}
 \setlength{\textwidth}{$TW}
@@ -449,7 +454,7 @@
 #
 endFile(){
 cat << EOF >> $LF
-\vfill\hfill{(\LilyIdString)}
+\vfill\hfill{\LilyIdString}
 \end{document}
 EOF
 #
@@ -552,7 +557,7 @@
     OF=`egrep '^TeX output to ' $LOGFILE | \\
         sed -e 's/TeX output to//' -e 's/\.\.\.//'`
     $debug_echo "==> "$OF
-    STATUS=`egrep -i "error|segmentation" $LOGFILE`
+    STATUS=`egrep -i "error|segmentation|abort" $LOGFILE`
     echo $STATUS
     if [ ! -z "$STATUS" ]
     then

Reply via email to