From 3e60cf9bc593d7a92023ee687a73231c4fe6d2c5 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 28 May 2021 17:29:34 +0200
Subject: use msItemStruct instead of msItem

---
 ekdosis.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 7e24140..c0ab205 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -9561,7 +9561,7 @@ function ekdosis.newwitness(id,
       end
       if Locus ~= "" then
 	 listWit[indexwit].msContents = {}
-	 listWit[indexwit].msContents.msItem = {locus = Locus}
+	 listWit[indexwit].msContents.msItemStruct = {locus = Locus}
       end
    end
    return true
@@ -10776,9 +10776,9 @@ function ekdosis.openteistream()
 	    else end
 	    if listWit[i].msContents ~= nil then
 	       f:write("<msContents>", "\n")
-	       f:write("<msItem>", "\n")
-	       f:write("<locus>", textotei(listWit[i].msContents.msItem.locus), "</locus>", "\n")
-	       f:write("</msItem>", "\n")
+	       f:write("<msItemStruct>", "\n")
+	       f:write("<locus>", textotei(listWit[i].msContents.msItemStruct.locus), "</locus>", "\n")
+	       f:write("</msItemStruct>", "\n")
 	       f:write("</msContents>", "\n")
 	    end
 	    if listWit[i].history ~= nil then
@@ -10923,9 +10923,9 @@ function ekdosis.basic_cs(msid)
    end
    if listWit[indexwit].msContents ~= nil
       and
-      listWit[indexwit].msContents.msItem ~= nil
+      listWit[indexwit].msContents.msItemStruct ~= nil
    then
-      locus = listWit[indexwit].msContents.msItem.locus
+      locus = listWit[indexwit].msContents.msItemStruct.locus
    else
       locus = ""
    end
-- 
cgit v1.2.3

