diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-10-27 17:31:37 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | 573ee7f71db12700bd587b62bb74e193bfb98a3e (patch) | |
tree | 76bd8e8e688821fee33018a169b86c055a30b7b1 /org | |
parent | 0.7.3 provide associated segment name for endnotes section and book index (diff) |
sync, fix level :A split infodoc-reform_v0.0.7
Diffstat (limited to 'org')
-rw-r--r-- | org/ao_abstract_doc_source.org | 2 | ||||
-rw-r--r-- | org/ao_read_source_files.org | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org index 7255cc7..7aa8a0a 100644 --- a/org/ao_abstract_doc_source.org +++ b/org/ao_abstract_doc_source.org @@ -525,7 +525,7 @@ if ((type["heading"] == State.on) obj_im.obj_inline_markup_and_anchor_tags(an_object, dochead_make_aa); // tuple this with anchor tags? an_object["substantive"] = substantive_object_and_anchor_tags_tuple[0]; anchor_tags = substantive_object_and_anchor_tags_tuple[1]; - if (to!int(an_object["lev_markup_number"]) == 4) { + if (to!int(an_object["lev_markup_number"]) == 4) { segment_object_belongs_to = anchor_tags[0]; } else if (to!int(an_object["lev_markup_number"]) < 4) { segment_object_belongs_to = ""; diff --git a/org/ao_read_source_files.org b/org/ao_read_source_files.org index a004fc2..8aab5c9 100644 --- a/org/ao_read_source_files.org +++ b/org/ao_read_source_files.org @@ -242,9 +242,7 @@ auto markupSourceReadIn(in string fn_src) { auto markupSourceHeaderContentRawLineTupleArray(in string source_txt_str) { auto hc = header0Content1(source_txt_str); auto header = hc[0]; - char[] la; - la ~= "A~ "; - char[] source_txt = la ~ hc[1]; + char[] source_txt = hc[1]; auto source_line_arr = markupSourceLineArray(source_txt); auto t = tuple( header, |