# HG changeset patch # User beckerjc # Date 1077640562 0 # Node ID 89c6e4687fcc463b42eeacb2af4fe2c1dcad8cab # Parent 7d7dc3fab826172e1f25efbbf76d4754e13b8405 Makefile a html-hez. A verbatim m?dok elk?sz?t?se. diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/Makefile --- a/doc-docbook/src/Makefile Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/Makefile Tue Feb 24 16:36:02 2004 +0000 @@ -3,8 +3,7 @@ .PHONY: html dvi ps pdf tex dist html: - mkdir -p ../html - docbook2html -o ../html xml/etik-ol.xml + docbook2html -o html -d etik-ol-html.dsl xml/etik-ol.xml dvi: docbook2dvi -o .. xml/etik-ol.xml diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/etik-ol-html.dsl --- a/doc-docbook/src/etik-ol-html.dsl Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/etik-ol-html.dsl Tue Feb 24 16:36:02 2004 +0000 @@ -95,6 +95,11 @@ (make element gi: "TH" (literal "Description")) (process-children))))) +(element (etik:example etik:code) + ($verbatim-display$ + #f ;; mivel indentaljon + #f)) ;; legyen-e sorszamozas + diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/etik-ol.dtd --- a/doc-docbook/src/etik-ol.dtd Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/etik-ol.dtd Tue Feb 24 16:36:02 2004 +0000 @@ -22,7 +22,11 @@ - + + + + + @@ -32,7 +36,7 @@ etik:templ_requirement, etik:templ_default)> - + @@ -43,7 +47,7 @@ etik:m_description)> - + diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/xml/etik-ol.xml --- a/doc-docbook/src/xml/etik-ol.xml Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/xml/etik-ol.xml Tue Feb 24 16:36:02 2004 +0000 @@ -1,12 +1,9 @@ - %filelist; ]> - Etik-ol Documentation @@ -65,4 +62,4 @@ &fdl; - \ No newline at end of file + diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/xml/graph-classes.xml --- a/doc-docbook/src/xml/graph-classes.xml Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/xml/graph-classes.xml Tue Feb 24 16:36:02 2004 +0000 @@ -1,7 +1,8 @@ Graph Classes - Valami leiras mondjuk a hierarchiarol. + Valami leiras mondjuk a hierarchiarol, vagy barmi altalanos, ha kell. + &osztaly-forma; diff -r 7d7dc3fab826 -r 89c6e4687fcc doc-docbook/src/xml/osztaly-forma.xml --- a/doc-docbook/src/xml/osztaly-forma.xml Mon Feb 23 19:02:16 2004 +0000 +++ b/doc-docbook/src/xml/osztaly-forma.xml Tue Feb 24 16:36:02 2004 +0000 @@ -27,14 +27,27 @@ } }; - void lookup(const map_type& Map, const char* str) { } - + +Vigyázat, a programlisting mód parsolt, és minden -t értelmez! +Előnye, hogy lehet bele linkeket csinálni, de talán kényelmesebb egy LaTeX-szerű +verbatim-mód, ezt valósítja meg az ]]> element. + + + int _i=1; + int _ii=1; + ListGraph::EdgeMap my_edge_property(G); + for(EachEdgeIt i=G.first(); i.valid(); ++i) { + my_edge_property.set(i, _i); + _i*=_ii; ++_ii; + } + + Ez a definition szekcio arra van, hogy beleirjuk, hogy milyen fajlban