From df69c0fa5535e95e5061ae38aa51a9a89c605486 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Sun, 12 May 2019 12:00:28 +0200
Subject: tidy up

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

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 1d46f1d..243264d 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -1122,17 +1122,10 @@ function ekdosis.openteistream()
 	 local j = 1
 	 while listWit[i].handDesc[j]
 	 do
-	    -- f:write('<p><abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr></p>", "\n")
-	    -- if listWit[i].handDesc[j].handNote == ""
-	    -- then
-	    --    f:write('<handNote><abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr></handNote>", "\n")
-	    -- else
-	       f:write("<handNote xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
-	       f:write('<abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr>", "\n")
-	       f:write("<p>", textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n")
-	       f:write("</handNote>", "\n")
-	       -- f:write("<handNote>\n<p>", textotei(listWit[i].handDesc[j].handNote), "</p>\n</handNote>", "\n")
-	    -- end
+	    f:write("<handNote xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
+	    f:write('<abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr>", "\n")
+	    f:write("<p>", textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n")
+	    f:write("</handNote>", "\n")
 	    j = j + 1
 	 end
 	 f:write("</handDesc>", "\n")
@@ -1145,9 +1138,6 @@ function ekdosis.openteistream()
 	 f:write("</origin>", "\n")
 	 f:write("</history>", "\n")
       end
-      -- if listWit[i].detailsDesc == "" then else
-      -- f:write("<p>", textotei(listWit[i].detailsDesc), "</p>", "\n")
-      -- end
       f:write("</msDesc>", "\n")
       f:write("</witness>", "\n")
    end
-- 
cgit v1.2.3

