From fe15c0884d3392ab0e35ac7f4c9ea7db1b849400 Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Thu, 24 Oct 2024 20:49:15 +0200 Subject: [PATCH] Handle sections within an LwDITA topic --- .../src/main/xslt/common-html.xslt | 48 +++++++++++++++++- .../src/main/xslt/common-pdf.xslt | 50 ++++++++++++++----- .../src/main/xslt/create-map-html.xslt | 20 ++++---- .../src/main/xslt/create-topic-html.xslt | 28 ++++++++++- .../src/main/xslt/create-topic-pdf.xslt | 17 +++++-- 5 files changed, 134 insertions(+), 29 deletions(-) diff --git a/cityehr-quick-start-guide/src/main/xslt/common-html.xslt b/cityehr-quick-start-guide/src/main/xslt/common-html.xslt index f72f22e..b1eea7e 100644 --- a/cityehr-quick-start-guide/src/main/xslt/common-html.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/common-html.xslt @@ -1,6 +1,7 @@ @@ -11,6 +12,8 @@ Author: Adam Retter --> + + @@ -35,7 +38,50 @@ - + + + + +
    + + + + + 1 + + + + +
+
+ + + + + + + + + + + +
  • .
  • + + + +
      + + + + + + + + +
    +
    +
    + diff --git a/cityehr-quick-start-guide/src/main/xslt/common-pdf.xslt b/cityehr-quick-start-guide/src/main/xslt/common-pdf.xslt index 89a1408..4c3f95a 100644 --- a/cityehr-quick-start-guide/src/main/xslt/common-pdf.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/common-pdf.xslt @@ -132,7 +132,7 @@ - + @@ -143,22 +143,48 @@ Table of Contents - - - - - - . - - - - - + + + + 1 + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + diff --git a/cityehr-quick-start-guide/src/main/xslt/create-map-html.xslt b/cityehr-quick-start-guide/src/main/xslt/create-map-html.xslt index e936a14..952e31f 100644 --- a/cityehr-quick-start-guide/src/main/xslt/create-map-html.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/create-map-html.xslt @@ -51,13 +51,7 @@ - -

    Table of Contents

    -
      - - -
    -
    + @@ -82,9 +76,15 @@
    - - -
  • + + + +

    Table of Contents

    + + + + +
    diff --git a/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt b/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt index 1294f4d..57ca337 100644 --- a/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt @@ -86,7 +86,33 @@
    - + + +
    + +
    +
    + + +

    +
    + + +

    +
    + + +

    +
    + + +
    +
    + + +
    +
    + diff --git a/cityehr-quick-start-guide/src/main/xslt/create-topic-pdf.xslt b/cityehr-quick-start-guide/src/main/xslt/create-topic-pdf.xslt index 1059ac2..c9239d9 100644 --- a/cityehr-quick-start-guide/src/main/xslt/create-topic-pdf.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/create-topic-pdf.xslt @@ -64,7 +64,7 @@ - + @@ -72,19 +72,26 @@ - + - + - + + + + + + + + - +