From: Steve Ball Date: Wed, 10 Nov 2004 06:58:32 +0000 (+0000) Subject: implemented admonitions X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe7a39a6a8db8e87197f02a28b4a6042f7103590;p=docbook-dsssl implemented admonitions --- diff --git a/xsl/wordml/docbook.xsl b/xsl/wordml/docbook.xsl index 24e3a6443..3797c8d41 100755 --- a/xsl/wordml/docbook.xsl +++ b/xsl/wordml/docbook.xsl @@ -193,6 +193,13 @@ + + section nested deeper than 5 levels + sect5- + + sect @@ -230,7 +237,7 @@ - + @@ -264,7 +271,7 @@ - + @@ -496,7 +503,7 @@ - + @@ -504,8 +511,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -532,6 +594,18 @@ + + + + + + + + + + + + @@ -592,7 +666,6 @@ self::bridgehead | self::calloutlist | self::caption | - self::caution | self::chapter | self::classsynopsis | self::colophon | @@ -613,7 +686,6 @@ self::highlights | self::imageobject | self::imageobjectco | - self::important | self::index | self::indexdiv | self::indexentry | @@ -672,13 +744,11 @@ self::substeps | self::task | self::textobject | - self::tip | self::toc | self::variablelist | self::varlistentry | self::videodata | self::videoobject | - self::warning | self::*[not(starts-with(name(), "informal")) and contains(name(), "info")]'> diff --git a/xsl/wordml/specifications.xml b/xsl/wordml/specifications.xml index c787b9197..5c30a5a3e 100755 --- a/xsl/wordml/specifications.xml +++ b/xsl/wordml/specifications.xml @@ -104,6 +104,7 @@ dated 5 November, 2004 Attributes are a feature of DocBook XML that have no direct counterpart in Word. One approach is to use Word Bookmarks for attributes. For example, a Word Bookmark named att_role_foobar could be inserted into a paragraph. When converted to DocBook XML, this would become a role="foobar" attribute on the element derived from the paragraph containing the Bookmark. [Alternatively, we could use hidden text for attributes.] +[Do we need a parameter to specify whether titles should be placed in the *info subelement?] DocBook to WordML styles Components and sections -book +book/bookinfo/title book-title -chapter +book/bookinfo/subtitle +book-subtitle + + + +book/bookinfo/titleabbrev +book-titleabbrev + + + +chapter/chapterinfo/title chapter-title Assigned Word outline level 1. -appendix +chapter/chapterinfo/subtitle +chapter-subtitle + + + +chapter/chapterinfo/titleabbrev +chapter-titleabbrev + + + +appendix/appendixinfo/title appendix-title Assigned Word outline level 1. -preface +preface/prefaceinfo/title preface-title Assigned Word outline level 1. -article +article/articleinfo/title article-title Assigned Word outline level 1. -bibliography +article/articleinfo/subtitle +article-subtitle + + + +article/articleinfo/titleabbrev +article-titleabbrev + + + +bibliography/bibliographyinfo/title bibliography-title Assigned Word outline level 1. -glossary +glossary/glossaryinfo/title glossary-title Assigned Word outline level 1. -index +index/indexinfo/title index-title Assigned Word outline level 1. -sect1 +sect1/sect1info/title sect1-title Assigned Word outline level 2. -sect2 +sect1/sect1info/subtitle +sect1-subtitle + + + +sect1/sect1info/titleabbrev +sect1-titleabbrev + + + +sect2/sect2info/title sect2-title Assigned Word outline level 3. -sect3 +sect2/sect2info/subtitle +sect2-subtitle + + + +sect2/sect2info/titleabbrev +sect2-titleabbrev + + + +sect3/sect3info/title sect3-title Assigned Word outline level 4. -sect4 +sect3/sect3info/subtitle +sect3-subtitle + + + +sect3/sect3info/titleabbrev +sect3-titleabbrev + + + +sect4/sect4info/title sect4-title Assigned Word outline level 5. -sect5 +sect4/sect4info/subtitle +sect4-subtitle + + + +sect4/sect4info/titleabbrev +sect4-titleabbrev + + + +sect5/sect5info/title sect5-title Assigned Word outline level 6. +sect5/sect5info/subtitle +sect5-subtitle + + + +sect5/sect5info/titleabbrev +sect5-titleabbrev + + + +section +sectN-title +Unnumbered sections are mapped to their numbered equivalent. A parameter (named?) may be set to map numbered sections (sect1, etc) back to unnumbered sections. + + Block-level elements diff --git a/xsl/wordml/template.xml b/xsl/wordml/template.xml index 0673d26a1..c0521f706 100644 --- a/xsl/wordml/template.xml +++ b/xsl/wordml/template.xml @@ -1,3 +1,3 @@ -This document left intentionally blankSteve BallSteve Ball10372004-10-04T23:25:00Z2004-10-26T05:53:00Z1535113911.6113This document intentionally left blank. \ No newline at end of file +This document left intentionally blankSteve BallSteve Ball12532004-10-04T23:25:00Z2004-11-08T07:54:00Z1535113911.6113This document intentionally left blank. \ No newline at end of file