From 58397c235c5ddfa78dc109e2fdb6a3e5f8b82f7e Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Fri, 19 Apr 2019 16:38:54 +0200
Subject: replaced <p> with <handNote> in <handDesc>

---
 ekdosis.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index ff1a81f..7687345 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -737,13 +737,13 @@ function ekdosis.newhand(id, witid, siglum, description)
       table.insert(idsRend, {xmlid = id, head = siglum})
       table.sort(idsRend, function(a ,b) return(#a.xmlid > #b.xmlid) end)
       local indexwit = getindex(witid, listWit)
-      -- listWit[indexwit].handDesc = {xmlid = id, head = siglum, detailsDesc = description}
+      -- listWit[indexwit].handDesc = {xmlid = id, head = siglum, handNote = description}
       if listWit[indexwit].handDesc == nil
       then
 	 listWit[indexwit].handDesc = {}
       else
       end
-      table.insert(listWit[indexwit].handDesc, {xmlid = id, head = siglum, detailsDesc = description})
+      table.insert(listWit[indexwit].handDesc, {xmlid = id, head = siglum, handNote = description})
    end
    return true
 end
@@ -911,8 +911,8 @@ function ekdosis.openteistream()
 	 do
 	    f:write("<handDesc xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
 	    f:write("<head>", ekdosis.textotei(listWit[i].handDesc[j].head), "</head>", "\n")
-	    if listWit[i].handDesc[j].detailsDesc == "" then else
-	       f:write("<p>", ekdosis.textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n")
+	    if listWit[i].handDesc[j].handNote == "" then else
+	       f:write("<handNote>\n<p>", ekdosis.textotei(listWit[i].handDesc[j].handNote), "</p>\n</handNote>", "\n")
 	    end
 	    j = j + 1
 	    f:write("</handDesc>", "\n")
-- 
cgit v1.2.3

