projects
/
lml2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r5190: Auto commit for Debian build
[lml2.git]
/
base.lisp
diff --git
a/base.lisp
b/base.lisp
index 233d6ee685bb71ee6306f7fd5c01b074f13f6362..655ba80f961288d6b781bbdd5e9c372ae56d5cc4 100644
(file)
--- a/
base.lisp
+++ b/
base.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
;;;; 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.
5 2003/06/24 17:48:41
kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; 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 lml-print-date (date)
(lml-write-string (date-string date)))
-(defun
html
-prologue (&optional (format :xhtml11))
+(defun
dtd
-prologue (&optional (format :xhtml11))
(case format
(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)))
(lml-write-string +xml-prologue-string+)
(lml-write-char #\newline)))
- (
e
case format
+ (case format
((:xhtml11 :xhtml)
(lml-write-string +xhtml11-dtd-string+))
(:xhtml10-strict
((:xhtml11 :xhtml)
(lml-write-string +xhtml11-dtd-string+))
(:xhtml10-strict
@@
-70,7
+70,7
@@
(lml-file-name ,out-file :output)
:direction :output
:if-exists :supersede)
(lml-file-name ,out-file :output)
:direction :output
:if-exists :supersede)
- (
html
-prologue ,format)
+ (
dtd
-prologue ,format)
(html
((:html :xmlns "http://www.w3.org/1999/xhtml")
,@body))))
(html
((:html :xmlns "http://www.w3.org/1999/xhtml")
,@body))))