From d2069cf3d94bbd85365dfcd474d7e3d919b0cf99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Wed, 1 Sep 1999 21:39:25 -0700
Subject: [PATCH] bugfixes

Rev: tutorial/Makefile:1.51
Rev: tutorial/latex.pike:1.18
Rev: tutorial/tutorial.wmml:1.148
---
 tutorial/Makefile      | 3 ++-
 tutorial/latex.pike    | 4 ++--
 tutorial/tutorial.wmml | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/tutorial/Makefile b/tutorial/Makefile
index d8e5a15925..b9b4e5da70 100644
--- a/tutorial/Makefile
+++ b/tutorial/Makefile
@@ -1,3 +1,4 @@
+
 all:
 	@if `pwd`/../bin/pike -e 'return 0;' 2>/dev/null; then \
 	  $(MAKE) pike=`pwd`/../bin/pike low_all; \
@@ -12,7 +13,7 @@ MADEFILES=Image.wmml Mysql.wmml ProtocolsLysKOM.wmml \
 
 SRCFILES=tutorial.wmml $(MADEFILES)
 
-pike=/home/hedda/pike07_/install/bin/pike
+pike=pike
 DESTINATION=/usr/local/share/pike/tutorial/
 
 .DUMMY: 
diff --git a/tutorial/latex.pike b/tutorial/latex.pike
index 267a6ab27f..2adb085187 100644
--- a/tutorial/latex.pike
+++ b/tutorial/latex.pike
@@ -172,7 +172,7 @@ array(SGML) split_lines(SGML data)
 
 array(float) find_max_width(array(SGML) datas)
 {
-  array(SGML) pieces=Array.map(datas,split_lines);
+  array(array(SGML)) pieces=Array.map(datas,split_lines);
   array(float) widths=find_line_width(pieces * ({}));
   int pos=0;
   array(float) ret=allocate(sizeof(pieces));
@@ -284,7 +284,7 @@ array(SGML) split_words(SGML data)
 
 array(float) find_min_width(array(SGML) datas)
 {
-  array(SGML) pieces=Array.map(datas,split_words);
+  array(array(SGML)) pieces=Array.map(datas,split_words);
   array(float) widths=find_line_width(pieces * ({}));
   int pos=0;
   array(float) ret=allocate(sizeof(pieces));
diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml
index 81414649bd..2b1ecd5ca7 100644
--- a/tutorial/tutorial.wmml
+++ b/tutorial/tutorial.wmml
@@ -1469,7 +1469,7 @@ Also, these functions operates on floats:
 
 <dt><tt>float ceil(float <i>x</i>)</tt>, 
 <dd>This function computes the smallest integer value greater than or equal to <i>x</i> and returns it as a <tt>float</tt>.
-</dl>
+
 <dt><tt>float round(float <i>x</i>)</tt>, 
 <dd>This function computes the closest integer value to <i>x</i> 
 and returns it as a <tt>float</tt>.
-- 
GitLab