From d737780daaa66d457737915f3d93bdbf6e8952e8 Mon Sep 17 00:00:00 2001 From: Carsten Milling Date: Tue, 30 Dec 2025 17:42:57 +0100 Subject: [PATCH 1/5] Change language code from 'lat' to 'la' --- src/xproc/dracor-lib.xpl | 4 ++-- .../tei-processing/_dracor-xml-to-tei-teiHeader.xsl | 2 +- src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xproc/dracor-lib.xpl b/src/xproc/dracor-lib.xpl index 99f20e8..f1b058c 100644 --- a/src/xproc/dracor-lib.xpl +++ b/src/xproc/dracor-lib.xpl @@ -44,8 +44,8 @@ - - + + diff --git a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl index 4e49496..58876df 100644 --- a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl +++ b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl @@ -24,7 +24,7 @@ ;\s ^\d{4}$ ^not\sbefore\s(\d{4}),\snot\safter\s(\d{4})$ - lat + la diff --git a/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl b/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl index 1c3402f..d9db482 100644 --- a/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl +++ b/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl @@ -19,7 +19,7 @@ - + From 8da393018bdb10788912c8d6c693b00d11407f9c Mon Sep 17 00:00:00 2001 From: Carsten Milling Date: Tue, 30 Dec 2025 17:47:22 +0100 Subject: [PATCH 2/5] Adjust to new way of encoding licence information --- .../_dracor-xml-to-tei-teiHeader.xsl | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl index 58876df..9a463a4 100644 --- a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl +++ b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl @@ -165,12 +165,9 @@ - - - - - - + + +

Copyright of the text edition (c) @@ -468,9 +465,10 @@ - - - Licence + + + + From 0b01b09ec134385ecc651e07f152130bc8c159e3 Mon Sep 17 00:00:00 2001 From: Carsten Milling Date: Tue, 30 Dec 2025 17:49:23 +0100 Subject: [PATCH 3/5] Remove empty `sex` and `role` attributes --- src/xslt/docx2dracor/tei-processing/tei-generate-particDesc.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xslt/docx2dracor/tei-processing/tei-generate-particDesc.xsl b/src/xslt/docx2dracor/tei-processing/tei-generate-particDesc.xsl index 537fb30..95eac12 100644 --- a/src/xslt/docx2dracor/tei-processing/tei-generate-particDesc.xsl +++ b/src/xslt/docx2dracor/tei-processing/tei-generate-particDesc.xsl @@ -31,7 +31,7 @@ - + From 5d6f93496e62027d9e02ff82987cc1ebaa4ee089 Mon Sep 17 00:00:00 2001 From: Carsten Milling Date: Tue, 30 Dec 2025 18:00:49 +0100 Subject: [PATCH 4/5] Add type="dracor" to TEI element --- src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl b/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl index d9db482..72baf60 100644 --- a/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl +++ b/src/xslt/docx2dracor/tei-processing/dracor-xml-to-tei.xsl @@ -19,7 +19,7 @@ - + From 552450efae0ad1e402122d53cbf040f61cea47ba Mon Sep 17 00:00:00 2001 From: Carsten Milling Date: Tue, 13 Jan 2026 17:42:55 +0100 Subject: [PATCH 5/5] Remove type="main" from title --- .../docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl index 9a463a4..611b807 100644 --- a/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl +++ b/src/xslt/docx2dracor/tei-processing/_dracor-xml-to-tei-teiHeader.xsl @@ -308,7 +308,7 @@ - + <title xmlns="http://www.tei-c.org/ns/1.0"> <xsl:apply-templates select="$cell" mode="tei" />