diff options
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/org/sdp.org b/org/sdp.org index cc9eee2..032448e 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -27,7 +27,7 @@ struct Version { int minor; int patch; } -enum ver = Version(0, 18, 0); +enum ver = Version(0, 18, 1); #+END_SRC #+NAME: version_txt @@ -714,10 +714,13 @@ foreach (k; doc_matters.keys_seq.seg) { if (k == "body") { check["last_obj_cite_number_body"] = obj.obj_cite_number; } - if ((k != "bookindex_seg") && (k != "blurb")) { + if (!(obj.obj_cite_number.empty)) { check["last_obj_cite_number"] = obj.obj_cite_number; - } else if (k == "bookindex_seg") { - check["last_obj_cite_number_bkidx"] = obj.obj_cite_number; + } + } + if (k == "bookindex_seg") { + if (obj.obj_cite_number_type == 2) { + check["last_obj_cite_number_bkidx"] = obj.obj_cite_number_bkidx; } } } |