From 6f1c4369ccf7877b2b1f214aee4a38269321e382 Mon Sep 17 00:00:00 2001 From: Marcel Schaeben Date: Wed, 18 Mar 2026 17:41:02 +0100 Subject: [PATCH 1/2] allow bibliography path and link URL to be configured --- global-varsandparams.xsl | 8 ++++++-- htm-teibibl.xsl | 10 +++++----- start-edition.xsl | 1 + 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/global-varsandparams.xsl b/global-varsandparams.xsl index 94085ae..222824b 100644 --- a/global-varsandparams.xsl +++ b/global-varsandparams.xsl @@ -38,9 +38,13 @@ select="document($param-file)//parameter[name = 'js-dir']/value"/> + - + + + diff --git a/htm-teibibl.xsl b/htm-teibibl.xsl index c2639f4..f72bf2a 100644 --- a/htm-teibibl.xsl +++ b/htm-teibibl.xsl @@ -274,16 +274,16 @@ bibliography. All examples only cater for book and article. + + - - - - - + + + diff --git a/start-edition.xsl b/start-edition.xsl index 9e7fb79..e59a575 100644 --- a/start-edition.xsl +++ b/start-edition.xsl @@ -123,6 +123,7 @@ + From 82739ee4f5d3657e7a4409824401c11a0b9eaa6e Mon Sep 17 00:00:00 2001 From: Marcel Schaeben Date: Thu, 2 Apr 2026 15:32:43 +0200 Subject: [PATCH 2/2] parameterize authority file paths and bibliography link URLs --- global-parameters.xml | 25 +++++++++++++++++++++++++ global-varsandparams.xsl | 23 +++++++++++++++++++---- htm-teidivapparatus.xsl | 9 +++++---- htm-tpl-struct-inslib.xsl | 17 +++++++++-------- htm-tpl-struct-medcyprus.xsl | 11 ++++++----- start-edition.xsl | 4 ++++ teig.xsl | 13 +++++++++---- 7 files changed, 77 insertions(+), 25 deletions(-) diff --git a/global-parameters.xml b/global-parameters.xml index 1f73371..526a646 100644 --- a/global-parameters.xml +++ b/global-parameters.xml @@ -82,10 +82,35 @@ zotero + + authority-dir + + + localbibl ../BIBLIOGRAPHY.xml + + + symbols-file + + + + + places-file + + + + + institutions-file + + + + + bib-link-template + ../concordance/bibliography/$1.html + if the zotero bibliography is used, select whether it is a group library or a user's library ZoteroUorG diff --git a/global-varsandparams.xsl b/global-varsandparams.xsl index 222824b..8c6f030 100644 --- a/global-varsandparams.xsl +++ b/global-varsandparams.xsl @@ -38,12 +38,27 @@ select="document($param-file)//parameter[name = 'js-dir']/value"/> - + + + + + + select="(document($param-file)//parameter[name = 'localbibl']/value[. != ''], concat($authority-dir, 'bibliography.xml'))[1]"/> + + + + - + + + + - + - + - @@ -258,7 +259,7 @@ - + diff --git a/htm-tpl-struct-inslib.xsl b/htm-tpl-struct-inslib.xsl index a2ccd07..0d97705 100644 --- a/htm-tpl-struct-inslib.xsl +++ b/htm-tpl-struct-inslib.xsl @@ -19,6 +19,9 @@ + + +
@@ -239,12 +242,11 @@

Translation source: - - + - + @@ -373,15 +375,14 @@ - - +

Maps

- +