diff options
Diffstat (limited to 'sgml')
| -rw-r--r-- | sgml/catalog | 4 | ||||
| -rw-r--r-- | sgml/freebsd.dsl | 121 | ||||
| -rw-r--r-- | sgml/freebsd.dtd | 109 |
3 files changed, 0 insertions, 234 deletions
diff --git a/sgml/catalog b/sgml/catalog deleted file mode 100644 index a71a6b9665..0000000000 --- a/sgml/catalog +++ /dev/null @@ -1,4 +0,0 @@ --- Catalog file for FreeBSD Extended DocBook DTD -- - -PUBLIC "-//FreeBSD//DTD DocBook V3.0-Based Extension//EN" "freebsd.dtd" - diff --git a/sgml/freebsd.dsl b/sgml/freebsd.dsl deleted file mode 100644 index c90a4fd4f2..0000000000 --- a/sgml/freebsd.dsl +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ -<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL> -]> - -<style-sheet> - <style-specification use="docbook"> - <style-specification-body> - - <!-- Configure the stylesheet using documented variables --> - - (define %stylesheet% - "handbook.css") - - (define %gentext-nav-use-tables% - ;; Use tables to build the navigation headers and footers? - #t) - - (define %html-ext% - ;; Default extension for HTML output files - ".html") - - (define %shade-verbatim% - ;; Should verbatim environments be shaded? - #f) - - (define %use-id-as-filename% - ;; Use ID attributes as name for component HTML files? - #t) - - (define %root-filename% - ;; Name for the root HTML document - "index") - - <!-- Slightly deeper customisations --> - - <!-- I want things marked up with 'sgmltag' eg., - - <para>You can use <sgmltag>para</sgmltag> to indicate - paragraphs.</para> - - to automatically have the opening and closing braces inserted, - and it should be in a mono-spaced font. --> - - (element sgmltag ($mono-seq$ - (make sequence - (literal "<") - (process-children) - (literal ">")))) - - <!-- John Fieber's 'instant' translation specification had - '<command>' rendered in a mono-space font, and '<application>' - rendered in bold. - - Norm's stylesheet doesn't do this (although '<command>' is - rendered in bold). - - Configure the stylesheet to behave more like John's. --> - - (element command ($mono-seq$)) - - (element application ($bold-seq$)) - - <!-- Warnings and cautions are put in boxed tables to make them stand - out. The same effect can be better achieved using CSS or similar, - so have them treated the same as <important>, <note>, and <tip> - --> - (element warning ($admonition$)) - (element (warning title) (empty-sosofo)) - (element (warning para) ($admonpara$)) - (element (warning simpara) ($admonpara$)) - (element caution ($admonition$)) - (element (caution title) (empty-sosofo)) - (element (caution para) ($admonpara$)) - (element (caution simpara) ($admonpara$)) - - (define usen-warning-label-title-sep ": ") - (define usen-caution-label-title-sep ": ") - - <!-- Tell the stylesheet about our local customisations --> - - (element hostid ($mono-seq$)) - (element username ($mono-seq$)) - (element devicename ($mono-seq$)) - (element maketarget ($mono-seq$)) - (element makevar ($mono-seq$)) - - <!-- FAQList can wait. I've been drinking, and a brief glance at - /usr/local/share/sgml/docbook/dsssl/modular/html/dblist.dsl is - enough to bring me out in cold, Lisp induced sweats. . . --> - - <!-- This replaces the existing mechanism for showing verbatim - blocks of text (programlistings, screens, and so forth. - - Norm's stylesheet renders these in a table, with optional - shading if %shade-verbatim% is set. Previous practice for - the LinuxDoc DTD (and John Fieber's stylesheet) was to - indent them using <blockquote>. Stick with previous practice. - - Norm says he will introduce a tweakable knob to affect this - in the future. --> -(define ($verbatim-display$ line-numbers?) - (let ((content (make element gi: "BLOCKQUOTE" - attributes: (list - (list "CLASS" (gi))) - (make element gi: "PRE" - (if line-numbers? - ($verbatim-content-with-linenumbers$) - ($verbatim-content$)))))) - (if %shade-verbatim% - (make element gi: "TABLE" - attributes: ($shade-verbatim-attr$) - (make element gi: "TR" - (make element gi: "TD" - content))) - content))) - - </style-specification-body> - </style-specification> - - <external-specification id="docbook" document="dbstyle"> -</style-sheet> diff --git a/sgml/freebsd.dtd b/sgml/freebsd.dtd deleted file mode 100644 index f8263988c7..0000000000 --- a/sgml/freebsd.dtd +++ /dev/null @@ -1,109 +0,0 @@ -<!-- FreeBSD Documentation Project, Extended DocBook DTD - - This DTD builds upon the DocBook 3.0 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 V3.0-Based Extension//EN" - - $Id: freebsd.dtd,v 1.2 1998-11-03 23:38:43 nik Exp $ ---> - -<!-- ..................................................................... --> -<!-- Entities for element classes and mixtures ........................... --> - -<!-- Object-level classes ................................................ --> - -<!ENTITY % local.list.class "|FAQList"> - -<!-- Character level classes --> -<!ENTITY % local.tech.char.class "|HostID|Username|Devicename|MakeTarget|MakeVar"> - - -<!-- Pull in the original DTD --> -<!ENTITY % orig-docbook PUBLIC "-//Davenport//DTD DocBook V3.0//EN"> -%orig-docbook; - -<!-- ...................................................................... --> -<!-- Lists ................................................................ --> - -<!ELEMENT FAQList - - (FAQListItem+)> -<!ATTLIST FAQList - -- - Mark: Keyword, e.g., bullet, dash, checkbox, none; - list of keywords and defaults are implementation specific - -- - %mark.attrib; - %common.attrib; -> - -<!-- FAQ Question/Answers ................................................. --> - -<!ELEMENT FAQListItem - O (FAQQuestion, FAQAnswer)> -<!ATTLIST FAQListItem - -- - Override: Indicates the mark to be used for this FAQListItem - instead of the default mark or the mark specified by - the Mark attribute on the enclosing FAQList - -- - Override CDATA #IMPLIED - %common.attrib; -> - -<!ELEMENT FAQQuestion - - ((%component.mix;)+)> -<!ATTLIST FAQQuestion - %common.attrib; -> - -<!ELEMENT FAQAnswer - - ((%component.mix;)+)> -<!ATTLIST FAQAnswer - %common.attrib; -> - - -<!-- ...................................................................... --> -<!-- 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 - |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; -> - -<!-- ...................................................................... --> -<!-- General entities for reuse ........................................... --> - -<!ENTITY prompt.root "<prompt>#</prompt>"> -<!ENTITY prompt.user "<prompt>%</prompt>"> |
