diff options
Diffstat (limited to 'src/sdp/output/epub3.d')
-rw-r--r-- | src/sdp/output/epub3.d | 12 |
1 files changed, 6 insertions, 6 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, ); } } |