aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-06-10 22:54:47 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-06-23 18:12:49 -0400
commit516165c0969641479eeadde09bc8258aa5ff8b25 (patch)
tree6ee890d85371928de7bd21a11618e5afae4f9502 /src/doc_reform/io_out
parentmake set_depends (dyaml update) (diff)
unicode, changes in use of symbols to represent things
Diffstat (limited to 'src/doc_reform/io_out')
-rw-r--r--src/doc_reform/io_out/metadata.d32
-rw-r--r--src/doc_reform/io_out/xmls.d19
2 files changed, 38 insertions, 13 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">
+ &nbsp;&nbsp;<font size="2">&#x1f50e;&nbsp;
+ <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">&nbsp;• ⚏&nbsp;</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">&nbsp;<b>≅</b>&nbsp;HOME&nbsp;</a>] Curated metadata:
+ metadata_ ~= format(q"┃<p>[<a href="../../../index.html">&nbsp;<b>≅</b>&nbsp;≅&nbsp;HOME&nbsp;</a>] ⌘ Curated metadata:
[<a href="../../authors.html">&nbsp;Authors&nbsp;</a>]
[<a href="../../topics.html">&nbsp;Topics&nbsp;</a>]</p>
┃");
@@ -401,9 +421,9 @@ string theme_light_1 = format(q"┃
~ "&nbsp;pod&nbsp;tree&nbsp;</a>]";
}
metadata_ ~= "<p class=\"lev1\">● outputs: [<a href=\"" ~ doc_matters.src.filename_base ~ ".html\">"
- ~ "&nbsp;▣&nbsp;html&nbsp;scroll&nbsp;</a>] "
+ ~ "&nbsp;▤&nbsp;html&nbsp;scroll&nbsp;</a>] "
~ "[<a href=\"" ~ doc_matters.src.filename_base ~ "/toc.html\">"
- ~ "&nbsp;▤&nbsp;html&nbsp;seg&nbsp;</a>]"
+ ~ "&nbsp;※&nbsp;html&nbsp;seg&nbsp;</a>]"
~ "[<a href=\"../../" ~ pth_epub.internal_base ~ "/" ~ doc_matters.src.filename_base ~ "." ~ doc_matters.src.language ~ ".epub\">"
~ "&nbsp;◆&nbsp;epub&nbsp;</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">
- &nbsp;&nbsp;<font size="2">
+ &nbsp;&nbsp;<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">&nbsp;• txt&nbsp;</button>
+ <button type="submit" form="searchtxt" name="fn" value="%s">&nbsp;• ⚏&nbsp;</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">&nbsp;• idx&nbsp;</button>
+ <button type="submit" form="searchidx" name="fn" value="%s">&nbsp;• ፨&nbsp;</button>
+ <button type="submit" form="searchidx">&nbsp;㏈ ፨</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
+ ~ "\">&#x1f50e;&nbsp;</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">&nbsp;≅&nbsp;</a>|<a href="%s">&nbsp;%s&nbsp;</a>|<a href="%sepub/%s.%s.epub">&nbsp;◆&nbsp;</a>|%s%s<a href="%smetadata.%s.html">&nbsp;m&nbsp;</a>|<a href="%s../../authors.html">&nbsp;A&nbsp;</a>|<a href="%s../../topics.html">&nbsp;T&nbsp;</a>]</p>┃",
+ ? format(q"┃<p class="small">[<a href="%s">&nbsp;≅&nbsp;</a>|<a href="%s">&nbsp;%s&nbsp;</a>|<a href="%sepub/%s.%s.epub">&nbsp;◆&nbsp;</a>|%s%s<a href="%smetadata.%s.html">&nbsp;⌘•&nbsp;</a>|<a href="%s../../authors.html">&nbsp;⌘A&nbsp;</a>|<a href="%s../../topics.html">&nbsp;⌘T&nbsp;</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 &amp; object search)
+ <a href="https://sisudoc.org">≅ SiSU Spine ፨</a> (object numbering &amp; object search)
</p>
<p class="small_center" id="sisu_spine"><a name="sisu_spine"></a>
(web 1993, object numbering 1997, object search 2002 ...) 2023