diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-01-29 17:00:31 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-05-17 16:59:38 -0400 |
commit | 5f6caf585c7ccaac0a4310987c85fdcfd3bcff3d (patch) | |
tree | 35da6f6f333a23a7c8a0cc87ee3c2322299a816f /org/output_sqlite.org | |
parent | rearrange some code (diff) |
format delimiter s/¶/┋/g
Diffstat (limited to 'org/output_sqlite.org')
-rw-r--r-- | org/output_sqlite.org | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/org/output_sqlite.org b/org/output_sqlite.org index 06e7f01..13b8702 100644 --- a/org/output_sqlite.org +++ b/org/output_sqlite.org @@ -158,13 +158,13 @@ template SQLiteFormatAndLoadObject() { template SQLiteTablesReCreate() { string SQLiteTablesReCreate()() { string _sql_instruct; - _sql_instruct = format(q"¶ + _sql_instruct = format(q"┋ <<sqlite_statement_drop_existing_index>> <<sqlite_statement_drop_existing_tables>> <<sqlite_statement_create_table_metadata_and_src_txt>> <<sqlite_statement_create_table_objects>> <<sqlite_statement_create_index>> - ¶",); + ┋",); return _sql_instruct; } } @@ -224,13 +224,13 @@ template SQLiteTablesCreate() { template SQLiteTablesReCreate() { string SQLiteTablesReCreate()() { string _sql_instruct; - _sql_instruct = format(q"¶ + _sql_instruct = format(q"┋ <<sqlite_statement_drop_existing_index>> <<sqlite_statement_drop_existing_tables>> <<sqlite_statement_create_table_metadata_and_src_txt>> <<sqlite_statement_create_table_objects>> <<sqlite_statement_create_index>> - ¶",); + ┋",); return _sql_instruct; } } @@ -735,9 +735,9 @@ auto html_heading(M,O)( ) { string _txt = munge_html(doc_matters, obj); _txt = inline_markup(doc_matters, obj, _txt); - string o = format(q"¶<p class="%s"><b> + string o = format(q"┋<p class="%s"><b> %s - </b></p>¶", + </b></p>┋", obj.metainfo.is_a, _txt, ); @@ -755,9 +755,9 @@ auto html_heading(M,O)( ) { string o; string _txt = munge_html(doc_matters, obj); - o = format(q"¶<h%s class="%s"> + o = format(q"┋<h%s class="%s"> %s - </h%s>¶", + </h%s>┋", obj.metainfo.heading_lev_markup, obj.metainfo.is_a, _txt, @@ -778,9 +778,9 @@ auto html_para(M,O)( string _txt = munge_html(doc_matters, obj); _txt = (obj.attrib.bullet) ? ("●  " ~ _txt) : _txt; _txt = inline_markup(doc_matters, obj, _txt); - string o = format(q"¶<p class="%s" indent="h%si%s"> + string o = format(q"┋<p class="%s" indent="h%si%s"> %s - </p>¶", + </p>┋", obj.metainfo.is_a, obj.attrib.indent_hang, obj.attrib.indent_base, @@ -799,9 +799,9 @@ auto html_quote(M,O)( auto ref const O obj, ) { string _txt = munge_html(doc_matters, obj); - string o = format(q"¶<p class="%s"> + string o = format(q"┋<p class="%s"> %s - </p>¶", + </p>┋", obj.metainfo.is_a, _txt ); @@ -818,9 +818,9 @@ auto html_group(M,O)( auto ref const O obj, ) { string _txt = munge_html(doc_matters, obj); - string o = format(q"¶<p class="%s"> + string o = format(q"┋<p class="%s"> %s - </p>¶", + </p>┋", obj.metainfo.is_a, _txt ); @@ -837,8 +837,8 @@ auto html_block(M,O)( auto ref const O obj, ) { string _txt = munge_html(doc_matters, obj); - string o = format(q"¶ - <p class="%s">%s</p>¶", + string o = format(q"┋ + <p class="%s">%s</p>┋", obj.metainfo.is_a, _txt.stripRight ); @@ -855,7 +855,7 @@ auto html_verse(M,O)( auto ref const O obj, ) { string _txt = munge_html(doc_matters, obj); - string o = format(q"¶<p class="%s">%s</p>¶", + string o = format(q"┋<p class="%s">%s</p>┋", obj.metainfo.is_a, _txt ); @@ -871,7 +871,7 @@ auto html_code(O)( auto ref const O obj, ) { string _txt = html_special_characters_code(obj.text); - string o = format(q"¶<p class="%s">%s</p>¶", + string o = format(q"┋<p class="%s">%s</p>┋", obj.metainfo.is_a, _txt ); @@ -932,12 +932,12 @@ auto html_table(M,O)( auto t = _tablarize(obj, _txt); _txt = t[0]; string _note = t[1]; - string o = format(q"¶<p class="%s"> + string o = format(q"┋<p class="%s"> <table summary="normal text css" width="95%%" border="0" bgcolor="white" cellpadding="2" align="center"> %s </table> %s - </p>¶", + </p>┋", obj.metainfo.is_a, _txt, _note @@ -1571,7 +1571,7 @@ CREATE INDEX idx_topics ON metadata_and_text(classify_topic_register); #+name: sqlite_formatted_delete #+BEGIN_SRC d string _uid = doc_matters.src.doc_uid; -string _delete_uid = format(q"¶ +string _delete_uid = format(q"┋ #+END_SRC ***** DELETE FROM ... WHERE @@ -1588,7 +1588,7 @@ WHERE uid_metadata_and_text = '%s'; #+name: sqlite_formatted_delete #+BEGIN_SRC d -¶", +┋", _uid, _uid, ); @@ -1608,7 +1608,7 @@ either: #+name: sqlite_formatted_insertions_doc_objects #+BEGIN_SRC d -string _insert_doc_objects_row = format(q"¶ +string _insert_doc_objects_row = format(q"┋ #+END_SRC ***** INSERT INTO @@ -1649,7 +1649,7 @@ string _insert_doc_objects_row = format(q"¶ #+name: sqlite_formatted_insertions_doc_objects #+BEGIN_SRC d -¶", +┋", _uid, obj.metainfo.ocn, obj.metainfo.identifier, @@ -1668,7 +1668,7 @@ string _insert_doc_objects_row = format(q"¶ #+name: sqlite_formatted_insertions_doc_matters_metadata #+BEGIN_SRC d string _uid = SQLinsertDelimiter!()(doc_matters.src.doc_uid); -string _insert_metadata = format(q"¶ +string _insert_metadata = format(q"┋ #+END_SRC ***** INSERT INTO @@ -1787,7 +1787,7 @@ string _insert_metadata = format(q"¶ #+name: sqlite_formatted_insertions_doc_matters_metadata #+BEGIN_SRC d -¶", +┋", _uid, SQLinsertDelimiter!()(doc_matters.src.filename), SQLinsertDelimiter!()(doc_matters.src.docname_composite_unique_per_src_doc), |