0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Added tags for markup of programmer's documentation.

This commit is contained in:
Martin Mares 2000-05-31 11:28:52 +00:00
parent c92795e934
commit 3fc2595495
2 changed files with 41 additions and 4 deletions

View File

@ -105,6 +105,8 @@
<p> "<P>" <p> "<P>"
</p> "" + </p> "" +
<hrule> "<HR>"
<itemize> + "<UL>" + <itemize> + "<UL>" +
</itemize> + "</UL>" + </itemize> + "</UL>" +
@ -120,6 +122,9 @@
<tag> "<DT><CODE>" <tag> "<DT><CODE>"
</tag> "</CODE><DD>" </tag> "</CODE><DD>"
<tagp> "<DT>"
</tagp> "<DD>"
<cite> "[<I>[ID]</I>]" <cite> "[<I>[ID]</I>]"
</cite> </cite>
@ -159,6 +164,24 @@
<m> "<I>" <m> "<I>"
</m> "</I>" </m> "</I>"
<const> "<I>"
</const> "</I>"
<func> "<B>"
</func> "</B>"
<struct> "<I>"
</struct> "</I>"
<param> "<B>"
</param> "</B>"
<type> "<I>"
</type> "</I>"
<funcdef> "<B>"
</funcdef> "</B>"
% url support by HG % url support by HG
<url> + "<@@url>[URL]\n" <url> + "<@@url>[URL]\n"

View File

@ -12,7 +12,10 @@ anywhere else. <pavel@ucw.cz>
Tom Gordon. Tom Gordon.
$Log$ $Log$
Revision 1.1 2000-05-29 12:05:21 mj Revision 1.2 2000-05-31 11:28:52 mj
Added tags for markup of programmer's documentation.
Revision 1.1 2000/05/29 12:05:21 mj
Renamed the DTD from linuxdoc to birddoc. Renamed the DTD from linuxdoc to birddoc.
Pavel, please check whether it builds in your environment as well. Pavel, please check whether it builds in your environment as well.
@ -79,7 +82,7 @@ anywhere else. <pavel@ucw.cz>
<!-- ================================================= --> <!-- ================================================= -->
<!entity % emph <!entity % emph
" em|it|bf|sf|sl|tt|cf|m|cparam " > " em|it|bf|sf|sl|tt|cf|m|cparam|const|func|struct|param|type|funcdef " >
<!entity % index "idx|cdx|nidx|ncdx" > <!entity % index "idx|cdx|nidx|ncdx" >
@ -94,7 +97,7 @@ anywhere else. <pavel@ucw.cz>
" list | itemize | enum | descrip " > " list | itemize | enum | descrip " >
<!entity % par <!entity % par
" %list; | comment | lq | quote | tscreen " > " %list; | comment | lq | quote | tscreen | hrule " >
<!entity % mathpar " dm | eq " > <!entity % mathpar " dm | eq " >
@ -133,6 +136,7 @@ anywhere else. <pavel@ucw.cz>
<!element p o o (( %inline | %sectpar )+) +(newline) > <!element p o o (( %inline | %sectpar )+) +(newline) >
<!entity ptag '<p>' > <!entity ptag '<p>' >
<!entity psplit '</p><p>' > <!entity psplit '</p><p>' >
<!element hrule - - EMPTY>
<!shortref pmap <!shortref pmap
"&#RS;B" null "&#RS;B" null
@ -161,6 +165,13 @@ anywhere else. <pavel@ucw.cz>
<!element sq - - (%inline)> <!element sq - - (%inline)>
<!element cparam - - (%inline)> <!element cparam - - (%inline)>
<!element const - - (%inline)>
<!element func - - (%inline)>
<!element struct - - (%inline)>
<!element param - - (%inline)>
<!element type - - (%inline)>
<!element funcdef - - (%inline)>
<!entity ftag '<f>' -- formula begin -- > <!entity ftag '<f>' -- formula begin -- >
<!entity qendtag '</sq>'> <!entity qendtag '</sq>'>
@ -205,7 +216,7 @@ anywhere else. <pavel@ucw.cz>
"}" rcub "}" rcub
"|" verbar > "|" verbar >
<!element descrip - - (tag?, p+)+ > <!element descrip - - ((tag | tagp)?, p+)+ >
<!usemap desmap descrip> <!usemap desmap descrip>
<!element item o o ((%inline; | %sectpar;)*, p*) > <!element item o o ((%inline; | %sectpar;)*, p*) >
@ -213,6 +224,9 @@ anywhere else. <pavel@ucw.cz>
<!element tag - o (%inline)> <!element tag - o (%inline)>
<!usemap desmap tag> <!usemap desmap tag>
<!element tagp - o (%inline)>
<!usemap desmap tagp>
<!usemap global (list,itemize,enum)> <!usemap global (list,itemize,enum)>
<!entity space " "> <!entity space " ">
<!entity null ""> <!entity null "">