aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-05-12 12:00:28 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-05-12 12:00:28 +0200
commitdf69c0fa5535e95e5061ae38aa51a9a89c605486 (patch)
treec40b01b1d6f47ad186f4ed1eec032a56b6930bd3 /ekdosis.dtx
parent58fdd08bfa8baada5b565e1afd974e926888b06a (diff)
downloadekdosis-df69c0fa5535e95e5061ae38aa51a9a89c605486.tar.gz
tidy up
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx18
1 files changed, 4 insertions, 14 deletions
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()
1122 local j = 1 1122 local j = 1
1123 while listWit[i].handDesc[j] 1123 while listWit[i].handDesc[j]
1124 do 1124 do
1125 -- f:write('<p><abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr></p>", "\n") 1125 f:write("<handNote xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
1126 -- if listWit[i].handDesc[j].handNote == "" 1126 f:write('<abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr>", "\n")
1127 -- then 1127 f:write("<p>", textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n")
1128 -- f:write('<handNote><abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr></handNote>", "\n") 1128 f:write("</handNote>", "\n")
1129 -- else
1130 f:write("<handNote xml:id=\"", listWit[i].handDesc[j].xmlid, "\">", "\n")
1131 f:write('<abbr type="siglum">', textotei(listWit[i].handDesc[j].abbr), "</abbr>", "\n")
1132 f:write("<p>", textotei(listWit[i].handDesc[j].detailsDesc), "</p>", "\n")
1133 f:write("</handNote>", "\n")
1134 -- f:write("<handNote>\n<p>", textotei(listWit[i].handDesc[j].handNote), "</p>\n</handNote>", "\n")
1135 -- end
1136 j = j + 1 1129 j = j + 1
1137 end 1130 end
1138 f:write("</handDesc>", "\n") 1131 f:write("</handDesc>", "\n")
@@ -1145,9 +1138,6 @@ function ekdosis.openteistream()
1145 f:write("</origin>", "\n") 1138 f:write("</origin>", "\n")
1146 f:write("</history>", "\n") 1139 f:write("</history>", "\n")
1147 end 1140 end
1148 -- if listWit[i].detailsDesc == "" then else
1149 -- f:write("<p>", textotei(listWit[i].detailsDesc), "</p>", "\n")
1150 -- end
1151 f:write("</msDesc>", "\n") 1141 f:write("</msDesc>", "\n")
1152 f:write("</witness>", "\n") 1142 f:write("</witness>", "\n")
1153 end 1143 end