aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2001-02-20 19:10:26 +0000
committerNik Clayton <nik@FreeBSD.org>2001-02-20 19:10:26 +0000
commite06261c405dade15c15790eb84b164b636379be5 (patch)
treebd7b8fb0c2d4a6854dd52b2dfa16ffb3ee338354 /share
parent18f94d697b6f368e779b04cd44a44beaaf3bde1b (diff)
downloaddoc-e06261c405dade15c15790eb84b164b636379be5.tar.gz
doc-e06261c405dade15c15790eb84b164b636379be5.zip
FreeBSD customisation layer of the DocBook 4.1 DTD.
Notes
Notes: svn path=/head/; revision=8805
Diffstat (limited to 'share')
-rw-r--r--share/sgml/freebsd41.dtd127
1 files changed, 127 insertions, 0 deletions
diff --git a/share/sgml/freebsd41.dtd b/share/sgml/freebsd41.dtd
new file mode 100644
index 0000000000..ab0bff85c4
--- /dev/null
+++ b/share/sgml/freebsd41.dtd
@@ -0,0 +1,127 @@
+<!-- FreeBSD Documentation Project, Extended DocBook DTD
+
+ This DTD builds upon the DocBook 4.1 DTD. It extends it in order to
+ add some new elements.
+
+ The comment style and section headings are drawn from the DocBook DTD.
+
+ The FPI for this DTD is "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN"
+
+ $FreeBSD: doc/share/sgml/freebsd.dtd,v 1.8 2001/01/06 18:26:11 alex Exp $
+-->
+
+<!-- ..................................................................... -->
+<!-- Parameter entities .................................................. -->
+
+<!-- These parameter entities have specific meanings, and default to
+ "IGNORE". The SGML parser is free to redefine them to "INCLUDE" to
+ cause special processing. -->
+
+<!ENTITY % output.html "IGNORE"> <!-- HTML output is being generated -->
+<!ENTITY % output.html.images "IGNORE"> <!-- HTML with images -->
+<!ENTITY % output.print "IGNORE"> <!-- Print output is being generated -->
+<!ENTITY % output.print.pdf "IGNORE"> <!-- PDF output -->
+
+<!-- ..................................................................... -->
+<!-- Entities for element classes and mixtures ........................... -->
+
+<!-- Character level classes -->
+<!ENTITY % local.tech.char.class "|HostID|Username|Devicename|MakeTarget|MakeVar">
+
+<!ENTITY % local.cptr.char.mix "|CO">
+
+<!-- OS Version attributes ...............................................
+
+ Each element has three attributes which specify which version(s) of
+ FreeBSD the element's content applies to. It is up to the
+ pre-processor to include or exclude elements based on the value of
+ these attributes. -->
+<!ENTITY % local.common.attrib
+ "OSVersionMin CDATA #IMPLIED
+ OSVersionMax CDATA #IMPLIED
+ OSVersionIn CDATA #IMPLIED">
+
+<!-- Altered general entities ............................................
+
+ The HTML 4.0 DTD includes some new ISO entities. Most browsers don't
+ support them yet. Change the definition of some of these entities to
+ character strings that the browsers will support.
+
+ This does not apply when generating printed output, so these are
+ contained within a %output.html; marked section.
+
+ As browser technology improves, these definitions can be removed. -->
+
+<![ %output.html; [
+<!ENTITY bdquo ",,">
+<!ENTITY ldquo "``">
+<!ENTITY rdquo "''">
+<!ENTITY lsquo "`">
+<!ENTITY rsquo "'">
+<!ENTITY mdash "--">
+<!ENTITY ndash "-">
+<!ENTITY hellip "...">
+<!ENTITY dollar "$">
+]]>
+
+<!ENTITY % filename.element "IGNORE">
+
+<!-- Pull in the original DTD -->
+<!ENTITY % orig-docbook PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+%orig-docbook;
+
+<!-- ...................................................................... -->
+<!-- Inline, link, and ubiquitous elements ................................ -->
+
+<!-- Technical and computer terms ......................................... -->
+
+<!ELEMENT HostID - - ((%cptr.char.mix;)+)>
+<!ATTLIST HostID
+ --
+ Role: More specific information about this hostname.
+ If not specified then the default is 'hostname'.
+ --
+ Role (Hostname
+ |Domainname
+ |FQDN
+ |IPAddr
+ |IP6Addr
+ |Netmask
+ |MAC) #IMPLIED
+ %common.attrib;
+>
+
+<!ELEMENT Username - - ((%cptr.char.mix;)+)>
+<!ATTLIST Username
+ %common.attrib;
+>
+
+<!ELEMENT Devicename - - ((%cptr.char.mix;)+)>
+<!ATTLIST Devicename
+ %common.attrib;
+>
+
+<!ELEMENT MakeTarget - - ((%cptr.char.mix;)+)>
+<!ATTLIST MakeTarget
+ %common.attrib;
+>
+
+<!ELEMENT MakeVar - - ((%cptr.char.mix;)+)>
+<!ATTLIST MakeVar
+ %common.attrib;
+>
+
+<!-- The content model for <filename> was changed between DocBook 3.1 and
+ 4.1. Specifically, <envar> was disallowed. There's a suggestion from
+ the DocBook maintainers that this may have been a mistake. In the
+ meantime, explicitly allow it here.
+
+ In addition, allow our custom addition, <makevar> -->
+<!ELEMENT Filename - - (%smallcptr.char.mix;|Envar|MakeVar)+>
+
+<!-- ...................................................................... -->
+<!-- General entities for reuse ........................................... -->
+
+<!ENTITY prompt.root "<prompt>#</prompt>">
+<!ENTITY prompt.user "<prompt>%</prompt>">
+