From d82464fcb7e51b69ddbbe9e7084b9a9407574c76 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Thu, 21 Mar 2019 16:56:29 +0100 Subject: [PATCH 1/8] implemented index (TODO: subindices) --- tei2html.xsl | 68 +++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index e1ddeef..888485f 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -1302,25 +1302,41 @@ - - - - - - - - + + + + + + + +
- +

+ +

- - - + + + +

+ +

+
    + + + + + + +
  • + +
  • +
    +
+ +
-
-
- - - -

- -

- +
- -

- -

-
- - - From 45236b4bd3c7dc00a2eabac59b11c9ba1cb69940 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Thu, 21 Mar 2019 16:58:04 +0100 Subject: [PATCH 2/8] added info message showing the value of the "domain" param --- tei2html.xsl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tei2html.xsl b/tei2html.xsl index 888485f..22b01bb 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -28,10 +28,12 @@ + + domain: From 32e04c7d5242bacb38789f44fb35015096cdc5c3 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Thu, 21 Mar 2019 18:14:04 +0100 Subject: [PATCH 3/8] split stylesheet into two files --- tei2html.xsl | 393 +-------------------------------- tei2html_utils/html_rules.xsl | 402 ++++++++++++++++++++++++++++++++++ 2 files changed, 405 insertions(+), 390 deletions(-) create mode 100644 tei2html_utils/html_rules.xsl diff --git a/tei2html.xsl b/tei2html.xsl index 22b01bb..5a0ba80 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -9,6 +9,8 @@ version="2.0"> + + @@ -18,20 +20,11 @@ - - - - - - - - - domain: @@ -772,378 +765,6 @@ - - - - - - - - - - WARNING: unhandled inline element - - - - - - - - - WARNING: unhandled paragraph level element - - - - - - - - - - - - - - section - - - - - subsection -

- - - - -

- -
- - - subsubsection -

- -

- -
- - - - - - - - - - - - - - - - - - - - - - - paragraph -

- - - - - - - ( theorem nr ) - - - - - -

- - -
- -
-

Permanent Link

-

If you want to directly link to this paragraph in the text, you can use the following URL:

- - - -
- - - - - epigraph - -

- - - -

-
-
- - - chapter abstract -

- -

-
- - - block formula - - - - - equation array - - - - - - - - - - - - - equation array - - - - - - - - - - - - - - - - - verse -

- - - -
-
-
-

-
- - - list - - - ol - ul - ul - - ERROR: unknown list type!! - - - - - -
  • - - - : - - -
  • -
    -
    -
    - - - table -
    - - - - - - - - - - - - -
    - -
    -
    -
    -
    - - - - figure - - - -
    - - image could not - - -
    - -
    -
    -
    -
    - - - - - - - markup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - inline formula - - - - - @@ -1329,6 +950,7 @@ + @@ -1351,15 +973,6 @@ - - - - - - - - - diff --git a/tei2html_utils/html_rules.xsl b/tei2html_utils/html_rules.xsl new file mode 100644 index 0000000..c38ede8 --- /dev/null +++ b/tei2html_utils/html_rules.xsl @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + WARNING: unhandled inline element + + + + + + + + + WARNING: unhandled paragraph level element + + + + + + + + + + + + + + section + + + + + subsection +

    + + + + +

    + +
    + + + subsubsection +

    + +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + paragraph +

    + + + + + + + ( theorem nr ) + + + + + +

    + + +
    + +
    +

    Permanent Link

    +

    If you want to directly link to this paragraph in the text, you can use the following URL:

    + + + +
    + +
    + + + epigraph + +

    + + + +

    +
    +
    + + + chapter abstract +

    + +

    +
    + + + block formula + + + + + equation array + + + + + + + + + + + + + equation array + + + + + + + + + + + + + + + + + verse +

    + + + +
    +
    +
    +

    +
    + + + list + + + ol + ul + ul + + ERROR: unknown list type!! + + + + + +
  • + + + : + + +
  • +
    +
    +
    + + + table +
    + + + + + + + + + + + + +
    + +
    +
    +
    +
    + + + + figure + + + +
    + + image could not + + +
    + +
    +
    +
    +
    + + + + + + + markup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + + + inline formula + + + + + + + + + + + + + + + From 08c3c24759f6b202c0fe8bc38df1fc4667d50254 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Thu, 21 Mar 2019 18:15:20 +0100 Subject: [PATCH 4/8] added debug info --- tei2html.xsl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tei2html.xsl b/tei2html.xsl index 5a0ba80..615fde3 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -925,6 +925,7 @@ + creating index... @@ -954,6 +955,10 @@ + + + +
  • From a38cbb29218d027eb588f8e0543b1dfb6545eb26 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Mon, 25 Mar 2019 18:00:33 +0100 Subject: [PATCH 5/8] consistently name all p.-lvl. el.s. implemented footnotes. --- tei2html.xsl | 41 +++++++++++++++++++ tei2html_utils/html_rules.xsl | 75 +++++++++++++++++++++++------------ 2 files changed, 91 insertions(+), 25 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 615fde3..971e750 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -644,6 +644,9 @@ Close All + + + @@ -685,6 +688,44 @@
    + + + +
    + +

    Footnotes

    +
    +
    +
    +
      + + + + + + + +
    1. + +

      +
      + to paragraph +
    2. +
      +
      +
    +
    + + +
    +
    +
    +
    + diff --git a/tei2html_utils/html_rules.xsl b/tei2html_utils/html_rules.xsl index c38ede8..3c07dbe 100644 --- a/tei2html_utils/html_rules.xsl +++ b/tei2html_utils/html_rules.xsl @@ -56,12 +56,6 @@ --> - - - - @@ -104,6 +98,8 @@ + + @@ -115,16 +111,23 @@ + + + + - + - paragraph -

    +

    @@ -149,25 +152,31 @@ - + epigraph - -

    - - - -

    - + + + +

    + + + +

    +
    +
    chapter abstract -

    + +

    @@ -179,9 +188,10 @@ equation array + - + @@ -192,9 +202,10 @@ equation array + - + @@ -209,7 +220,8 @@ verse -

    + +

    @@ -219,8 +231,18 @@

    + + + quote + +

    + +

    +
    + list + ol @@ -232,6 +254,7 @@ +
  • @@ -246,7 +269,8 @@ table -
    + +
    @@ -269,10 +293,11 @@ figure + -
    +
    image could not From dabe8588554e78fcb8d27b2433d9ad7d34b13c45 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Mon, 25 Mar 2019 18:04:31 +0100 Subject: [PATCH 6/8] implemented inline graphics, dummy implementation for references. --- tei2html_utils/html_rules.xsl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tei2html_utils/html_rules.xsl b/tei2html_utils/html_rules.xsl index 3c07dbe..c1c8efc 100644 --- a/tei2html_utils/html_rules.xsl +++ b/tei2html_utils/html_rules.xsl @@ -387,6 +387,32 @@ + + inline graphic + (missing pic) + + + + + + + + + + + + WARNING: bibliographic reference dummy implementation + (reference to bibl.) + + + + WARNING: internal reference dummy implementation + (internal reference) + + + + + + +
    - - -
    - +
    From 47ec3e284af2e39a52be8d88d092ba5f992f32f2 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Mon, 25 Mar 2019 18:32:31 +0100 Subject: [PATCH 8/8] in chapter view: fix links to sections in the "Overview" part --- tei2html.xsl | 4 +--- tei2html_utils/html_rules.xsl | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 979b896..cbc28d9 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -602,9 +602,7 @@
  • - - # - + diff --git a/tei2html_utils/html_rules.xsl b/tei2html_utils/html_rules.xsl index c1c8efc..64bd8de 100644 --- a/tei2html_utils/html_rules.xsl +++ b/tei2html_utils/html_rules.xsl @@ -60,7 +60,7 @@ section -
    +