diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-04-10 14:25:38 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-05-17 16:59:54 -0400 |
commit | 6d337554a5354b5ac3825f8103a90476edea46ac (patch) | |
tree | a0c41d08a2488503c0770adab77989b0898dce5c /org/output_sqlite.org | |
parent | 0.6.0 docReform project license AGPLv3+ (diff) |
text format delimiter, use: "┃" instead of "┋"
- gdc has compilation issue with the "┋" character,
not worth arguing, make internal marker changes
(can be changed again)
- text format delimiter
rg -l "┋" org/. | xargs sed -i '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 5faf244..6894c56 100644 --- a/org/output_sqlite.org +++ b/org/output_sqlite.org @@ -159,13 +159,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; } } @@ -225,13 +225,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; } } @@ -740,9 +740,9 @@ auto html_heading(M,O)( assert(obj.metainfo.is_a == "heading"); 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, ); @@ -760,9 +760,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, @@ -787,9 +787,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, @@ -812,9 +812,9 @@ auto html_quote(M,O)( assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "quote"); 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 ); @@ -835,9 +835,9 @@ auto html_group(M,O)( assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "group"); 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 ); @@ -858,8 +858,8 @@ auto html_block(M,O)( assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "block"); 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 ); @@ -880,7 +880,7 @@ auto html_verse(M,O)( assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "verse"); 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 ); @@ -900,7 +900,7 @@ auto html_code(O)( assert(obj.metainfo.is_of_type == "block"); assert(obj.metainfo.is_a == "code"); 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 ); @@ -965,12 +965,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 @@ -1604,7 +1604,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 @@ -1621,7 +1621,7 @@ WHERE uid_metadata_and_text = '%s'; #+name: sqlite_formatted_delete #+BEGIN_SRC d -┋", +┃", _uid, _uid, ); @@ -1641,7 +1641,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 @@ -1682,7 +1682,7 @@ string _insert_doc_objects_row = format(q"┋ #+name: sqlite_formatted_insertions_doc_objects #+BEGIN_SRC d -┋", +┃", _uid, obj.metainfo.ocn, obj.metainfo.identifier, @@ -1701,7 +1701,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 @@ -1820,7 +1820,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), |