From 9d45b0a57a884e4a291ebd270f06d7474edcb97e Mon Sep 17 00:00:00 2001 From: EsGeh Date: Tue, 19 Mar 2019 17:12:07 +0100 Subject: [PATCH 01/16] enabled paragraph accordeon and refs for paragraphs (numbering still incorrect) --- tei2html.xsl | 125 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 77 insertions(+), 48 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index c251629..9a80385 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -21,6 +21,11 @@ + + + + + @@ -38,7 +43,7 @@ - + @@ -452,7 +457,8 @@ - + + @@ -475,7 +481,7 @@ - + @@ -605,32 +611,36 @@
-

- - - - - - - - - - - - -

- -

- - - - - -

-
- - - +
+ +

+ + + + + + + + + + + + +

+ +

+ + + + + +

+
+ Close All + + + +
@@ -670,7 +680,7 @@
- + @@ -809,18 +819,37 @@ + + + + paragraph -
-

Permanent Link

-

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

- http://mprl-series.mpg.de/studies/1/6/index.html#1 -
- -

- -

-
- + +
@@ -907,13 +936,13 @@ section -

- - - - -

- +

+ + + + +

+ From 84854208d3677ed8092b8987bc364463da862619 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Tue, 19 Mar 2019 18:02:05 +0100 Subject: [PATCH 02/16] sections are accordeon items, not paragraphs --- tei2html.xsl | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 9a80385..2918b14 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -824,32 +824,23 @@ paragraph -
- - - -
-

- -

- - +

+ +

- -
+ + -
-

Permanent Link

-

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

- - - -
-
-
- + +
@@ -936,13 +927,22 @@ section -

- - - - -

- + From 0496ea3918cf162d3ad9ced72c3a81a2aff83dde Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 13:43:55 +0100 Subject: [PATCH 03/16] paragraph numbering chapterwise --- tei2html.xsl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 2918b14..dcbba7a 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -818,12 +818,14 @@
- - - + + + + + - paragraph + paragraph

From 67cb9f22df020cde924d895d9fcff1d94a4f6499 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 13:46:41 +0100 Subject: [PATCH 04/16] cleaning up commented code --- tei2html.xsl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index dcbba7a..6efb07f 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -945,12 +945,8 @@ -
- subsection

From e89563beeffd2b68c3cef654b9cd13202d69a4b2 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 15:10:55 +0100 Subject: [PATCH 05/16] restructured code, added comments --- tei2html.xsl | 112 +++++++++++++++++++++++++++------------------------ 1 file changed, 60 insertions(+), 52 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 6efb07f..d0e1a48 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -39,7 +39,7 @@ - <xsl:apply-templates select="//tei:titleStmt/tei:title[@type='main']/text()"/> + <xsl:apply-templates select="//tei:titleStmt/tei:title[@type='main']"/> @@ -818,6 +818,53 @@ + + + + + + + + section + + + + + subsection +

+ + + + +

+ +
+ + + subsubsection +

+ +

+ +
+ + + @@ -845,9 +892,13 @@ --> - - inline formula - + + epigraph +

+ + + +

@@ -880,6 +931,8 @@ --> + + markup @@ -916,54 +969,9 @@ - - - - epigraph -

- - - -

-
- - - section -
- - - - subsection -

- - - - -

- -
- - - subsubsection -

- -

- + + inline formula + + + + + WARNING: unhandled inline element + + + + + + + + WARNING: unhandled paragraph level element + + + + + + From 6c77fb3c20b2318922b3aa7d40106cd5eb3b9605 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 16:14:42 +0100 Subject: [PATCH 07/16] use modes more differentiated, fixed epigraph and doubled headings --- tei2html.xsl | 70 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 22 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index be4428c..cf4901e 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -618,14 +618,7 @@ - - - - - - - - +

@@ -638,7 +631,7 @@ Close All - + @@ -818,9 +811,23 @@ + + + + - + + WARNING: unhandled inline element @@ -829,6 +836,7 @@ + WARNING: unhandled paragraph level element @@ -839,7 +847,9 @@ + @@ -851,14 +861,13 @@ - +

@@ -869,7 +878,7 @@ - +
@@ -877,13 +886,24 @@ subsubsection

- +

+ + + + + + + + + + + @@ -893,7 +913,7 @@ paragraph

- +

@@ -913,11 +933,13 @@ epigraph -

- - - -

+ +

+ + + +

+
@@ -952,7 +974,7 @@ - + markup @@ -988,7 +1010,11 @@ - + + + + + inline formula From 0cbf704a1b2a0eed003c4b5b655f631e1ebd4af1 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 16:50:42 +0100 Subject: [PATCH 08/16] used html @lang=... atribute for foreign languages --- tei2html.xsl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tei2html.xsl b/tei2html.xsl index cf4901e..f7ec37f 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -11,6 +11,7 @@ + @@ -1011,7 +1012,9 @@ - + + + From 898256f6f29895b4f3281d90728ecb4e005b460d Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 16:52:11 +0100 Subject: [PATCH 09/16] chapter abstract ->

...

--- tei2html.xsl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tei2html.xsl b/tei2html.xsl index f7ec37f..e8daaaf 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -8,7 +8,8 @@ exclude-result-prefixes="xs tei" version="2.0"> - + + @@ -943,6 +944,13 @@
+ + chapter abstract +

+ +

+
+ block formula From 13db9e4026dab6e819d04de8bd144c3b37922d70 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 17:04:28 +0100 Subject: [PATCH 10/16] render all paragraph level elements in sections, subsections, ... --- tei2html.xsl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index e8daaaf..959c1d8 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -835,7 +835,9 @@ + @@ -844,7 +846,9 @@ +
@@ -867,7 +871,7 @@
- +
@@ -882,7 +886,7 @@ - + @@ -890,7 +894,7 @@

- +
From bc2bdc53ad66b66bceaa0bcf70d094b45b66d1fe Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 18:23:58 +0100 Subject: [PATCH 11/16] fixed empty heading problem --- tei2html.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tei2html.xsl b/tei2html.xsl index 959c1d8..e4a3908 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -901,8 +901,8 @@ - - + + From ac4538d20424bfb6f77ddc3ee3c2aa7141e97724 Mon Sep 17 00:00:00 2001 From: EsGeh Date: Wed, 20 Mar 2019 18:26:38 +0100 Subject: [PATCH 12/16] implemented verse, list, table, adjusted mode for block formulas --- tei2html.xsl | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/tei2html.xsl b/tei2html.xsl index e4a3908..b3d15e8 100644 --- a/tei2html.xsl +++ b/tei2html.xsl @@ -955,11 +955,71 @@

- + block formula + + + verse +

+ + + +
+
+
+

+
+ + + list + + + ol + ul + ul + + ERROR: unknown list type!! + + + + + +
  • + + + : + + +
  • +
    +
    +
    + + + table +
    + + + + + + + + + + + + +
    + +
    +
    +
    +
    + + figure + + + +
    + + image could not + + +
    + +
    +
    +
    + + @@ -871,8 +874,20 @@ + paragraph

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

    @@ -914,6 +929,35 @@ + + equation array + + + + + + + + + + + + + equation array + + + + + + + + + + + + + + verse @@ -1309,6 +1353,15 @@ --> + + + + + + + + +