diff options
author | jfieber <jfieber@FreeBSD.org> | 1997-01-19 21:21:18 +0000 |
---|---|---|
committer | jfieber <jfieber@FreeBSD.org> | 1997-01-19 21:21:18 +0000 |
commit | 53fb34f6b959ed023e794047bf53ae691be2e949 (patch) | |
tree | 5a8da6749455de41d50a26d2ed1a9a6f2061828c /share/sgml | |
parent | 81b3c1218e3cd659cbd9560212e6f8f01f168288 (diff) | |
download | FreeBSD-src-53fb34f6b959ed023e794047bf53ae691be2e949.zip FreeBSD-src-53fb34f6b959ed023e794047bf53ae691be2e949.tar.gz |
Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
Diffstat (limited to 'share/sgml')
-rw-r--r-- | share/sgml/transpec/docbook-html.ts | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/share/sgml/transpec/docbook-html.ts b/share/sgml/transpec/docbook-html.ts index 07bc30d..8c3dfb8 100644 --- a/share/sgml/transpec/docbook-html.ts +++ b/share/sgml/transpec/docbook-html.ts @@ -111,6 +111,9 @@ ${_action &r.blkpe;t}</end>'> <!ENTITY r.hyphen "60"> <!ENTITY r.nl "61"> +<!ENTITY r.inchdr "70"> +<!ENTITY r.incftr "71"> + <!ENTITY cmap SYSTEM "/usr/share/sgml/transpec/html.cmap"> <!ENTITY sdata SYSTEM "/usr/share/sgml/transpec/html.sdata"> @@ -431,8 +434,10 @@ ${_action &r.blkpe;t}</end> <start>^<!-- Generated on ${date} using ${transpec} --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML><TITLE>${_followrel descendant TITLE &r.pass;}</TITLE> -<BODY BGCOLOR="#FFFFFF" TEXT="#000000">^</start> +<BODY BGCOLOR="#FFFFFF" TEXT="#000000"> +${_isset inchdr &r.inchdr;}^</start> <end>^${_set fnotenum 1}${_action &r.fnote;t} +${_isset incftr &r.incftr;} </BODY></HTML></end> </rule> @@ -757,6 +762,13 @@ ${_action &r.blkpe;t}</end> <gi>ENTRYTBL </rule> +<rule> <!-- Environmental variable --> +<match> +<gi>ENVVAR +<action> +&m.tt; +</rule> + <rule> <!-- Brief text set at the beginning of a document as relevant to its content --> <match> <gi>EPIGRAPH @@ -1602,6 +1614,14 @@ ${_action &r.blkpe;t}</end> <gi>PROGRAMLISTINGCO </rule> +<rule> <!-- Character indicating the start of an input field in a + computer display --> +<match> +<gi>PROMPT +<action> +&m.tt; +</rule> + <rule> <!-- Defined set of data associated with a window --> <match> <gi>PROPERTY @@ -2804,4 +2824,22 @@ ${_find top gi FOOTNOTE &r.fnotei;} <replace>^</replace> </rule> +<!-- Insert a header file --> +<rule id="&r.inchdr;"> +<match> +<varval>inchdr . +<action> +<replace>${_include ${inchdr}}</replace> +</rule> + +<!-- Insert a footer file --> +<rule id="&r.incftr;"> +<match> +<varval>incftr . +<action> +<replace>${_include ${incftr}}</replace> +</rule> + + + </transpec> |