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 /org/output_xmls.org | |
parent | 0.26.3 object info changes (diff) |
object_number, replaces object_cite_number in code
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r-- | org/output_xmls.org | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org index eb0e263..db81b28 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -738,7 +738,7 @@ auto heading(O)( } _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 @@ -761,12 +761,12 @@ auto heading(O)( </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, @@ -827,7 +827,7 @@ auto para(O)( _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 @@ -846,12 +846,12 @@ auto para(O)( %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 ); @@ -909,7 +909,7 @@ auto quote(O)( ) { _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 @@ -925,10 +925,10 @@ auto quote(O)( %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 ); } @@ -985,7 +985,7 @@ auto group(O)( ) { _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 @@ -1001,10 +1001,10 @@ auto group(O)( %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 ); } @@ -1062,7 +1062,7 @@ auto block(O)( ) { _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>¶", @@ -1074,10 +1074,10 @@ auto block(O)( <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 ); } @@ -1135,7 +1135,7 @@ auto verse(O)( ) { _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>¶", @@ -1147,10 +1147,10 @@ auto verse(O)( <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 ); } @@ -1206,7 +1206,7 @@ auto code(O)( 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>¶", @@ -1218,10 +1218,10 @@ auto code(O)( <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 ); } @@ -1300,10 +1300,10 @@ auto table(O)( %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 @@ -2017,7 +2017,7 @@ string epub3_oebps_content(D,I,P)(D doc_abstraction, I doc_matters, P parts) { "%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 ); } @@ -2454,23 +2454,23 @@ void outputEPub3(D,I)( 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, ); } } |