From: Kevin M. Rosenberg Date: Mon, 23 Jun 2003 23:58:29 +0000 (+0000) Subject: r5180: *** empty log message *** X-Git-Tag: v1.6.2~65 X-Git-Url: http://git.kpe.io/?p=lml2.git;a=commitdiff_plain;h=f00d24b179f303135b6b5ab2bb1fdd24c9a781f4 r5180: *** empty log message *** --- diff --git a/base.lisp b/base.lisp index 233d6ee..0274c35 100644 --- 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 ;;;; @@ -45,12 +45,12 @@ (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 diff --git a/package.lisp b/package.lisp index f9838db..857a82c 100644 --- a/package.lisp +++ b/package.lisp @@ -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 ;;;; @@ -23,17 +23,20 @@ (: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 diff --git a/stdsite.lisp b/stdsite.lisp index ab0ef1c..1ee29db 100644 --- a/stdsite.lisp +++ b/stdsite.lisp @@ -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)