From f1798258a0e9229335dd83d8a8e768107661f7c6 Mon Sep 17 00:00:00 2001 From: John Fieber Date: Sat, 18 Jan 1997 02:31:36 +0000 Subject: [PATCH] 1) Start making tweaks for new things in Docbook 3.0 2) Handle more or less correctly 3) Start dealing with (it is pretty ugly!) 4) Handle titles and attributions in blockquote. 5) Handle (accelerator keys in and friends) 6) Probably some other things... --- share/sgml/transpec/docbook-html.ts | 191 +++++++++++++++++++++++++++- 1 file changed, 187 insertions(+), 4 deletions(-) diff --git a/share/sgml/transpec/docbook-html.ts b/share/sgml/transpec/docbook-html.ts index 73e21988bef..07bc30d03e3 100644 --- a/share/sgml/transpec/docbook-html.ts +++ b/share/sgml/transpec/docbook-html.ts @@ -1,6 +1,6 @@ @@ -105,6 +108,9 @@ ${_action &r.blkpe;t}'> + + + @@ -161,20 +167,31 @@ ${_action &r.blkpe;t}'> ACCEL + +&m.u; ACKNO + +^<P> +</P>^ ACRONYM +^[^a-z]*$ <SMALL>${_! echo "${+content}" | tr "[:lower:]" "[:upper:]"}</SMALL> + + +ACRONYM + + ACTION @@ -183,6 +200,11 @@ ${_action &r.blkpe;t}'> ADDRESS + +${_action &r.blkps;t} +<P> +</P> +${_action &r.blkpe;t} @@ -192,6 +214,13 @@ ${_action &r.blkpe;t}'> <BR> + + +ALT + +&m.i; + + ANCHOR @@ -235,6 +264,56 @@ ${_followrel child TITLE &r.pass;} -->^ ARG +CHOICE OPT +REP NOREPEAT + +^[ +]^ + + + + +ARG +CHOICE OPT + +^[ +&nbsp;...&nbsp;]^ + + + + +ARG +CHOICE REQ +REP NOREPEAT + +^{ +}^ + + + + +ARG +CHOICE REQ + +^{ +&nbsp;...&nbsp;}^ + + + + +ARG +REP REPEAT + +^ +&nbsp;...^ + + + + +ARG + +^ +^ @@ -242,7 +321,7 @@ ${_followrel child TITLE &r.pass;} -->^ ARTHEADER - + ARTICLE @@ -252,6 +331,13 @@ ${_followrel child TITLE &r.pass;} -->^ ARTPAGENUMS + + +ATTRIBUTION + +all + + AUTHOR @@ -300,6 +386,34 @@ ${_followrel child TITLE &r.pass;} -->^ BIBLIOMISC + + +BIBLIOMIXED + + + + +BIBLIOMSET + + + + +BIBLIOSET + + + + +BLOCKQUOTE +child ATTRIBUTION + +${_action &r.blkps;t} +${_action &r.anchor;t}<BLOCKQUOTE> +<P ALIGN=RIGHT><I>-- +${_followrel child ATTRIBUTION &r.pass;}</I></P> +</BLOCKQUOTE> +${_action &r.blkpe;t} + + BLOCKQUOTE @@ -742,8 +856,7 @@ ${_action &r.blkpe;t} FOREIGNPHRASE -<EM> -</EM> +&m.i; @@ -1028,23 +1141,58 @@ ${_action &r.blkpe;t} necessarily the same thing as a KeyCode --> KEYCAP +parent KEYCOMBO + +${_relation sibling+1 KEYCAP &r.hyphen;}${_relation sibling+1 KEYSYM &r.hyphen;}${_relation sibling+1 MOUSEBUTTON &r.hyphen;}${_relation sibling+1 KEYCOMBO &r.nl;} + + + + +KEYCAP + +&m.tt; KEYCODE + +&m.tt; KEYCOMBO +parent KEYCOMBO +sibling+1 KEYCOMBO + +^ + + + + +KEYCOMBO + +&m.tt; KEYSYM +parent KEYCOMBO + +${_relation sibling+1 KEYCAP &r.hyphen;}${_relation sibling+1 KEYSYM &r.hyphen;}${_relation sibling+1 MOUSEBUTTON &r.hyphen;}${_relation sibling+1 KEYCOMBO &r.nl;} + + + + +KEYSYM + +&m.tt; @@ -1181,6 +1329,16 @@ ${_action &r.blkpe;t} MOUSEBUTTON +parent KEYCOMBO + +${_relation sibling+1 KEYCAP &r.hyphen;}${_relation sibling+1 KEYSYM &r.hyphen;}${_relation sibling+1 MOUSEBUTTON &r.hyphen;}${_relation sibling+1 KEYCOMBO &r.nl;} + + + + +MOUSEBUTTON + +&m.tt; + +TITLE +parent BLOCKQUOTE + +^<H4>&hlofont; +&hlcfont;</H4>^ + + @@ -2621,4 +2788,20 @@ ${_find top gi FOOTNOTE &r.fnotei;} ^<P> + + + +_hyphen + +- + + + + + +_hyphen + +^ + +