From 4bf871e555efa9cb3d4c6ebd3b8ed7fb0e5e0cb7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 2 Dec 2016 15:06:12 -0500 Subject: start work on node info, a way to go --- org/ao_defaults.org | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) (limited to 'org/ao_defaults.org') diff --git a/org/ao_defaults.org b/org/ao_defaults.org index 067fe59..4f9777c 100644 --- a/org/ao_defaults.org +++ b/org/ao_defaults.org @@ -169,7 +169,7 @@ template SiSUregisters() { #+name: ao_defaults_templates #+BEGIN_SRC d - auto pointer_head_main = + auto ptr_head_main = [ "classify", "creator", @@ -182,7 +182,7 @@ template SiSUregisters() { "rights", "title" ]; - auto pointer_head_sub_classify = + auto ptr_head_sub_classify = [ "dewey", "keywords", @@ -190,7 +190,7 @@ template SiSUregisters() { "subject", "topic_register" ]; - auto pointer_head_sub_creator = + auto ptr_head_sub_creator = [ "author", "author_email", @@ -198,7 +198,7 @@ template SiSUregisters() { "illustrator", "translator" ]; - auto pointer_head_sub_date = + auto ptr_head_sub_date = [ "added_to_site", "available", @@ -208,14 +208,14 @@ template SiSUregisters() { "published", "valid" ]; - auto pointer_head_sub_identifier = + auto ptr_head_sub_identifier = [ "isbn", "oclc", "pg" ]; /+ make +/ - auto pointer_head_sub_make = + auto ptr_head_sub_make = [ "cover_image", "home_button_image", @@ -230,27 +230,27 @@ template SiSUregisters() { "texpdf_font", "css" ]; - auto pointer_head_sub_notes = + auto ptr_head_sub_notes = [ "abstract", "description" ]; - auto pointer_head_sub_original = + auto ptr_head_sub_original = [ "language", "source", "title" ]; - auto pointer_head_sub_publisher = + auto ptr_head_sub_publisher = [ "name" ]; - auto pointer_head_sub_rights = + auto ptr_head_sub_rights = [ "copyright", "cover", "illustrations", "license" ]; - auto pointer_head_sub_title = + auto ptr_head_sub_title = [ "edition", "full", @@ -389,6 +389,33 @@ template SiSUrgxInitFlags() { } #+END_SRC +#+name: ao_defaults_templates +#+BEGIN_SRC d +template SiSUnode() { + string[string][string] node_metadata() { + auto node_ = [ + "object" : [ + "is" : "", + "heading_ptr" : "", + "doc_object_ptr" : "", + "obj_cite_number" : "", + "segment_anchor_tag" : "", + "parent_obj_cite_number" : "", + "parent_lev_markup_number" : "", + ], + "heading" : [ + "html_segnames_ptr" : "", + "lev_markup_number" : "", + "lev_collapsed_number" : "", + // "ancestors" : "", + // "open_headings_to_close" : "", + ], + ]; + return node_; + } +} +#+END_SRC + ** template: bibliography :biblio: #+name: ao_defaults_templates -- cgit v1.2.3