diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-10 22:54:47 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-23 18:12:49 -0400 |
commit | 516165c0969641479eeadde09bc8258aa5ff8b25 (patch) | |
tree | 6ee890d85371928de7bd21a11618e5afae4f9502 /src | |
parent | make set_depends (dyaml update) (diff) |
unicode, changes in use of symbols to represent things
Diffstat (limited to 'src')
-rw-r--r-- | src/doc_reform/io_out/metadata.d | 32 | ||||
-rw-r--r-- | src/doc_reform/io_out/xmls.d | 19 | ||||
-rw-r--r-- | src/doc_reform/meta/metadoc_curate_authors.d | 11 | ||||
-rw-r--r-- | src/doc_reform/meta/metadoc_curate_topics.d | 10 |
4 files changed, 48 insertions, 24 deletions
diff --git a/src/doc_reform/io_out/metadata.d b/src/doc_reform/io_out/metadata.d index f9c1cc6..3fab452 100644 --- a/src/doc_reform/io_out/metadata.d +++ b/src/doc_reform/io_out/metadata.d @@ -57,6 +57,19 @@ template outputMetadata() { string _form; if (doc_matters.opt.action.html_link_search) { o = format(q"┃ + <div class="flex-menu-option"> + <!-- SiSU Spine Search --> + <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> + <font size="2">🔎 + <input type="text" name="sf" size="24" maxlength="255">%s + <input type="hidden" name="sml" value="1000"> + <input type="hidden" name="ec" value="on"> + <input type="hidden" name="url" value="on"> + <input type="hidden" name="rt" value="txt"> + <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button> + </font></form> + <!-- SiSU Spine Search --> + </div> <div class="flex-menu-option"> <!-- SiSU Spine Search --> <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="search"> @@ -65,8 +78,8 @@ template outputMetadata() { <input type="hidden" name="sml" value="1000"> <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> - <button type="submit" form="search" name="fn" value="%s">doc</button> - <button type="submit" form="search">※ db</button> + <button type="submit" form="search" name="fn" value="%s">• ፨</button> + <button type="submit" form="search">㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", @@ -77,6 +90,13 @@ template outputMetadata() { ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename ~ "\">", doc_matters.src.filename_base, + doc_matters.conf_make_meta.conf.w_srv_cgi_action, + (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) + ? "" + : "\n <input type=\"hidden\" name=\"db\" value=\"" + ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename + ~ "\">", + doc_matters.src.filename_base, ); } else { o = ""; @@ -173,7 +193,7 @@ string theme_light_1 = format(q"┃ <html> <head> <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" /> <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -352,7 +372,7 @@ string theme_light_1 = format(q"┃ ┃"); metadata_ ~= "<div class=\"flex-menu-bar\"><div class=\"flex-menu-option\">"; if (doc_matters.opt.action.html_link_curate) { - metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> HOME </a>] Curated metadata: + metadata_ ~= format(q"┃<p>[<a href="../../../index.html"> <b>≅</b> ≅ HOME </a>] ⌘ Curated metadata: [<a href="../../authors.html"> Authors </a>] [<a href="../../topics.html"> Topics </a>]</p> ┃"); @@ -401,9 +421,9 @@ string theme_light_1 = format(q"┃ ~ " pod tree </a>]"; } metadata_ ~= "<p class=\"lev1\">● outputs: [<a href=\"" ~ doc_matters.src.filename_base ~ ".html\">" - ~ " ▣ html scroll </a>] " + ~ " ▤ html scroll </a>] " ~ "[<a href=\"" ~ doc_matters.src.filename_base ~ "/toc.html\">" - ~ " ▤ html seg </a>]" + ~ " ※ html seg </a>]" ~ "[<a href=\"../../" ~ pth_epub.internal_base ~ "/" ~ doc_matters.src.filename_base ~ "." ~ doc_matters.src.language ~ ".epub\">" ~ " ◆ epub </a>]"; if ((doc_matters.opt.action.html_link_pdf) || (doc_matters.opt.action.html_link_pdf_a4)) { diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d index 2b67978..2b1f55b 100644 --- a/src/doc_reform/io_out/xmls.d +++ b/src/doc_reform/io_out/xmls.d @@ -265,13 +265,13 @@ template outputXHTMLs() { <div class="flex-menu-option"> <!-- SiSU Spine Search --> <form action="%s" target="_top" method="POST" accept-charset="UTF-8" id="searchtxt"> - <font size="2"> + <font size="2">%s <input type="text" name="sf" size="24" maxlength="255">%s <input type="hidden" name="sml" value="1000"> <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> <input type="hidden" name="rt" value="txt"> - <button type="submit" form="searchtxt" name="fn" value="%s"> • txt </button> + <button type="submit" form="searchtxt" name="fn" value="%s"> • ⚏ </button> </font></form> <!-- SiSU Spine Search --> </div> @@ -284,14 +284,19 @@ template outputXHTMLs() { <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> <input type="hidden" name="rt" value="idx"> - <button type="submit" form="searchidx">※ db</button> - <button type="submit" form="searchidx" name="fn" value="%s"> • idx </button> + <button type="submit" form="searchidx" name="fn" value="%s"> • ፨ </button> + <button type="submit" form="searchidx"> ㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", doc_matters.conf_make_meta.conf.w_srv_cgi_action, (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) ? "" + : "\n <a href=\"" + ~ doc_matters.conf_make_meta.conf.w_srv_cgi_action + ~ "\">🔎 </a>", + (doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename.empty) + ? "" : "\n <input type=\"hidden\" name=\"db\" value=\"" ~ doc_matters.conf_make_meta.conf.w_srv_db_sqlite_filename ~ "\">", @@ -315,7 +320,7 @@ template outputXHTMLs() { ) { string o; string metadata_links = ((doc_matters.opt.action.html_link_curate) - ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", + ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> ⌘• </a>|<a href="%s../../authors.html"> ⌘A </a>|<a href="%s../../topics.html"> ⌘T </a>]</p>┃", (doc_matters.opt.action.webserver_url_doc_root.length > 0) ? doc_matters.opt.action.webserver_url_doc_root : doc_matters.conf_make_meta.conf.w_srv_data_root_url @@ -323,7 +328,7 @@ template outputXHTMLs() { (type == "seg") ? "../" ~ doc_matters.src.filename_base ~ ".html" : "./" ~ doc_matters.src.filename_base ~ "/toc.html", - (type == "seg") ? "▣" : "▤", // ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 + (type == "seg") ? "▤" : "※", (type == "seg") ? "../../" : "../", doc_matters.src.filename_base, doc_matters.src.lng, @@ -480,7 +485,7 @@ template outputXHTMLs() { <hr /> <div class="generator"> <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> - <a href="https://sisudoc.org">≅ SiSU Spine</a> (object numbering & object search) + <a href="https://sisudoc.org">≅ SiSU Spine ፨</a> (object numbering & object search) </p> <p class="small_center" id="sisu_spine"><a name="sisu_spine"></a> (web 1993, object numbering 1997, object search 2002 ...) 2023 diff --git a/src/doc_reform/meta/metadoc_curate_authors.d b/src/doc_reform/meta/metadoc_curate_authors.d index 6ed7f44..ee78b23 100644 --- a/src/doc_reform/meta/metadoc_curate_authors.d +++ b/src/doc_reform/meta/metadoc_curate_authors.d @@ -83,7 +83,7 @@ template spineMetaDocCuratesAuthors() { <input type="hidden" name="sml" value="1000"> <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> - <button type="submit" form="search">※ db</button> + <button type="submit" form="search">㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", @@ -259,7 +259,7 @@ string theme_light_1 = format(q"┃ <html> <head> <meta charset="utf-8"> -<title>Curated metadata - Authors</title> +<title>⌘ Curated metadata - Authors</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" /> <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -391,12 +391,11 @@ string theme_light_1 = format(q"┃ <a name="top" id="top"></a> <a name="up" id="up"></a> <a name="start" id="start"></a> -<h1>Curated metadata - Authors (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Authors (output organised by language & filetype)</h1> <div class="flex-menu-bar"> <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="topics.html"> Curated metadata - Topics </a>] -</p> +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="topics.html"> ⌘ Curated metadata - Topics </a>] </p> </div> %s </div> diff --git a/src/doc_reform/meta/metadoc_curate_topics.d b/src/doc_reform/meta/metadoc_curate_topics.d index 53f8d87..82f0060 100644 --- a/src/doc_reform/meta/metadoc_curate_topics.d +++ b/src/doc_reform/meta/metadoc_curate_topics.d @@ -83,7 +83,7 @@ template spineMetaDocCuratesTopics() { <input type="hidden" name="sml" value="1000"> <input type="hidden" name="ec" value="on"> <input type="hidden" name="url" value="on"> - <button type="submit" form="search">※ db</button> + <button type="submit" form="search">㏈ ፨</button> </font></form> <!-- SiSU Spine Search --> </div>┃", @@ -300,7 +300,7 @@ string theme_light_1 = format(q"┃ <html> <head> <meta charset="utf-8"> -<title>Curated metadata - Topics</title> +<title>⌘ Curated metadata - Topics</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="dc.title" content= "metadata curate, Authors & Topics - information Structuring Universe, Structured information Serialised Units" /> <meta name="dc.subject" content= "document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -432,11 +432,11 @@ string theme_light_1 = format(q"┃ <a name="top" id="top"></a> <a name="up" id="up"></a> <a name="start" id="start"></a> -<h1>Curated metadata - Topics (output organised by language & filetype)</h1> +<h1>⌘ Curated metadata - Topics (output organised by language & filetype)</h1> <div class="flex-menu-bar"> <div class="flex-menu-option"> -<p>[<a href="../../index.html"> HOME </a>] - [<a href="authors.html"> Curated metadata - Authors </a>] +<p>[<a href="../../index.html"> ≅ HOME </a>] + [<a href="authors.html"> ⌘ Curated metadata - Authors </a>] </p> </div> %s |