From 2f4be56e95c8587732a0c04180ccfac74c374454 Mon Sep 17 00:00:00 2001 From: Steve Ball Date: Tue, 6 Nov 2007 12:32:39 +0000 Subject: [PATCH] fix caption, attributes --- xsl/roundtrip/blocks2dbk.xsl | 27 +++++++++++++++++++++++++++ xsl/roundtrip/dbk2wp.xsl | 3 +++ xsl/roundtrip/normalise-common.xsl | 7 ++++++- xsl/roundtrip/wordml2normalise.xsl | 16 ++++++++++++++++ 4 files changed, 52 insertions(+), 1 deletion(-) diff --git a/xsl/roundtrip/blocks2dbk.xsl b/xsl/roundtrip/blocks2dbk.xsl index ac2745389..0936a0ee7 100644 --- a/xsl/roundtrip/blocks2dbk.xsl +++ b/xsl/roundtrip/blocks2dbk.xsl @@ -124,6 +124,7 @@ @rnd:style = "" or @rnd:style = "para-continue"'> + @@ -142,6 +143,7 @@ + @@ -223,6 +225,7 @@ + @@ -239,6 +242,7 @@ normalize-space(.) = ""][1]'/> + @@ -261,6 +265,7 @@ + @@ -274,11 +279,13 @@ --> + + @@ -309,6 +316,7 @@ @rnd:style = "blockquote-attribution")][1]'/> + @@ -373,14 +381,26 @@ + + + + + + bad-caption + caption does not follow table or figure + + + + + + + + + diff --git a/xsl/roundtrip/dbk2wp.xsl b/xsl/roundtrip/dbk2wp.xsl index 22e59b7d2..e8b333df9 100644 --- a/xsl/roundtrip/dbk2wp.xsl +++ b/xsl/roundtrip/dbk2wp.xsl @@ -375,6 +375,7 @@ + + + diff --git a/xsl/roundtrip/normalise-common.xsl b/xsl/roundtrip/normalise-common.xsl index f67e40ca2..a58989a31 100644 --- a/xsl/roundtrip/normalise-common.xsl +++ b/xsl/roundtrip/normalise-common.xsl @@ -20,7 +20,12 @@ The idea is to map custom names back to standard names. --> - + + + + + + diff --git a/xsl/roundtrip/wordml2normalise.xsl b/xsl/roundtrip/wordml2normalise.xsl index 0cb292b21..d5da84b5a 100644 --- a/xsl/roundtrip/wordml2normalise.xsl +++ b/xsl/roundtrip/wordml2normalise.xsl @@ -61,10 +61,24 @@ + + + + + + + + + + + @@ -93,6 +107,8 @@ + + -- 2.40.0