Changeset 153:7309f1b3fc47 in lemon-0.x for doc-docbook
- Timestamp:
- 03/04/04 14:08:17 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@214
- Location:
- doc-docbook/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
doc-docbook/src/Makefile
r126 r153 4 4 5 5 html: 6 docbook2html -o html -d etik-ol-html.dsl xml/etik-ol.xml6 docbook2html -o ../html -d etik-ol-html.dsl xml/etik-ol.xml 7 7 8 8 dvi: -
doc-docbook/src/etik-ol-html.dsl
r126 r153 7 7 <style-specification-body> 8 8 9 (define x "25") 10 (define nnl (named-node-list-names (attributes current-node))) 11 (define attributumok (attributes current-node)) 12 13 9 14 (element etik:class 10 (process-children)) 15 (make sequence 16 (if (attribute-string "id") 17 (make element gi: "A" 18 attributes: (list (list "NAME" (attribute-string "id"))) 19 (empty-sosofo)) 20 (empty-sosofo)) 21 22 23 (if (attribute-string "xreflabel") (empty-sosofo) 24 ( literal "ures xreflabel")) 25 26 ;; (toc-entry (current-node)) 27 (process-children))) 11 28 12 29 (element (etik:class etik:name) … … 96 113 (process-children))))) 97 114 115 (element (etik:class etik:prot_members) 116 (make sequence 117 (make element gi: "H3" 118 (literal "Protected members")) 119 (make element gi: "TABLE" 120 attributes: (list 121 (list "CELLSPACING" "1") 122 (list "BORDER" "1")) 123 (make element gi: "TR" 124 (make element gi: "TH" (literal "Name")) 125 (make element gi: "TH" (literal "Where defined")) 126 (make element gi: "TH" (literal "Description")) 127 (process-children))))) 128 129 (element (etik:prot_members etik:member) 130 (make element gi: "TR" 131 (process-children))) 132 133 (element (etik:class etik:priv_members) 134 (make sequence 135 (make element gi: "H3" 136 (literal "Private members")) 137 (make element gi: "TABLE" 138 attributes: (list 139 (list "CELLSPACING" "1") 140 (list "BORDER" "1")) 141 (make element gi: "TR" 142 (make element gi: "TH" (literal "Name")) 143 (make element gi: "TH" (literal "Where defined")) 144 (make element gi: "TH" (literal "Description")) 145 (process-children))))) 146 147 (element (etik:priv_members etik:member) 148 (make element gi: "TR" 149 (process-children))) 150 98 151 (element (etik:example etik:code) 99 152 ($verbatim-display$ 100 153 #f ;; mivel indentaljon 101 154 #f)) ;; legyen-e sorszamozas 155 156 (element (etik:class etik:notes) 157 (make sequence 158 (make element gi: "H3" 159 (literal "Notes")) 160 (make element gi: "P" 161 (process-children)))) 162 163 (element (etik:class etik:category) 164 (make sequence 165 (make element gi: "H3" 166 (literal "Category")) 167 (make element gi: "P" 168 (process-children)))) 102 169 103 170 -
doc-docbook/src/etik-ol.dtd
r126 r153 7 7 8 8 <!-- load DocBook --> 9 <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"> 9 <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 10 "docbook/dtd/4.2/docbookx.dtd"> 10 11 %DocBookDTD; 11 12 … … 15 16 etik:category?, 16 17 etik:description, 17 etik:example ,18 etik:example?, 18 19 etik:definition, 19 20 etik:template_params?, 20 21 etik:members?, 21 etik:notes*)> 22 etik:prot_members?, 23 etik:priv_members?, 24 etik:notes?)> 25 26 <!ATTLIST etik:class 27 %common.attrib; 28 %label.attrib; 29 > 30 22 31 <!ELEMENT etik:name (#PCDATA)*> 23 32 <!ELEMENT etik:category (#PCDATA|xref)*> … … 26 35 27 36 28 <!ELEMENT etik:code CDATA>37 <!ELEMENT etik:code (#PCDATA)*> 29 38 30 39 <!ELEMENT etik:definition (#PCDATA|xref)*> … … 37 46 etik:templ_default)> 38 47 39 <!ELEMENT etik:templ_name CDATA>48 <!ELEMENT etik:templ_name (#PCDATA)*> 40 49 <!ELEMENT etik:templ_description (#PCDATA|xref)*> 41 50 <!ELEMENT etik:templ_requirement (#PCDATA|xref)*> … … 43 52 44 53 <!ELEMENT etik:members (etik:member)+> 54 <!ELEMENT etik:prot_members (etik:member)+> 55 <!ELEMENT etik:priv_members (etik:member)+> 45 56 <!ELEMENT etik:member (etik:m_name, 46 57 etik:m_where_def, … … 48 59 49 60 50 <!ELEMENT etik:m_name CDATA>61 <!ELEMENT etik:m_name (#PCDATA)*> 51 62 <!ELEMENT etik:m_where_def (#PCDATA|xref)*> 52 63 <!ELEMENT etik:m_description (#PCDATA|xref)*> 53 64 54 <!ELEMENT etik:notes (#PCDATA|para|xref )*>65 <!ELEMENT etik:notes (#PCDATA|para|xref|orderedlist|itemizedlist)*> 55 66 56 67 -
doc-docbook/src/xml/graph-classes.xml
r151 r153 5 5 </para> 6 6 7 <section> 8 <title>Pelda osztaly</title> 7 9 &osztaly-forma; 10 </section> 11 <section> 12 <title>Masik</title> 8 13 &search_iterator; 9 14 </section> 10 15 11 16 </chapter> -
doc-docbook/src/xml/osztaly-forma.xml
r152 r153 1 <etik:class id="haho" >1 <etik:class id="haho" xreflabel="Példa osztály"> 2 2 <etik:name> 3 3 Osztály neve … … 15 15 A description-be kerülhet új bekezdés is többek között. 16 16 </para> 17 <xref linkend="haho"/>17 Egy link: <xref linkend="haho"/> 18 18 </etik:description> 19 19 -
doc-docbook/src/xml/search_iterator.xml
r151 r153 36 36 37 37 Vigyázat, a programlisting mód parsolt, és minden <![CDATA[<]]>-t értelmez! 38 Elõnye, hogy lehet bele linkeket csinálni, de talán kényelmesebb egy LaTeX-szerû39 verbatim-mód, ezt valósítja meg az <![CDATA[<etik:code>]]> element.40 38 41 39 <etik:code> 40 <![CDATA[ 42 41 int _i=1; 43 42 int _ii=1; … … 47 46 _i*=_ii; ++_ii; 48 47 } 48 ]]> 49 49 </etik:code> 50 50 </etik:example>
Note: See TracChangeset
for help on using the changeset viewer.