diff options
Diffstat (limited to 'src/sdp/output_epub3.d')
-rw-r--r-- | src/sdp/output_epub3.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdp/output_epub3.d b/src/sdp/output_epub3.d index f0ac2c3..314fe64 100644 --- a/src/sdp/output_epub3.d +++ b/src/sdp/output_epub3.d @@ -117,7 +117,7 @@ template outputEPub3() { enum DomTags { none, open, close, close_and_open, open_still, } auto markup = InlineMarkup(); string toc ="<nav epub:type=\"toc\" id=\"toc\">\n"; - foreach (sect; doc_matters.keys_seq_seg) { + foreach (sect; doc_matters.keys_seq.seg) { foreach (obj; doc_abstraction[sect]) { if (obj.is_a == "heading") { foreach_reverse (n; 0 .. 7) { @@ -202,7 +202,7 @@ template outputEPub3() { doc_matters.dochead_meta["title"]["full"], // title (doc_matters.dochead_meta["creator"]["author"].empty) ? "" : doc_matters.dochead_meta["creator"]["author"], // author ); - foreach (sect; doc_matters.keys_seq_seg) { + foreach (sect; doc_matters.keys_seq.seg) { foreach (obj; doc_abstraction[sect]) { if (obj.is_a == "heading") { foreach_reverse (k; 0 .. 7) { @@ -261,7 +261,7 @@ template outputEPub3() { string[] top_level_headings = ["","","",""]; string[string] oepbs_content_parts; string suffix = ".xhtml"; - foreach (part; doc_matters.keys_seq_seg) { + foreach (part; doc_matters.keys_seq.seg) { foreach (obj; doc_abstraction[part]) { if (obj.is_a == "heading") { switch (obj.heading_lev_markup) { |