diff options
| author | fukachan <fukachan> | 2001-05-01 08:47:06 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-05-01 08:47:06 +0000 |
| commit | 08fb808a4eb1d44ad2dd33f00f6168517df9f4c2 (patch) | |
| tree | e75038e46b2bde028a56e6a034c4cb468d76c735 /fml/doc | |
| parent | ba66e84e4de2b80750d3abf98c5510da3540858d (diff) | |
| download | fml8-08fb808a4eb1d44ad2dd33f00f6168517df9f4c2.tar.gz fml8-08fb808a4eb1d44ad2dd33f00f6168517df9f4c2.tar.bz2 fml8-08fb808a4eb1d44ad2dd33f00f6168517df9f4c2.zip | |
sgml definitions for fml project
Diffstat (limited to 'fml/doc')
| -rw-r--r-- | fml/doc/share/sgml/catalog | 8 | ||||
| -rw-r--r-- | fml/doc/share/sgml/catalog.sample | 12 | ||||
| -rw-r--r-- | fml/doc/share/sgml/fml.dsl | 72 | ||||
| -rw-r--r-- | fml/doc/share/sgml/fml.dtd | 4 | ||||
| -rw-r--r-- | fml/doc/share/sgml/templates/glossary.sgml | 14 | ||||
| -rw-r--r-- | fml/doc/share/sgml/templates/list.sgml | 15 | ||||
| -rw-r--r-- | fml/doc/share/sgml/templates/table.sgml | 27 | ||||
| -rw-r--r-- | fml/doc/share/sgml/templates/variablelist.sgml | 13 |
8 files changed, 165 insertions, 0 deletions
diff --git a/fml/doc/share/sgml/catalog b/fml/doc/share/sgml/catalog new file mode 100644 index 00000000..30f1b7e4 --- /dev/null +++ b/fml/doc/share/sgml/catalog @@ -0,0 +1,8 @@ +PUBLIC "-//FML//DTD DocBook V3.1-Based Extension//EN" + "fml.dtd" + +PUBLIC "-//FML//DOCUMENT DocBook Stylesheet//EN" + "fml.dsl" + +PUBLIC "-//FML//DOCUMENT DocBook Language Neutral Stylesheet//EN" + "fml.dsl" diff --git a/fml/doc/share/sgml/catalog.sample b/fml/doc/share/sgml/catalog.sample new file mode 100644 index 00000000..17fe238c --- /dev/null +++ b/fml/doc/share/sgml/catalog.sample @@ -0,0 +1,12 @@ +CATALOG "/usr/pkg/share/sgml/docbook/2.4.1/catalog" +CATALOG "/usr/pkg/share/sgml/docbook/3.0/catalog" +CATALOG "/usr/pkg/share/sgml/docbook/3.1/catalog" +CATALOG "/usr/pkg/share/sgml/docbook/4.0/catalog" +CATALOG "/usr/pkg/share/sgml/docbook/4.1/catalog" +CATALOG "/usr/pkg/share/sgml/docbook/dsssl/modular/catalog" +CATALOG "/usr/pkg/share/sgml/iso8879/catalog" +CATALOG "/usr/pkg/share/sgml/iso12083/catalog" +CATALOG "/usr/pkg/share/sgml/jade/catalog" +CATALOG "/usr/local/share/sgml/stylesheets/sgmltools/sgmltools.cat" +CATALOG "/usr/local/share/sgml/dtd/sgmltools/catalog" + diff --git a/fml/doc/share/sgml/fml.dsl b/fml/doc/share/sgml/fml.dsl new file mode 100644 index 00000000..fd6bc59e --- /dev/null +++ b/fml/doc/share/sgml/fml.dsl @@ -0,0 +1,72 @@ +<!-- $FML$ --> + +<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ + <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL> +]> + +<style-sheet> + <style-specification use="docbook"> + <style-specification-body> + + <![ %output.html; [ + + (define %root-filename% + ;; Name for the root HTML document + "index") + + (define %html-ext% + ;; Default extension for HTML output files + ".html") + + (define %use-id-as-filename% + ;; Use ID attributes as name for component HTML files? + #t) + + (define ($html-body-end$) + (if (equal? $email-footer$ (normalize "")) + (empty-sosofo) + (make sequence + (if nochunks + (make empty-element gi: "hr") + (empty-sosofo)) + ($email-footer$)))) + + (define ($email-footer$) + (make sequence + (make element gi: "p" + attributes: (list (list "align" "center")) + (make element gi: "small" + (literal "fml-devel (fml 5.0), which is in prototype stage, homepage is ") + (make element gi: "a" + attributes: + (list (list "href" "http://www.fml.org/devel/fmlsrc/") + (list "target" "_top")) + (literal "www.fml.org/devel/fmlsrc/")) + (literal ".")) + + (make empty-element gi: "br") + + (make element gi: "small" + (literal "fml 4.0 homepage is ") + (make element gi: "a" + attributes: + (list (list "href" "http://www.fml.org/fml/menu.html") + (list "target" "_top")) + (literal "www.fml.org/fml/menu.html")) + (literal ".")) + + (make empty-element gi: "br") + + (make element gi: "small" + (literal "For questions about FML, e-mail <") + (make element gi: "a" + attributes: (list (list "href" "mailto:fml-bugs@fml.org")) + (literal "fml-bugs@fml.org")) + (literal ">."))))) + ]]> + + </style-specification-body> + </style-specification> + + <external-specification id="docbook" document="docbook.dsl"> +</style-sheet> diff --git a/fml/doc/share/sgml/fml.dtd b/fml/doc/share/sgml/fml.dtd new file mode 100644 index 00000000..3a1bcc05 --- /dev/null +++ b/fml/doc/share/sgml/fml.dtd @@ -0,0 +1,4 @@ +<!-- Pull in the original DTD --> +<!ENTITY % orig-docbook PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> +%orig-docbook; + diff --git a/fml/doc/share/sgml/templates/glossary.sgml b/fml/doc/share/sgml/templates/glossary.sgml new file mode 100644 index 00000000..416c8c7c --- /dev/null +++ b/fml/doc/share/sgml/templates/glossary.sgml @@ -0,0 +1,14 @@ +<glossary> + <title>Glossary</title> + + <glossentry> + <glossterm>ASCII</glossterm> + <glossdef> + <para> + ... + </para> + </glossdef> + </glossentry> + +</glossary> + diff --git a/fml/doc/share/sgml/templates/list.sgml b/fml/doc/share/sgml/templates/list.sgml new file mode 100644 index 00000000..501be354 --- /dev/null +++ b/fml/doc/share/sgml/templates/list.sgml @@ -0,0 +1,15 @@ +<itemizedlist> + + <listitem> + <para> + .... + </para> + </listitem> + + <listitem> + <para> + .... + </para> + </listitem> + +</itemizedlist> diff --git a/fml/doc/share/sgml/templates/table.sgml b/fml/doc/share/sgml/templates/table.sgml new file mode 100644 index 00000000..68a559e0 --- /dev/null +++ b/fml/doc/share/sgml/templates/table.sgml @@ -0,0 +1,27 @@ +<para> + <table> + <title> table description </title> + <tgroup cols=2> + + <thead> + <row> + <entry> key </entry> + <entry> value </entry> + </row> + </thead> + + <tbody> + <row> + <entry> key1 </entry> + <entry> value1 </entry> + </row> + + <row> + <entry> key2 </entry> + <entry> value2 </entry> + </row> + </tbody> + + </tgroup> + </table> +</para> diff --git a/fml/doc/share/sgml/templates/variablelist.sgml b/fml/doc/share/sgml/templates/variablelist.sgml new file mode 100644 index 00000000..7f601c33 --- /dev/null +++ b/fml/doc/share/sgml/templates/variablelist.sgml @@ -0,0 +1,13 @@ +<variablelist> + + <varlistentry> + <term>AAP</term> + + <listitem> + <para> + ... + </para> + </listitem> + </varlistentry> + +</variablelist> |
