r5180: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 23 Jun 2003 23:58:29 +0000 (23:58 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 23 Jun 2003 23:58:29 +0000 (23:58 +0000)
base.lisp
package.lisp
stdsite.lisp

index 233d6ee685bb71ee6306f7fd5c01b074f13f6362..0274c35b25320dc718da2738d5bffa12d34c8bd0 100644 (file)
--- a/base.lisp
+++ b/base.lisp
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: base.lisp,v 1.3 2003/06/23 20:37:43 kevin Exp $
+;;;; $Id: base.lisp,v 1.4 2003/06/23 23:58:29 kevin Exp $
 ;;;;
 ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 (defun lml-print-date (date)
   (lml-write-string (date-string date)))
 
-(defun html-prologue (&optional (format :xhtml11))
+(defun dtd-prologue (&optional (format :xhtml11))
   (case format
-    ((:xhtml :xhtml11 :xhtml10-strict :xhtml10-transitional :xhtml10-frameset)
+    ((:xhtml :xhtml11 :xhtml10-strict :xhtml10-transitional :xhtml10-frameset :xml)
      (lml-write-string +xml-prologue-string+)
      (lml-write-char #\newline)))
-  (ecase format
+  (case format
     ((:xhtml11 :xhtml)
      (lml-write-string +xhtml11-dtd-string+))
     (:xhtml10-strict
index f9838db6038f7bd0f7b67c2bfd0a20e894a8f4a3..857a82c86443218c24b458f0d8960677a1b93242 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  June 2003
 ;;;;
-;;;; $Id: package.lisp,v 1.2 2003/06/23 20:37:43 kevin Exp $
+;;;; $Id: package.lisp,v 1.3 2003/06/23 23:58:29 kevin Exp $
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
   (:nicknames #:lml2)
   (:export
 
-   ;; base.lisp
+   ;; data.lisp
    #:*print-spaces*
+   #:*html-stream*
+   
+   ;; base.lisp
    #:reset-indent
    #:page
+   #:dtd-prologue
    #:lml-format
    #:lml-print
    #:lml-princ
    #:lml-write-char
    #:lml-write-string
    #:lml-print-date
-   #:*html-output*
    #:alink
    #:alink-c
    
index ab0ef1ccacfa85fd374840b9a3e333a0c2fbf988..1ee29dbd941c4c10cacc8ada0a26cc8124c28308 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Aug 2002
 ;;;;
-;;;; $Id: stdsite.lisp,v 1.5 2003/06/23 20:39:40 kevin Exp $
+;;;; $Id: stdsite.lisp,v 1.6 2003/06/23 23:58:29 kevin Exp $
 ;;;;
 ;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -64,7 +64,7 @@
 
 (defmacro print-std-page (file title format &body body)
   `(progn
-     (html-prologue ,format)
+     (dtd-prologue ,format)
      (html
       ((:html :xmlns "http://www.w3.org/1999/xhtml")
        (std-head ,title)