diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-06-13 18:19:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | f78907dd0dbcfa12698f85a6cebe77f3f5de46e9 (patch) | |
tree | 75e4adfd5404caf6b7805c5aedf977d5e3709505 /src/sdp/output | |
parent | 0.26.3 object info changes (diff) |
object_number, replaces object_cite_number in code
Diffstat (limited to 'src/sdp/output')
-rw-r--r-- | src/sdp/output/epub3.d | 12 | ||||
-rw-r--r-- | src/sdp/output/xmls.d | 64 |
2 files changed, 38 insertions, 38 deletions
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d index 18b9986..303898d 100644 --- a/src/sdp/output/epub3.d +++ b/src/sdp/output/epub3.d @@ -117,7 +117,7 @@ template outputEPub3() { "%s~ [%s.xhtml#%s] %s", obj.marked_up_level, obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, obj.text ); } @@ -531,23 +531,23 @@ template outputEPub3() { format(q"¶ <item id="%s.xhtml#%s" href="%s.xhtml#%s" media-type="application/xhtml+xml" /> ¶", obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, ); oepbs_content_parts["spine"] ~= format(q"¶ <itemref idref="%s.xhtml#%s" linear="yes" /> ¶", obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, ); oepbs_content_parts["guide"] ~= format(q"¶ <reference type="%s#%s" href="%s#%s" /> ¶", obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, ); } } diff --git a/src/sdp/output/xmls.d b/src/sdp/output/xmls.d index cc08bfe..e5d27c9 100644 --- a/src/sdp/output/xmls.d +++ b/src/sdp/output/xmls.d @@ -579,7 +579,7 @@ template outputXHTMLs() { } _txt = font_face(_txt); string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶%s <div class="substance"> <h%s class="%s">%s @@ -602,12 +602,12 @@ template outputXHTMLs() { </h%s> </div>¶", _horizontal_rule, - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.node.heading_lev_markup, obj.typeinfo.is_a, - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, tags, _txt, obj.node.heading_lev_markup, @@ -649,7 +649,7 @@ template outputXHTMLs() { _txt = font_face(_txt); string o; _txt = (obj.attrib.bullet) ? ("●  " ~ _txt) : _txt; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s" indent="h%si%s">%s %s @@ -668,12 +668,12 @@ template outputXHTMLs() { %s </p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, obj.attrib.indent_hang, obj.attrib.indent_base, - obj.node.obj_cite_number, + obj.node.object_number, tags, _txt ); @@ -712,7 +712,7 @@ template outputXHTMLs() { ) { _txt = font_face(_txt); string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s"> %s @@ -728,10 +728,10 @@ template outputXHTMLs() { %s </p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, _txt ); } @@ -769,7 +769,7 @@ template outputXHTMLs() { ) { _txt = font_face(_txt); string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s"> %s @@ -785,10 +785,10 @@ template outputXHTMLs() { %s </p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, _txt ); } @@ -827,7 +827,7 @@ template outputXHTMLs() { ) { _txt = font_face(_txt); string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s">%s</p> </div>¶", @@ -839,10 +839,10 @@ template outputXHTMLs() { <label class="ocn"><a href="#%s" class="lnkocn">%s</a></label> <p class="%s" id="%s">%s</p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, _txt.stripRight ); } @@ -881,7 +881,7 @@ template outputXHTMLs() { ) { _txt = font_face(_txt); string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s">%s</p> </div>¶", @@ -893,10 +893,10 @@ template outputXHTMLs() { <label class="ocn"><a href="#%s" class="lnkocn">%s</a></label> <p class="%s" id="%s">%s</p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, _txt ); } @@ -981,10 +981,10 @@ template outputXHTMLs() { %s </p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, tags, _txt, _note @@ -1011,7 +1011,7 @@ template outputXHTMLs() { string _txt, ) { string o; - if (obj.node.obj_cite_number.empty) { + if (obj.node.object_number.empty) { o = format(q"¶ <div class="substance"> <p class="%s">%s</p> </div>¶", @@ -1023,10 +1023,10 @@ template outputXHTMLs() { <label class="ocn"><a href="#%s" class="lnkocn">%s</a></label> <p class="%s" id="%s">%s</p> </div>¶", - obj.node.obj_cite_number, - obj.node.obj_cite_number, + obj.node.object_number, + obj.node.object_number, obj.typeinfo.is_a, - obj.node.obj_cite_number, + obj.node.object_number, _txt ); } |