diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-04-19 16:38:54 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-04-19 16:38:54 +0200 |
commit | 58397c235c5ddfa78dc109e2fdb6a3e5f8b82f7e (patch) | |
tree | b266bac93713c94829aeac6cbf0cae872b70c2c0 | |
parent | 8776b6904301f706580b6078193a145e9c882b5e (diff) | |
download | ekdosis-58397c235c5ddfa78dc109e2fdb6a3e5f8b82f7e.tar.gz |
replaced <p> with <handNote> in <handDesc>
-rw-r--r-- | ekdosis.dtx | 8 |
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 |
749 | end | 749 | end |
@@ -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") |