aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/conf_make_meta_structs.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-03-02 17:36:21 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit0524cd606d45ecc6ee52dc7c8f1655398c75712c (patch)
tree9aa65bf1ead450df126251ab53ad06480a373067 /src/sdp/meta/conf_make_meta_structs.d
parentconf, make, meta, init and tidy substitution (diff)
make auto numbering related
Diffstat (limited to 'src/sdp/meta/conf_make_meta_structs.d')
-rw-r--r--src/sdp/meta/conf_make_meta_structs.d19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/sdp/meta/conf_make_meta_structs.d b/src/sdp/meta/conf_make_meta_structs.d
index add72d6..41af6ba 100644
--- a/src/sdp/meta/conf_make_meta_structs.d
+++ b/src/sdp/meta/conf_make_meta_structs.d
@@ -20,8 +20,9 @@ struct ConfCompositeMakeStr {
string home_button_image;
string home_button_text;
string italics;
- string num_top;
- string num_depth;
+ string auto_num_top_at_level;
+ int auto_num_top_lv = 9;
+ int num_depth = 2;
string[][] substitute;
string texpdf_font;
}
@@ -68,10 +69,13 @@ struct confCompositeMakeBuild {
}
return _out;
}
- auto num_top(string _mk) {
+ auto auto_num_top_at_level(string _mk) {
return _mk;
}
- auto num_depth(string _mk) {
+ auto auto_num_top_lv(int _mk) {
+ return _mk;
+ }
+ auto num_depth(int _mk) {
return _mk;
}
auto substitute(string[][] _mk) {
@@ -92,8 +96,9 @@ struct ConfCompositeMakeInit {
string home_button_image;
string home_button_text;
string[] italics;
- string num_top;
- string num_depth;
+ string auto_num_top_at_level;
+ int auto_num_top_lv = 9;
+ int num_depth = 2;
string[][] substitute;
string texpdf_font;
}
@@ -243,7 +248,7 @@ static auto ptr_head_sub_make
"home_button_image",
"home_button_text",
"footer", "headings",
- "num_top", "num_depth",
+ "auto_num_top_at_level", "auto_num_top_lv", "num_depth",
"breaks",
"substitute",
"bold",