From 60e34a2acd828681be9043ac710174aee6aba203 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 7 Mar 2022 12:13:48 -0500 Subject: latex, pagebreaks, make headers - for book, article and manually set pagebreaks, not fully utilized but flexibility introduced --- src/doc_reform/meta/conf_make_meta_json.d | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/doc_reform/meta/conf_make_meta_json.d') diff --git a/src/doc_reform/meta/conf_make_meta_json.d b/src/doc_reform/meta/conf_make_meta_json.d index 076487d..af2cc3e 100644 --- a/src/doc_reform/meta/conf_make_meta_json.d +++ b/src/doc_reform/meta/conf_make_meta_json.d @@ -90,16 +90,21 @@ static template contentJSONtoSpineStruct() { confCompositeMakeBuild _mk; /+ make ------------------------------------------------------------------- +/ if ("make" in _json.object) { - if ("bold" in _json.object["make"] - && (_json.object["make"]["bold"].type().to!string == "string") + if ("doc_type" in _json.object["make"] + && (_json.object["make"]["doc_type"].type().to!string == "string") ) { - _struct_composite.make_str.bold = _json.object["make"]["bold"].str; + _struct_composite.make_str.doc_type = _json.object["make"]["doc_type"].str; } if ("breaks" in _json.object["make"] && (_json.object["make"]["breaks"].type().to!string == "string") ) { _struct_composite.make_str.breaks = _json.object["make"]["breaks"].str; } + if ("bold" in _json.object["make"] + && (_json.object["make"]["bold"].type().to!string == "string") + ) { + _struct_composite.make_str.bold = _json.object["make"]["bold"].str; + } if ("cover_image" in _json.object["make"] && (_json.object["make"]["cover_image"].type().to!string == "string") ) { -- cgit v1.2.3