From f78907dd0dbcfa12698f85a6cebe77f3f5de46e9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 13 Jun 2018 18:19:46 -0400 Subject: object_number, replaces object_cite_number in code --- org/output_xmls.org | 76 ++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'org/output_xmls.org') 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
%s @@ -761,12 +761,12 @@ auto heading(O)(
¶", _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"¶

%s %s @@ -846,12 +846,12 @@ auto para(O)( %s

¶", - 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"¶

%s @@ -925,10 +925,10 @@ auto quote(O)( %s

¶", - 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"¶

%s @@ -1001,10 +1001,10 @@ auto group(O)( %s

¶", - 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"¶

%s

¶", @@ -1074,10 +1074,10 @@ auto block(O)(

%s

¶", - 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"¶

%s

¶", @@ -1147,10 +1147,10 @@ auto verse(O)(

%s

¶", - 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"¶

%s

¶", @@ -1218,10 +1218,10 @@ auto code(O)(

%s

¶", - 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

¶", - 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"¶ ¶", 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"¶ ¶", obj.tags.segment_anchor_tag, - obj.node.obj_cite_number, + obj.node.object_number, ); oepbs_content_parts["guide"] ~= format(q"¶ ¶", 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, ); } } -- cgit v1.2.3