📄 birddoc.dtd
字号:
<!-- This is a DTD, but will be read as -*- sgml -*- --><!-- ================================================= --><!-- $Id$ This was heavilly modified for use with bird! Don't you dare to use itanywhere else. <pavel@ucw.cz> This was LINUXDOC.DTD, a hacked version of QWERTZ.DTD v1.3 by Matt Welsh, Greg Hankins, Eric Raymond, Marc Baudoin and Tristan Debeaupuis; modified from QWERTZ.DTD by Tom Gordon. $Log$ Revision 1.4 2000-06-05 21:02:58 mj Define element <progdoc> which initializes different formatting for the programmer's guide (\raggedbottom etc.). Also, omit "\usepackage{t1enc}", so that bullets work now. Revision 1.3 2000/05/31 14:24:21 mj Formatting of progdoc works in both HTML and LaTeX. The LaTeX output still has somewhat weird spacing, but it will be hopefully easy to fix. 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. Pavel, please check whether it builds in your environment as well. Revision 1.1 2000/05/11 12:00:36 pavel Critical files from linuxdoc1 distribution checked in. Revision 1.8 1998/06/26 19:41:11 cg * Add (La)TeX logos. (NJ) Revision 1.7 1998/03/22 10:39:08 cg * Corrected "isoent" entity reference in DTD. (CdG) Revision 1.6 1998/01/08 19:48:20 cg * Added "invisible" index tags <nidx> and <ncdx>. (SM/CdG) Revision 1.5 1997/11/23 21:04:37 cg * Added <file> tag to all DTDs and documented it (ESR) * Added <idx> and <cdx> to linuxdoc97 and sgmltool DTDs (ESR) * Arrange for <htmlurl> to call \url in the LaTeX back end (ESR) Revision 1.4 1997/11/21 22:58:13 cg * Allow [ and ] to be used inside <tag></tag>. (ESR) Revision 1.3 1997/11/12 21:47:24 cg * Manually modified the Log entry in linuxdoc96.dtd. It contained SGML comments, and nested comments won't go... (CdG) Revision 1.2 1997/11/11 20:50:22 cg * First pass at conditionals. This version is implemented with magic comments <!- if -> and <!- unless ->. (ESR) * The generic options processing now includes the -D option to pass in an attribute/value pair for conditionals. This meant the -D option in sgml2html had to be changed, it's now -h. (ESR) Revision 1.1 1997/07/09 13:27:19 cg * Completely new DTD setup by Bernd (BK). --><!-- ================================================= --><!-- Revision Comments --><!-- ESR/97/11/17: Added file tag. --><!-- ESR/97/11/11: Removed the crude and undocumented conditionalization features in this DTD. They weren't in the original linuxdoc 1.3 DTD, and are superseded by the new if/unless facility. --><!-- BK/97/05/09: this is the original Linuxdoc DTD, as of SGML Tools 0.99.0. It is not longer supported. Use only if in dire need, for backwards compabitlity. Backend support for undocumented QWERTZ leftovers not in the strict Linuxdoc DTD's is not guaranteed. --><!-- BK/97/06/06: finally applied changes proposed by Ken MacLeod to dtd/catalog (PUBLIC). Removed the duplicated linuxdoc96 element name. --><!-- BK/97/06/22: replaced entire content with DTD from 0.99.12 release - I am not going to maintain any changes to this, just replacing. --><!-- ================================================= --><!entity % emph " em|it|bf|sf|sl|tt|cf|m|cparam|const|func|struct|param|type|funcdef " ><!entity % index "idx|cdx|nidx|ncdx" ><!-- url added by HG; htmlurl added by esr --><!entity % xref " label|ref|pageref|cite|url|htmlurl|ncite " ><!entity % inline " (#pcdata | f| x| %emph; |sq| %xref | %index | file )* " ><!entity % list " list | itemize | enum | descrip " ><!entity % par " %list; | comment | lq | quote | tscreen | hrule " ><!entity % mathpar " dm | eq " ><!entity % thrm " def | prop | lemma | coroll | proof | theorem " ><!entity % litprog " code | verb " ><!entity % sectpar " %par; | figure | tabular | table | %mathpar; | %thrm; | %litprog; | function "><!element birddoc o o (sect | chapt | article | report | book | letter | telefax | slides | notes | manpage ) ><!-- `general' entity replaced with ISO entities - kwm --><!entity % isoent system "isoent">%isoent;<!entity urlnam sdata "urlnam" ><!entity refnam sdata "refnam" ><!entity tex sdata "[tex ]" ><!entity latex sdata "[latex ]" ><!entity latexe sdata "[latexe]" ><!entity tm sdata "[trade ]" ><!entity dquot sdata "[quot ]" ><!entity ero sdata "[amp ]" ><!entity etago '</' ><!entity Ae 'Ä' ><!entity ae 'ä' ><!entity Oe 'Ö' ><!entity oe 'ö' ><!entity Ue 'Ü' ><!entity ue 'ü' ><!entity sz 'ß' ><!element p o o (( %inline | %sectpar )+) +(newline) ><!entity ptag '<p>' ><!entity psplit '</p><p>' ><!element hrule - - EMPTY><!shortref pmap "&#RS;B" null "&#RS;B&#RE;" psplit "&#RS;&#RE;" psplit-- '"' qtag -- "[" lsqb "~" nbsp "_" lowbar "#" num "%" percnt "^" circ "{" lcub "}" rcub "|" verbar ><!usemap pmap p><!element em - - (%inline)><!element bf - - (%inline)><!element it - - (%inline)><!element sf - - (%inline)><!element sl - - (%inline)><!element tt - - (%inline)><!element cf - - (%inline)><!element m - - (%inline)><!element sq - - (%inline)><!element cparam - - (%inline)><!element const - - (%inline)><!element func - - (%inline)><!element struct - - (%inline)><!element param - - (%inline)><!element type - - (%inline)><!element funcdef - - (%inline)><!element function - - (%inline | p | funcsect)*><!element funcsect - o (%inline)><!entity ftag '<f>' -- formula begin -- ><!entity qendtag '</sq>'><!shortref sqmap "&#RS;B" null-- '"' qendtag -- "[" lsqb "~" nbsp "_" lowbar "#" num "%" percnt "^" circ "{" lcub "}" rcub "|" verbar ><!usemap sqmap sq ><!element lq - - (p*)><!element quote - - ((%inline; | %sectpar;)*, p*)+ ><!element tscreen - - ((%inline; | %sectpar;)*, p*)+ ><!element itemize - - (item+)><!element enum - - (item+)><!element list - - (item+)><!-- What a mess. The following is here to clean up problems with paragraph breaks in a descrip. I can think of cases where this might break, but it seems to work. mdw --><!shortref desmap "&#RS;B" null "&#RS;B&#RE;" ptag "&#RS;&#RE;" ptag "~" nbsp "_" lowbar "#" num "%" percnt "^" circ "[" lsqb "]" rsqb "{" lcub "}" rcub "|" verbar ><!element descrip - - ((tag | tagp)?, p+)+ ><!usemap desmap descrip><!element item o o ((%inline; | %sectpar;)*, p*) ><!element tag - o (%inline)><!usemap desmap tag><!element tagp - o (%inline)><!usemap desmap tagp><!usemap global (list,itemize,enum)><!entity space " "><!entity null ""><!--<!shortref bodymap "&#RS;B&#RE;" ptag "&#RS;&#RE;" ptag '"' qtag "[" lsqb "~" nbsp "_" lowbar "#" num "%" percnt "^" circ "{" lcub "}" rcub "|" verbar>--><!element figure - - ((eps | ph ), img*, caption?)><!attlist figure loc cdata "tbp" caption cdata "Caption"><!-- eps attributes added by mb and td --><!element eps - o empty ><!attlist eps file cdata #required height cdata "5cm" angle cdata "0"><!element ph - o empty ><!attlist ph vspace cdata #required><!element img - o empty><!attlist img src cdata #required><!element caption - o (%inline)><!shortref oneline "B&#RE;" space "&#RS;&#RE;" null "&#RS;B&#RE;" null-- '"' qtag -- "[" ftag "~" nbsp "_" lowbar "#" num "%" percnt "^" circ "{" lcub "}" rcub "|" verbar><!usemap oneline tag><!usemap oneline caption><!entity % tabrow "(%inline, (colsep, %inline)*)" ><!element tabular - - (hline?, %tabrow, (rowsep, hline?, %tabrow)*, caption?) ><!attlist tabular ca cdata #required><!element rowsep - o empty><!element colsep - o empty><!element hline - o empty><!entity rowsep "<rowsep>"><!entity colsep "<colsep>"><!shortref tabmap "&#RE;" null "&#RS;&#RE;" null "&#RS;B&#RE;" null "&#RS;B" null "B&#RE;" null "BB" space "@" rowsep "|" colsep "[" ftag-- '"' qtag -- "_" thinsp "~" nbsp "#" num "%" percnt "^" circ "{" lcub "}" rcub ><!usemap tabmap tabular><!element table - - (tabular, caption?) ><!attlist table
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -