From 92f3925de789c0010da5774d5c74cdfd672581dd Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Thu, 14 Mar 2002 13:48:09 +0000 Subject: [PATCH] Support formal.title.placement --- xsl/fo/formal.xsl | 125 ++++++++++++++++++++++---- xsl/fo/lists.xsl | 50 +++++++++-- xsl/fo/param.ent | 1 + xsl/fo/param.xweb | 2 + xsl/html/formal.xsl | 65 ++++++++++++-- xsl/html/lists.xsl | 58 ++++++++++-- xsl/html/param.ent | 1 + xsl/html/param.xweb | 2 + xsl/params/formal.title.placement.xml | 35 ++++++++ 9 files changed, 302 insertions(+), 37 deletions(-) create mode 100644 xsl/params/formal.title.placement.xml diff --git a/xsl/fo/formal.xsl b/xsl/fo/formal.xsl index afbb85e46..0c8f2bc6f 100644 --- a/xsl/fo/formal.xsl +++ b/xsl/fo/formal.xsl @@ -14,14 +14,21 @@ ******************************************************************** --> + + - + + + + + + @@ -39,9 +46,12 @@ + - + + + @@ -50,21 +60,59 @@ + + + + + + + + before + + + + + + - + + + - + + + - + + + + + + + + before + + + + + + + + + @@ -162,18 +210,34 @@ + + + + + + + + before + + + + + + - - - - - - + + + + + + @@ -181,12 +245,19 @@ - + + + + + - + @@ -223,7 +294,25 @@ - + + + + + + + + before + + + + + + + + + @@ -260,7 +349,9 @@ + font-size="{$footnote.font.size}" + keep-together.within-column="1" + keep-with-previous="always"> diff --git a/xsl/fo/lists.xsl b/xsl/fo/lists.xsl index 6e60816a6..1f33b05e8 100644 --- a/xsl/fo/lists.xsl +++ b/xsl/fo/lists.xsl @@ -486,17 +486,42 @@ - - + + + + + + + + + + + + before + + + + + + - - - - + + + + + + + + + + + @@ -506,6 +531,19 @@ provisional-label-separation="0.2em"> + + + + + + + + + + + + + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 09cb17da7..cb91ce2f7 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -40,6 +40,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 7f0d50c66..d93d484a4 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -180,6 +180,7 @@ to be incomplete. Don't forget to read the source, too :-) Miscellaneous &graphic.default.extension; &formal.procedures; +&formal.title.placement; &runinhead.default.title.end.punct; &runinhead.title.end.punct; &show.comments; @@ -410,6 +411,7 @@ around all these parameters. + diff --git a/xsl/html/formal.xsl b/xsl/html/formal.xsl index fda3c0d91..007fa857d 100644 --- a/xsl/html/formal.xsl +++ b/xsl/html/formal.xsl @@ -13,15 +13,27 @@ ******************************************************************** --> + +
- - + + + + + +

+ + +

+ + + +

-

- +

@@ -40,9 +52,12 @@ + - + + + @@ -51,11 +66,47 @@ - + + + + + + + + before + + + + + + + + + - + + + + + + + + before + + + + + + + + + diff --git a/xsl/html/lists.xsl b/xsl/html/lists.xsl index 44c6d02af..813855a21 100644 --- a/xsl/html/lists.xsl +++ b/xsl/html/lists.xsl @@ -36,7 +36,7 @@ -

+

@@ -175,7 +175,7 @@ -

+

@@ -295,7 +295,7 @@ -

+

@@ -600,12 +600,40 @@ + + + + + + + + before + + + + + + + +
- - + + + + + + + + + + - + + @@ -622,14 +650,30 @@ + + + + + + + + + + +
+

+ + + +

-

+

diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 81a08f1be..719fb0579 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -36,6 +36,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 818f58078..9af05df07 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -216,6 +216,7 @@ to be incomplete. Don't forget to read the source, too :-) Miscellaneous &graphic.default.extension; &formal.procedures; +&formal.title.placement; &runinhead.default.title.end.punct; &runinhead.title.end.punct; &show.comments; @@ -352,6 +353,7 @@ around all these parameters. + diff --git a/xsl/params/formal.title.placement.xml b/xsl/params/formal.title.placement.xml new file mode 100644 index 000000000..f6cecf5af --- /dev/null +++ b/xsl/params/formal.title.placement.xml @@ -0,0 +1,35 @@ + + +formal.title.placement + + + +formal.title.placement + + + + + + +figure before +example before +equation before +table before +procedure before + + + + +Description + +Specifies where formal object titles should occur. For each formal object +type (figure, +example, +equation, +table, and procedure) +you can specify either the keyword +before or +after. + + + -- 2.50.1