cvs: smarty /docs .cvsignore Makefile.in configure.in manual.xml.in /docs/dsssl html.dsl php.dsl /docs/dsssl/defaults catalog dsssl.dtd fot.dtd style-sheet.dtd /docs/dsssl/docbook BUGS PHPDOC-NOTE README VERSION catalog /docs/entities version.ent.in /docs/entities/ISO ISOamsa ISOamsb ISOamsc ISOamsn ISOamso ISOamsr ISObox ISOcyr1 ISOcyr2 ISOdia ISOgrk1 ISOgrk2 ISOgrk3 ISOgrk4 ISOlat1 ISOlat2 ISOnum ISOpub ISOtech catalog /docs/scripts generate_web.php
"Nuno Lopes" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsnlopess1080065754@cvsserver> |
nlopess Tue Mar 23 13:15:54 2004 EDT
Added files:
/smarty/docs/dsssl/defaults catalog dsssl.dtd fot.dtd
style-sheet.dtd
/smarty/docs/dsssl/docbook BUGS PHPDOC-NOTE README VERSION catalog
/smarty/docs/entities version.ent.in
/smarty/docs/entities/ISO ISOamsa ISOamsb ISOamsc ISOamsn ISOamso
ISOamsr ISObox ISOcyr1 ISOcyr2 ISOdia
ISOgrk1 ISOgrk2 ISOgrk3 ISOgrk4 ISOlat1
ISOlat2 ISOnum ISOpub ISOtech catalog
/smarty/docs/scripts generate_web.php
Modified files:
/smarty/docs .cvsignore Makefile.in configure.in manual.xml.in
/smarty/docs/dsssl html.dsl php.dsl
Log:
bundling docbook 4
now make and make web works
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nlopess-20040323131554.txt
(text/plain, 32.3 KB)
http://cvs.php.net/diff.php/smarty/docs/.cvsignore?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/.cvsignore
diff -u smarty/docs/.cvsignore:1.3 smarty/docs/.cvsignore:1.4
--- smarty/docs/.cvsignore:1.3 Thu Mar 18 12:34:33 2004
+++ smarty/docs/.cvsignore Tue Mar 23 13:15:52 2004
@@ -3,4 +3,6 @@
manual.xml
config.*
*.cache
-version.ent
+*.fot
+html
+phpweb
http://cvs.php.net/diff.php/smarty/docs/Makefile.in?r1=1.2&r2=1.3&ty=u
Index: smarty/docs/Makefile.in
diff -u smarty/docs/Makefile.in:1.2 smarty/docs/Makefile.in:1.3
--- smarty/docs/Makefile.in:1.2 Thu Mar 18 12:34:33 2004
+++ smarty/docs/Makefile.in Tue Mar 23 13:15:52 2004
@@ -14,7 +14,7 @@
#
#
-# $Id: Makefile.in,v 1.2 2004/03/18 17:34:33 nlopess Exp $
+# $Id: Makefile.in,v 1.3 2004/03/23 18:15:52 nlopess Exp $
#
all: html
@@ -24,18 +24,36 @@
PHP=@PHP@
LANG=@LANG@
NSGMLS=@NSGMLS@
+JADE=@JADE@ -D . -wno-idref
+XMLDCL=./dtds/dbxml-4.1.2/phpdocxml.dcl
+CATALOG=@CATALOG@
+HTML_STYLESHEET=dsssl/html.dsl
+PHPWEB_STYLESHEET=dsssl/php.dsl
# }}}
-test:
- $(NSGMLS) -i lang-$(LANG) -s ./dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
+#default behaviour
+all:html
+
+FORCE:
+html: FORCE
+ @test -d html || mkdir html
+ $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml
+
+web: FORCE
+ @test -d phpweb || mkdir phpweb
+ $(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml
+ $(PHP) scripts/generate_web.php
+
+test:
+ $(NSGMLS) -i lang-$(LANG) -s $(XMLDCL) manual.xml
# {{{ cleanup
clean:
- rm -f Makefile config.* manual.xml configure version.ent
- rm -fr autom4te.cache
+ rm -f Makefile config.* manual.xml configure entities/version.ent *.fot
+ rm -fr autom4te.cache html phpweb
# }}}
http://cvs.php.net/diff.php/smarty/docs/configure.in?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/configure.in
diff -u smarty/docs/configure.in:1.3 smarty/docs/configure.in:1.4
--- smarty/docs/configure.in:1.3 Thu Mar 18 12:43:09 2004
+++ smarty/docs/configure.in Tue Mar 23 13:15:52 2004
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.3 2004/03/18 17:43:09 nlopess Exp $
+dnl $Id: configure.in,v 1.4 2004/03/23 18:15:52 nlopess Exp $
dnl autoconf initialisation
AC_INIT()
@@ -16,6 +16,108 @@
dnl {{{ check for support programs
+dnl {{{ check for PHP
+
+dnl use given argument, if any, else search in path
+AC_ARG_WITH(php,
+[ --with-php=PATH look for PHP executable needed for helper scripts],
+[
+ if test $withval != "yes"; then
+ AC_MSG_CHECKING([for php])
+ if test -x $withval; then
+ PHP=$withval
+ AC_MSG_RESULT($PHP)
+ else
+ PHP=no
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([$withval: not an executable file])
+ fi
+ else
+ if test -e ../../phpdoc-tools/php.bat ; then
+ AC_MSG_CHECKING([for php])
+ PHP=../../phpdoc-tools/php.bat
+ AC_MSG_RESULT($PHP)
+ else
+ AC_PATH_PROG(PHP,"php",no)
+ if test $PHP = "no"; then
+ AC_PATH_PROG(PHP4,"php4",no)
+ PHP=$PHP4
+ fi
+ fi
+ fi
+],[
+ if test -e ../../phpdoc-tools/php.bat ; then
+ AC_MSG_CHECKING([for php])
+ PHP=../../phpdoc-tools/php.bat
+ AC_MSG_RESULT($PHP)
+ else
+ AC_PATH_PROG(PHP,"php",no)
+ if test $PHP = "no"; then
+ AC_PATH_PROG(PHP4,"php4",no)
+ PHP=$PHP4
+ fi
+ fi
+]
+)
+if test $PHP = "no"; then
+ AC_MSG_ERROR([no PHP binary found])
+fi
+AC_SUBST(PHP)
+
+dnl }}}
+
+dnl {{{ check for the Jade or OpenJade DSSSL parser
+
+dnl use given argument, if any, else search in path
+
+AC_ARG_WITH(jade,
+[ --with-jade=PATH look for jade or openjade executable],[
+ if test $withval != "yes"; then
+ AC_MSG_CHECKING([for jade])
+ if test -x $withval; then
+ JADE=$withval
+ AC_MSG_RESULT($JADE)
+ else
+ JADE=no
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([$withval: not an executable file])
+ fi
+ else
+ if test -e ../../phpdoc-tools/jade/jade.exe ; then
+ AC_MSG_CHECKING([for jade])
+ JADE=../../phpdoc-tools/jade/jade.exe
+ AC_MSG_RESULT($JADE)
+ else
+ AC_PATH_PROG(OPENJADE,"openjade",no)
+ if test $OPENJADE = "no"; then
+ AC_PATH_PROG(JADE,"jade",no)
+ else
+ JADE=$OPENJADE
+ fi
+ fi
+ fi
+],[
+ if test -e ../../phpdoc-tools/jade/jade.exe ; then
+ AC_MSG_CHECKING([for jade])
+ JADE=../../phpdoc-tools/jade/jade.exe
+ AC_MSG_RESULT($JADE)
+ else
+ AC_PATH_PROG(OPENJADE,"openjade",no)
+ if test $OPENJADE = "no"; then
+ AC_PATH_PROG(JADE,"jade",no)
+ else
+ JADE=$OPENJADE
+ fi
+ fi
+]
+)
+if test $JADE = "no"; then
+ AC_MSG_ERROR([can't find jade or openjade])
+fi
+AC_SUBST(JADE)
+
+dnl }}}
+
dnl {{{ check for nsgmls or onsgmls
AC_ARG_WITH(nsgmls,
@@ -68,6 +170,53 @@
dnl }}}
+dnl {{{ check for catalog files
+
+CATALOG=""
+
+dnl iso-ents catalog file
+dnl The 4.1.2 DocBook DTD also includes entity files, but they cannot be used with Jade!
+if test -e ./entities/ISO/catalog
+then
+ CATALOG="$CATALOG -c ./entities/ISO/catalog"
+fi
+
+dnl DSSSL catalog file
+if test -e ./dsssl/docbook/catalog
+then
+ CATALOG="$CATALOG -c ./dsssl/docbook/catalog"
+fi
+
+dnl For windows (and maybe *nix too?) users lacking catalog-files
+
+dnl jade catalog file
+# how about using JADEPATH? You should replace the last 4 chars ('jade') with catalog
+# !! JADEPATH may not properly be set on windows, so do not use it !!
+if test -e ../../phpdoc-tools/jade/catalog
+then
+ CATALOG="$CATALOG -c ../../phpdoc-tools/jade/catalog"
+fi
+dnl SuSE openjade setup
+if test -e /usr/share/sgml/CATALOG.docbk41
+then
+ CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk41"
+fi
+if test -e /usr/share/sgml/CATALOG.jade_dsl
+then
+ CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.jade_dsl"
+fi
+
+dnl As a very last option, include default catalog files from phpdoc
+dnl (imported from the openjade distribution)
+if test -e $srcdir/dsssl/defaults/catalog
+then
+ CATALOG="$CATALOG -c ./dsssl/defaults/catalog"
+fi
+
+AC_SUBST(CATALOG)
+
+dnl }}}
+
dnl {{{ language specific stuff
http://cvs.php.net/diff.php/smarty/docs/manual.xml.in?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/manual.xml.in
diff -u smarty/docs/manual.xml.in:1.3 smarty/docs/manual.xml.in:1.4
--- smarty/docs/manual.xml.in:1.3 Sat Mar 20 10:59:27 2004
+++ smarty/docs/manual.xml.in Tue Mar 23 13:15:52 2004
@@ -1,6 +1,6 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"./dtds/dbxml-4.1.2/docbookx.dtd" [
-<!ENTITY % build.version SYSTEM "version.ent">
+<!ENTITY % build.version SYSTEM "entities/version.ent">
%build.version;
<!ENTITY bookinfo SYSTEM "@LANG@/bookinfo.xml">
http://cvs.php.net/diff.php/smarty/docs/dsssl/html.dsl?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/dsssl/html.dsl
diff -u smarty/docs/dsssl/html.dsl:1.1 smarty/docs/dsssl/html.dsl:1.2
--- smarty/docs/dsssl/html.dsl:1.1 Thu Mar 18 12:15:24 2004
+++ smarty/docs/dsssl/html.dsl Tue Mar 23 13:15:52 2004
@@ -1,5 +1,5 @@
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl" CDATA DSSSL>
+<!ENTITY docbook.dsl SYSTEM "./dsssl/docbook/html/docbook.dsl" CDATA DSSSL>
<!ENTITY html-common.dsl SYSTEM "html-common.dsl">
<!ENTITY common.dsl SYSTEM "common.dsl">
]>
@@ -9,6 +9,7 @@
<style-specification-body>
(define %html-ext% ".html")
+(define %output-dir% "html")
&html-common.dsl;
&common.dsl;
http://cvs.php.net/diff.php/smarty/docs/dsssl/php.dsl?r1=1.1&r2=1.2&ty=u
Index: smarty/docs/dsssl/php.dsl
diff -u smarty/docs/dsssl/php.dsl:1.1 smarty/docs/dsssl/php.dsl:1.2
--- smarty/docs/dsssl/php.dsl:1.1 Thu Mar 18 12:15:24 2004
+++ smarty/docs/dsssl/php.dsl Tue Mar 23 13:15:52 2004
@@ -1,5 +1,5 @@
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl" CDATA DSSSL>
+<!ENTITY docbook.dsl SYSTEM "./dsssl/docbook/html/docbook.dsl" CDATA DSSSL>
<!ENTITY html-common.dsl SYSTEM "html-common.dsl">
<!ENTITY common.dsl SYSTEM "common.dsl">
]>
@@ -9,6 +9,7 @@
<style-specification-body>
(define %html-ext% ".php")
+(define %output-dir% "phpweb")
&html-common.dsl;
&common.dsl;
http://cvs.php.net/co.php/smarty/docs/dsssl/defaults/dsssl.dtd?r=1.1&p=1
Index: smarty/docs/dsssl/defaults/dsssl.dtd
+++ smarty/docs/dsssl/defaults/dsssl.dtd
<!-- DSSSL Architectural Forms -->
<!ENTITY % declarations
"features | baseset-encoding | literal-described-char | add-name-chars
| add-separator-chars | standard-chars | other-chars
| combine-char | map-sdata-entity | char-repertoire"
>
<!element dsssl-specification - O
((%declarations;)*,
(style-specification | transformation-specification
| external-specification)+)>
<!attlist dsssl-specification
version CDATA #FIXED "ISO/IEC 10179:1996"
>
<!element transformation-specification - O
((%declarations;)*, transformation-specification-body*)>
<!attlist transformation-specification
id ID #IMPLIED
desc CDATA #IMPLIED
-- human readable description of specification --
partial (partial | complete) complete
-- is the specification complete is or is it just a fragment
to be used in other specifications? --
use -- reftype(transformation-specification|external-specification) --
IDREFS #IMPLIED -- Default: none --
entities
-- entities available to be specified as DTD for validation
of result document --
ENTITIES #IMPLIED -- Default: none --
>
<!element style-specification - O
((%declarations;)*, style-specification-body*)>
<!attlist style-specification
id ID #IMPLIED
desc CDATA #IMPLIED
-- human readable description of specification --
partial (partial | complete) complete
-- is the specification complete is or is it just a fragment
to be used in other specifications? --
use -- reftype(style-specification|external-specification) --
IDREFS #IMPLIED -- Default: none --
>
<!-- Assign a local ID to a specification in another document. -->
<!element external-specification - O EMPTY>
<!attlist external-specification
id ID #REQUIRED
document -- document containing spec --
ENTITY #REQUIRED
specid -- id of spec in document --
NAME #IMPLIED -- Default: first spec in document --
>
<!-- Declares features used by specification. -->
<!element features - O (#PCDATA)
-- dlextype(featurename*) -->
<!-- Map character numbers in a base character set to character names;
not needed when system knows a character set, and all characters
in character set have universal code. -->
<!element baseset-encoding - O (#PCDATA)
-- dlextype((number, charname)*) -->
<!attlist baseset-encoding
name CDATA #REQUIRED -- public identifier of baseset --
>
<!-- Map a character described in the SGML declaration with a minimum literal
to a character name. -->
<!element literal-described-char - O (#PCDATA)
-- dlextype(charname) -->
<!attlist literal-described-char
desc CDATA #REQUIRED -- the literal description --
>
<!-- Declare additional characters allowed in name within DSSSL notation. -->
<!element add-name-chars - O (#PCDATA)
-- dlextype(charname*) -->
<!-- Declare additional characters allowed as separators within
DSSSL notation. -->
<!element add-separator-chars - O (#PCDATA)
-- dlextype(charname*) -->
<!-- Define characters associating names with universal codes. -->
<!element standard-chars - O (#PCDATA)
-- dlextype((charname, number))*) -->
<!-- Define characters with no universal codes. -->
<!element other-chars - O (#PCDATA)
-- dlextype(charname*) -->
<!-- Map an SDATA entity onto a character. -->
<!element map-sdata-entity - O (#PCDATA)
-- dlextype(charname) -->
<!attlist map-sdata-entity
name CDATA #IMPLIED -- Default: mapping uses replacement text only --
text CDATA #IMPLIED -- Default: mapping uses name only --
>
<!-- Declare character combining. -->
<!element combine-char - O (#PCDATA)
-- dlextype(charname, charname, charname+) -->
<!-- Declare a character repertoire. -->
<!element char-repertoire - O EMPTY>
<!attlist char-repertoire
name -- public identifier for repertoire --
CDATA #REQUIRED
>
<!element style-specification-body - - CDATA
-- content uses notation of DSSSL style language -->
<!attlist style-specification-body
content ENTITY #CONREF -- Default: syntactic content --
>
<!element transformation-specification-body - - CDATA
-- content uses notation of DSSSL transformation language -->
<!attlist transformation-specification-body
content ENTITY #CONREF -- Default: syntactic content --
>
<!-- This notation is intended for use as the value of the ArcDataF
architectural form support attribute. -->
<!NOTATION dsssl-specification PUBLIC
"ISO/IEC 10179:1996//NOTATION DSSSL Specification//EN">
http://cvs.php.net/co.php/smarty/docs/dsssl/defaults/fot.dtd?r=1.1&p=1
Index: smarty/docs/dsssl/defaults/fot.dtd
+++ smarty/docs/dsssl/defaults/fot.dtd
<!-- Typical use:
<!DOCTYPE fot PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd">
-->
<!ENTITY % length-spec "CDATA">
<!-- represents length-spec or #f; #f is represented by empty value -->
<!ENTITY % opt-length-spec "CDATA">
<!ENTITY % length "NMTOKEN">
<!ENTITY % enum "NMTOKEN">
<!ENTITY % enum-or-boolean "NMTOKEN">
<!ENTITY % boolean "(true|false)">
<!ENTITY % flow "
(paragraph
|sequence
|display-group
|line-field
|link
|scroll
|marginalia
|leader
|sideline
|box
|score
|table-row
|math-sequence
|unmath
|subscript
|superscript
|grid
|grid-cell
|paragraph-break
|external-graphic
|rule
|alignment-point
|table-column
|character
|simple-page-sequence
|fraction
|script
|mark
|fence
|radical
|math-operator
|table
|table-part
|table-cell
|multi-mode
|page-number
|text
|sdata
|a
|define-glyph-subst-table)*">
<!ELEMENT fot %flow;>
<!ELEMENT text (#PCDATA)>
<!ELEMENT sdata EMPTY>
<!ATTLIST sdata name CDATA #REQUIRED text CDATA #REQUIRED>
<!ELEMENT paragraph %flow;>
<!ELEMENT sequence %flow;>
<!ELEMENT display-group %flow;>
<!ELEMENT line-field %flow;>
<!ELEMENT link %flow;>
<!ELEMENT scroll %flow;>
<!ELEMENT marginalia %flow;>
<!ELEMENT leader %flow;>
<!ELEMENT sideline %flow;>
<!ELEMENT box %flow;>
<!ELEMENT score %flow;>
<!ELEMENT table-row %flow;>
<!ELEMENT math-sequence %flow;>
<!ELEMENT unmath %flow;>
<!ELEMENT subscript %flow;>
<!ELEMENT superscript %flow;>
<!ELEMENT grid %flow;>
<!ELEMENT grid-cell %flow;>
<!ELEMENT paragraph-break EMPTY>
<!ELEMENT external-graphic EMPTY>
<!ELEMENT rule EMPTY>
<!ELEMENT alignment-point EMPTY>
<!ELEMENT table-column EMPTY>
<!ELEMENT character EMPTY>
<!ELEMENT page-number EMPTY>
<!ATTLIST page-number ref CDATA #IMPLIED>
<!ELEMENT define-glyph-subst-table (glyph-subst*)>
<!ATTLIST define-glyph-subst-table id ID #REQUIRED>
<!ELEMENT glyph-subst EMPTY>
<!ATTLIST glyph-subst old CDATA #REQUIRED new CDATA #REQUIRED>
<!ELEMENT a EMPTY>
<!ATTLIST a
name CDATA #REQUIRED
>
<!ELEMENT simple-page-sequence
((simple-page-sequence.right-header
|simple-page-sequence.center-header
|simple-page-sequence.left-header
|simple-page-sequence.right-footer
|simple-page-sequence.center-footer
|simple-page-sequence.left-footer)*,
%flow;)
>
<!ELEMENT simple-page-sequence.left-header %flow;>
<!ELEMENT simple-page-sequence.right-header %flow;>
<!ELEMENT simple-page-sequence.center-header %flow;>
<!ELEMENT simple-page-sequence.left-footer %flow;>
<!ELEMENT simple-page-sequence.right-footer %flow;>
<!ELEMENT simple-page-sequence.center-footer %flow;>
<!ENTITY % hf "
front %boolean; #IMPLIED
first %boolean; #IMPLIED
">
<!ATTLIST simple-page-sequence.right-header %hf;>
<!ATTLIST simple-page-sequence.center-header %hf;>
<!ATTLIST simple-page-sequence.left-footer %hf;>
<!ATTLIST simple-page-sequence.right-footer %hf;>
<!ATTLIST simple-page-sequence.center-footer %hf;>
<!ELEMENT table
(table.before-row-border, table.after-row-border,
table.before-column-border, table.after-column-border,
%flow;)>
<!ELEMENT table.before-row-border EMPTY>
<!ELEMENT table.after-row-border EMPTY>
<!ELEMENT table.before-column-border EMPTY>
<!ELEMENT table.after-column-border EMPTY>
<!ELEMENT table-part
(table-part.principal, table-part.header, table-part.footer)
>
<!ELEMENT table-part.header %flow;>
<!ELEMENT table-part.footer %flow;>
<!ELEMENT table-part.principal %flow;>
<!ELEMENT table-cell
(table-cell.before-row-border, table-cell.after-row-border,
table-cell.before-column-border, table-cell.after-column-border,
%flow;)>
<!ELEMENT table-cell.before-row-border EMPTY>
<!ELEMENT table-cell.after-row-border EMPTY>
<!ELEMENT table-cell.before-column-border EMPTY>
<!ELEMENT table-cell.after-column-border EMPTY>
<!ELEMENT fraction
(fraction.fraction-bar, fraction.numerator, fraction.denominator)>
<!ELEMENT fraction.numerator %flow;>
<!ELEMENT fraction.denominator %flow;>
<!ELEMENT fraction.fraction-bar EMPTY>
<!ELEMENT script (script.principal,
script.pre-sup, script.pre-sub,
script.post-sup, script.post-sub,
script.mid-sup, script.mid-sub)>
<!ELEMENT script.principal %flow;>
<!ELEMENT script.pre-sup %flow;>
<!ELEMENT script.pre-sub %flow;>
<!ELEMENT script.post-sup %flow;>
<!ELEMENT script.post-sub %flow;>
<!ELEMENT script.mid-sup %flow;>
<!ELEMENT script.mid-sub %flow;>
<!ELEMENT mark (mark.principal, mark.over-mark, mark.under-mark)>
<!ELEMENT mark.principal %flow;>
<!ELEMENT mark.over-mark %flow;>
<!ELEMENT mark.under-mark %flow;>
<!ELEMENT fence (fence.principal, fence.open, fence.close)>
<!ELEMENT fence.principal %flow;>
<!ELEMENT fence.open %flow;>
<!ELEMENT fence.close %flow;>
<!ELEMENT radical (radical.radical?, radical.principal, radical.degree)>
<!ELEMENT radical.principal %flow;>
<!ELEMENT radical.degree %flow;>
<!ELEMENT radical.radical EMPTY>
<!ELEMENT math-operator (math-operator.principal, math-operator.operator,
math-operator.lower-limit, math-operator.upper-limit)>
<!ELEMENT math-operator.principal %flow;>
<!ELEMENT math-operator.operator %flow;>
<!ELEMENT math-operator.lower-limit %flow;>
<!ELEMENT math-operator.upper-limit %flow;>
<!ELEMENT multi-mode (multi-mode.mode, multi-mode.mode+)>
<!ELEMENT multi-mode.mode %flow;>
<!ATTLIST multi-mode.mode
name CDATA #IMPLIED
desc CDATA #IMPLIED
>
<!ENTITY % inherited-characteristics "
font-size %length; #IMPLIED
font-family-name CDATA #IMPLIED
font-weight %enum-or-boolean; #IMPLIED
font-posture %enum-or-boolean; #IMPLIED
start-indent %length-spec; #IMPLIED
end-indent %length-spec; #IMPLIED
first-line-start-indent %length-spec; #IMPLIED
last-line-end-indent %length-spec; #IMPLIED
line-spacing %length-spec; #IMPLIED
min-pre-line-spacing %opt-length-spec; #IMPLIED
min-post-line-spacing %opt-length-spec; #IMPLIED
min-leading %opt-length-spec; #IMPLIED
field-width %length-spec; #IMPLIED
lines %enum; #IMPLIED
quadding %enum; #IMPLIED
display-alignment %enum; #IMPLIED
field-align %enum; #IMPLIED
marginalia-side %enum; #IMPLIED
principal-mode-simultaneous %boolean; #IMPLIED
marginalia-sep %length-spec; #IMPLIED
marginalia-keep-with-previous %boolean; #IMPLIED
grid-equidistant-rows %boolean; #IMPLIED
grid-equidistant-columns %boolean; #IMPLIED
color CDATA #IMPLIED
background-color CDATA #IMPLIED
page-width %length; #IMPLIED
page-height %length; #IMPLIED
left-margin %length; #IMPLIED
right-margin %length; #IMPLIED
top-margin %length; #IMPLIED
bottom-margin %length; #IMPLIED
header-margin %length; #IMPLIED
footer-margin %length; #IMPLIED
border-present %boolean; #IMPLIED
hyphenate %boolean; #IMPLIED
kern %boolean; #IMPLIED
ligature %boolean; #IMPLIED
score-spaces %boolean; #IMPLIED
float-out-marginalia %boolean; #IMPLIED
float-out-sidelines %boolean; #IMPLIED
float-out-line-numbers %boolean; #IMPLIED
cell-background %boolean; #IMPLIED
span-weak %boolean; #IMPLIED
ignore-record-end %boolean; #IMPLIED
numbered-lines %boolean; #IMPLIED
hanging-punct %boolean; #IMPLIED
box-open-end %boolean; #IMPLIED
truncate-leader %boolean; #IMPLIED
align-leader %boolean; #IMPLIED
table-part-omit-middle-header %boolean; #IMPLIED
table-part-omit-middle-footer %boolean; #IMPLIED
border-omit-at-break %boolean; #IMPLIED
line-join %enum; #IMPLIED
line-cap %enum; #IMPLIED
line-number-side %enum; #IMPLIED
kern-mode %enum; #IMPLIED
input-whitespace-treatment %enum; #IMPLIED
filling-direction %enum; #IMPLIED
writing-mode %enum; #IMPLIED
last-line-quadding %enum; #IMPLIED
math-display-mode %enum; #IMPLIED
script-pre-align %enum; #IMPLIED
script-post-align %enum; #IMPLIED
script-mid-sup-align %enum; #IMPLIED
script-mid-sub-align %enum; #IMPLIED
numerator-align %enum; #IMPLIED
denominator-align %enum; #IMPLIED
grid-position-cell-type %enum; #IMPLIED
grid-column-alignment %enum; #IMPLIED
grid-row-Alignment %enum; #IMPLIED
box-type %enum; #IMPLIED
glyph-alignment-mode %enum; #IMPLIED
box-border-alignment %enum; #IMPLIED
cell-row-alignment %enum; #IMPLIED
border-alignment %enum; #IMPLIED
sideline-side %enum; #IMPLIED
hyphenation-keep %enum-or-boolean; #IMPLIED
font-structure %enum-or-boolean; #IMPLIED
font-proportionate-width %enum-or-boolean; #IMPLIED
cell-crossed %enum-or-boolean; #IMPLIED
position-point-shift %length-spec; #IMPLIED
start-margin %length-spec; #IMPLIED
end-margin %length-spec; #IMPLIED
sideline-sep %length-spec; #IMPLIED
asis-wrap-indent %length-spec; #IMPLIED
line-number-sep %length-spec; #IMPLIED
last-line-justify-limit %length-spec; #IMPLIED
justify-glyph-space-max-add %length-spec; #IMPLIED
justify-glyph-space-max-remove %length-spec; #IMPLIED
table-corner-radius %length-spec; #IMPLIED
box-corner-radius %length-spec; #IMPLIED
line-thickness %length; #IMPLIED
cell-before-row-margin %length; #IMPLIED
cell-after-row-margin %length; #IMPLIED
cell-before-column-margin %length; #IMPLIED
cell-after-column-margin %length; #IMPLIED
line-sep %length; #IMPLIED
box-size-before %length; #IMPLIED
box-size-after %length; #IMPLIED
country NMTOKEN #IMPLIED
language NMTOKEN #IMPLIED
expand-tabs NMTOKEN #IMPLIED
hyphenation-ladder-count NMTOKEN #IMPLIED
layer NMTOKEN #IMPLIED
background-layer NMTOKEN #IMPLIED
border-priority NMTOKEN #IMPLIED
line-repeat NMTOKEN #IMPLIED
span NMTOKEN #IMPLIED
min-leader-repeat NMTOKEN #IMPLIED
hyphenation-remain-char-count NMTOKEN #IMPLIED
hyphenation-push-char-count NMTOKEN #IMPLIED
widow-count NMTOKEN #IMPLIED
orphan-count NMTOKEN #IMPLIED
background-tile CDATA #IMPLIED
line-breaking-method CDATA #IMPLIED
line-composition-method CDATA #IMPLIED
implicit-bidi-method CDATA #IMPLIED
glyph-subst-method CDATA #IMPLIED
glyph-reorder-method CDATA #IMPLIED
hyphenation-method CDATA #IMPLIED
table-auto-width-method CDATA #IMPLIED
font-name CDATA #IMPLIED
escapement-space-before CDATA #IMPLIED
escapement-space-after CDATA #IMPLIED
glyph-subst-table NMTOKENS #IMPLIED
">
<!ENTITY % display-nic "
position-preference %enum-or-boolean; #IMPLIED
keep-with-next %boolean; 'false'
keep-with-previous %boolean; 'false'
may-violate-keep-before %boolean; 'false'
may-violate-keep-after %boolean; 'false'
keep %enum-or-boolean; #IMPLIED
break-before %enum-or-boolean; #IMPLIED
break-after %enum-or-boolean; #IMPLIED
space-before CDATA #IMPLIED
space-before-conditional %boolean; #IMPLIED
space-before-priority NMTOKEN #IMPLIED
space-after CDATA #IMPLIED
space-after-conditional %boolean; #IMPLIED
space-after-priority NMTOKEN #IMPLIED
">
<!ENTITY % inline-nic "
break-before-priority NMTOKEN #IMPLIED
break-after-priority NMTOKEN #IMPLIED
">
<!ATTLIST sequence %inherited-characteristics;>
<!ATTLIST line-field %inherited-characteristics;>
<!ATTLIST simple-page-sequence %inherited-characteristics;>
<!ATTLIST fraction %inherited-characteristics;>
<!ATTLIST fraction.fraction-bar %inherited-characteristics;>
<!ATTLIST math-sequence %inherited-characteristics;>
<!ATTLIST unmath %inherited-characteristics;>
<!ATTLIST subscript %inherited-characteristics;>
<!ATTLIST superscript %inherited-characteristics;>
<!ATTLIST script %inherited-characteristics;>
<!ATTLIST mark %inherited-characteristics;>
<!ATTLIST fence %inherited-characteristics;>
<!ATTLIST radical %inherited-characteristics;>
<!ATTLIST math-operator %inherited-characteristics;>
<!ATTLIST sideline %inherited-characteristics;>
<!ATTLIST scroll %inherited-characteristics;>
<!ATTLIST marginalia %inherited-characteristics;>
<!ATTLIST multi-mode %inherited-characteristics;>
<!ATTLIST table-row %inherited-characteristics;>
<!ATTLIST table.before-row-border %inherited-characteristics;>
<!ATTLIST table.after-row-border %inherited-characteristics;>
<!ATTLIST table.before-column-border %inherited-characteristics;>
<!ATTLIST table.after-column-border %inherited-characteristics;>
<!ATTLIST table-cell.before-row-border %inherited-characteristics;>
<!ATTLIST table-cell.after-row-border %inherited-characteristics;>
<!ATTLIST table-cell.before-column-border %inherited-characteristics;>
<!ATTLIST table-cell.after-column-border %inherited-characteristics;>
<!ATTLIST table-column
column-number NMTOKEN #REQUIRED
n-columns-spanned NMTOKEN #IMPLIED
width %length-spec; #IMPLIED
%inherited-characteristics;
>
<!ATTLIST table
width %length-spec; #IMPLIED
minimum-width %boolean; "false"
%display-nic;
%inherited-characteristics;
>
<!-- column-number of 0 has a special meaning: it identifies a dummy cell that
can be used to fill out the row if it later proves necessary to do so -->
<!ATTLIST table-cell
column-number NMTOKEN #REQUIRED
n-columns-spanned NMTOKEN #IMPLIED
n-rows-spanned NMTOKEN #IMPLIED
%inherited-characteristics;
>
<!ATTLIST link
destination CDATA #IMPLIED
%inherited-characteristics;
>
<!ATTLIST box
display %boolean; "false"
%display-nic;
%inline-nic;
%inherited-characteristics;
>
<!ATTLIST score
type (before|through|after|char) #IMPLIED
type.length-spec %length-spec; #IMPLIED
char CDATA #IMPLIED
%inherited-characteristics;
>
<!ATTLIST leader
length %length-spec; #IMPLIED
%inherited-characteristics;
%inline-nic;
>
<!ATTLIST rule
orientation (horizontal|vertical|escapement|line-progression)
#REQUIRED
length %length-spec; #IMPLIED
%display-nic;
%inline-nic;
%inherited-characteristics;
>
<!ATTLIST external-graphic
display %boolean; "false"
scale %enum; #IMPLIED
scale-x NMTOKEN #IMPLIED
scale-y NMTOKEN #IMPLIED
max-width %length-spec; #IMPLIED
max-height %length-spec; #IMPLIED
entity-system-id CDATA #REQUIRED
notation-system-id CDATA #REQUIRED
escapement-direction %enum; #IMPLIED
position-point-x %length-spec; #IMPLIED
position-point-y %length-spec; #IMPLIED
%inline-nic;
%display-nic;
%inherited-characteristics;
>
<!ATTLIST display-group
coalesce-id CDATA #IMPLIED
%display-nic;
%inherited-characteristics;
>
<!ATTLIST paragraph
%display-nic;
%inherited-characteristics;
>
<!ATTLIST paragraph-break
%display-nic;
%inherited-characteristics;
>
<!ATTLIST table-part
%display-nic;
%inherited-characteristics;
>
<!ENTITY % character-c "
char CDATA #IMPLIED
glyph-id CDATA #IMPLIED
drop-after-line-break %boolean; #IMPLIED
drop-unless-before-line-break %boolean; #IMPLIED
punct %boolean; #IMPLIED
space %boolean; #IMPLIED
input-tab %boolean; #IMPLIED
input-whitespace %boolean; #IMPLIED
record-end %boolean; #IMPLIED
break-before-priority NMTOKEN #IMPLIED
break-after-priority NMTOKEN #IMPLIED
math-font-posture %enum-or-boolean; #IMPLIED
math-class %enum; #IMPLIED
script CDATA #IMPLIED
%inherited-characteristics;">
<!ATTLIST character %character-c;>
<!ATTLIST radical.radical %character-c;>
<!ATTLIST grid
grid-n-columns NMTOKEN #IMPLIED
grid-n-rows NMTOKEN #IMPLIED
%inherited-characteristics;
>
<!ATTLIST grid-cell
column-number NMTOKEN #IMPLIED
row-number NMTOKEN #IMPLIED
%inherited-characteristics;
>
http://cvs.php.net/co.php/smarty/docs/dsssl/defaults/style-sheet.dtd?r=1.1&p=1
Index: smarty/docs/dsssl/defaults/style-sheet.dtd
+++ smarty/docs/dsssl/defaults/style-sheet.dtd
<!-- A DTD for DSSSL Style Sheets. The public identifier for this is
"-//OpenJade//DTD DSSSL Style Sheet//EN"
-->
<!ENTITY % declarations
"add-name-chars | add-separator-chars | standard-chars |
map-sdata-entity | char-repertoire"
>
<!element style-sheet o o ((%declarations;)*, style-specification,
(external-specification|style-specification)*)>
<!element style-specification o o ((%declarations;)*, style-specification-body)>
<!attlist style-specification
id id #implied
use idrefs #implied
>
<!element style-specification-body o o (#pcdata)>
<!attlist style-specification-body
content entity #conref
>
<!element external-specification - o empty>
<!attlist external-specification
id id #required
document entity #required
specid name #implied
>
<!-- Declare additional characters allowed in name within DSSSL notation. -->
<!element add-name-chars - O (#PCDATA)
-- dlextype(charname*) -->
<!-- Declare additional characters allowed as separators within
DSSSL notation. -->
<!element add-separator-chars - O (#PCDATA)
-- dlextype(charname*) -->
<!-- Define characters associating names with universal codes. -->
<!element standard-chars - O (#PCDATA)
-- dlextype((charname, number))*) -->
<!-- Map an SDATA entity onto a character. -->
<!element map-sdata-entity - O (#PCDATA)
-- dlextype(charname) -->
<!attlist map-sdata-entity
name CDATA #IMPLIED -- Default: mapping uses replacement text only --
text CDATA #IMPLIED -- Default: mapping uses name only --
>
<!-- Declare a character repertoire. -->
<!element char-repertoire - O EMPTY>
<!attlist char-repertoire
name -- public identifier for repertoire --
CDATA #REQUIRED
>
<?IS10744 ArcBase DSSSL>
<!NOTATION DSSSL PUBLIC "ISO/IEC 10179:1996//NOTATION
DSSSL Architecture Definition Document//EN"
-- A document architecture conforming to the
Architectural Form Definition Requirements of
ISO/IEC 10744. --
>
<!ATTLIST #NOTATION DSSSL
-- Support attributes for all architectures --
ArcQuant CDATA #FIXED "NAMELEN 64"
ArcDTD CDATA #FIXED "%DSSSLDTD"
ArcDocF NAME #FIXED dsssl-specification
ArcDataF NAME #FIXED dsssl-specification
>
<!ENTITY % DSSSLDTD PUBLIC
"ISO/IEC 10179:1996//DTD DSSSL Architecture//EN"
>
http://cvs.php.net/co.php/smarty/docs/entities/version.ent.in?r=1.1&p=1
Index: smarty/docs/entities/version.ent.in
+++ smarty/docs/entities/version.ent.in
<!ENTITY build-date "@BUILD_DATE@">
http://cvs.php.net/co.php/smarty/docs/scripts/generate_web.php?r=1.1&p=1
Index: smarty/docs/scripts/generate_web.php
+++ smarty/docs/scripts/generate_web.php
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2004 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_0.txt. |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| [email protected] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Nuno Lopes <[email protected]> |
+----------------------------------------------------------------------+
| Small hack to generate the manual for the web |
+----------------------------------------------------------------------+
*/
set_time_limit(0);
$search = array(
'<BODY',
'</BODY'
);
$replace = array(
'<?php if(!isset($_GET["print"]) && !strstr($_SERVER["REQUEST_URI"],"/print/")) { commonHeader(); } ?><BODY',
'<?php if(!isset($_GET["print"]) && !strstr($_SERVER["REQUEST_URI"],"/print/")) { commonFooter(); } ?></BODY'
);
if ($dir = opendir('phpweb')) {
echo "Processing the manual...\n";
while (false !== ($file = readdir($dir))) {
if(substr($file, -4) == '.php') {
$text = file_get_contents('phpweb/' . $file);
$text = str_replace($search, $replace, $text);
$handler = fopen('phpweb/' . $file, 'w+');
fputs($handler, $text);
fclose($handler);
}
}
closedir($dir);
} else {
die('Could not open the specified dir!');
}
?>