aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ekdosis.dtx8
1 files changed, 4 insertions, 4 deletions
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)
737 table.insert(idsRend, {xmlid = id, head = siglum}) 737 table.insert(idsRend, {xmlid = id, head = siglum})
738 table.sort(idsRend, function(a ,b) return(#a.xmlid > #b.xmlid) end) 738 table.sort(idsRend, function(a ,b) return(#a.xmlid > #b.xmlid) end)
739 local indexwit = getindex(witid, listWit) 739 local indexwit = getindex(witid, listWit)
740 -- listWit[indexwit].handDesc = {xmlid = id, head = siglum, detailsDesc = description} 740 -- listWit[indexwit].handDesc = {xmlid = id, head = siglum, handNote = description}
741 if listWit[indexwit].handDesc == nil 741 if listWit[indexwit].handDesc == nil
742 then 742 then
743 listWit[indexwit].handDesc = {} 743 listWit[indexwit].handDesc = {}
744 else 744 else
745 end 745 end
746 table.insert(listWit[indexwit].handDesc, {xmlid = id, head = siglum, detailsDesc = description}) 746 table.insert(listWit[indexwit].handDesc, {xmlid = id, head = siglum, handNote = description})
747 end 747 end
748 return true 748 return true
749end 749end
@@ -911,8 +911,8 @@ function ekdosis.openteistream()
911 do 911 do
912 f:write("<handDesc xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n") 912 f:write("<handDesc xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
913 f:write("<head>", ekdosis.textotei(listWit[i].handDesc[j].head), "</head>", "\n") 913 f:write("<head>", ekdosis.textotei(listWit[i].handDesc[j].head), "</head>", "\n")
914 if listWit[i].handDesc[j].detailsDesc == "" then else 914 if listWit[i].handDesc[j].handNote == "" then else
915 f:write("<p>", ekdosis.textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n") 915 f:write("<handNote>\n<p>", ekdosis.textotei(listWit[i].handDesc[j].handNote), "</p>\n</handNote>", "\n")
916 end 916 end
917 j = j + 1 917 j = j + 1
918 f:write("</handDesc>", "\n") 918 f:write("</handDesc>", "\n")