aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-04-04 21:57:11 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-04-08 19:46:35 -0400
commit5588bc15c6df5eb225c315ed82e2a8239ef26d36 (patch)
treee6cdd554aa7ae86ee3db233452516518c01cde89
parentfix issues raised by dmd2.095.1 ldc2 1.25.0 (diff)
headers: copyright, license, year; also https
-rw-r--r--COPYRIGHT24
-rw-r--r--README.md6
-rw-r--r--data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst62
-rw-r--r--doc/man/man1/spine.1174
-rw-r--r--dub.json2
-rw-r--r--misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el2
-rw-r--r--misc/editor-syntax-etc/emacs/sisu-spine-mode.el12
-rw-r--r--misc/editor-syntax-etc/vim/colors/def-sisu.vim6
-rw-r--r--misc/editor-syntax-etc/vim/colors/def.vim6
-rw-r--r--misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim2
-rw-r--r--misc/editor-syntax-etc/vim/colors/slate.vim4
-rw-r--r--misc/util/d/cgi/search/dub.sdl2
-rw-r--r--misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d62
-rwxr-xr-xmisc/util/rb/cgi/spine.search.cgi60
-rwxr-xr-xmisc/util/rb/tex/dr_tex.rb50
-rw-r--r--org/COPYRIGHT4
-rw-r--r--org/compile_time_info.org59
-rw-r--r--org/default_misc.org60
-rw-r--r--org/default_paths.org60
-rw-r--r--org/default_regex.org64
-rw-r--r--org/default_shared.org61
-rw-r--r--org/imports.org60
-rw-r--r--org/in_source_files.org60
-rw-r--r--org/meta_conf_make_meta.org71
-rw-r--r--org/meta_debugs.org59
-rw-r--r--org/metaverse.org60
-rw-r--r--org/out_cgi_search_sqlite.org80
-rw-r--r--org/out_harvest_metadata.org65
-rw-r--r--org/out_latex.org66
-rw-r--r--org/out_metadata.org63
-rw-r--r--org/out_odt.org83
-rw-r--r--org/out_sqlite.org59
-rw-r--r--org/out_src_pod.org59
-rw-r--r--org/out_xmls.org82
-rw-r--r--org/out_xmls_css.org59
-rw-r--r--org/out_zip.org59
-rw-r--r--org/output_hub.org59
-rw-r--r--org/output_show.org77
-rw-r--r--org/spine.org23
-rw-r--r--org/spine_build_scaffold.org14
-rw-r--r--org/spine_info.org216
-rw-r--r--org/spine_markup_sample.org64
-rw-r--r--org/util_cgi_d_sqlite_search.org73
-rw-r--r--org/util_cgi_rb_fcgi_sqlite_search.org62
-rw-r--r--org/util_spine_markup_conversion_from_sisu.org2
-rw-r--r--org/util_spine_syntax_highlighting_emacs.org16
-rw-r--r--org/util_spine_syntax_highlighting_vim.org20
-rw-r--r--src/COPYRIGHT24
-rw-r--r--src/doc_reform/COPYRIGHT24
-rw-r--r--src/doc_reform/conf/compile_time_info.d50
-rw-r--r--src/doc_reform/io_in/paths_source.d50
-rw-r--r--src/doc_reform/io_in/read_config_files.d50
-rw-r--r--src/doc_reform/io_in/read_source_files.d50
-rw-r--r--src/doc_reform/io_out/cgi_sqlite_search_form.d68
-rw-r--r--src/doc_reform/io_out/create_zip_file.d50
-rw-r--r--src/doc_reform/io_out/defaults.d50
-rw-r--r--src/doc_reform/io_out/epub3.d65
-rw-r--r--src/doc_reform/io_out/html.d52
-rw-r--r--src/doc_reform/io_out/hub.d50
-rw-r--r--src/doc_reform/io_out/latex.d54
-rw-r--r--src/doc_reform/io_out/metadata.d52
-rw-r--r--src/doc_reform/io_out/odt.d72
-rw-r--r--src/doc_reform/io_out/package.d50
-rw-r--r--src/doc_reform/io_out/paths_output.d50
-rw-r--r--src/doc_reform/io_out/rgx.d50
-rw-r--r--src/doc_reform/io_out/source_pod.d50
-rw-r--r--src/doc_reform/io_out/sqlite.d50
-rw-r--r--src/doc_reform/io_out/xmls.d60
-rw-r--r--src/doc_reform/io_out/xmls_css.d50
-rw-r--r--src/doc_reform/meta/conf_make_meta_json.d50
-rw-r--r--src/doc_reform/meta/conf_make_meta_structs.d58
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d150
-rw-r--r--src/doc_reform/meta/defaults.d50
-rw-r--r--src/doc_reform/meta/doc_debugs.d494
-rw-r--r--src/doc_reform/meta/metadoc.d2
-rw-r--r--src/doc_reform/meta/metadoc_from_src.d50
-rw-r--r--src/doc_reform/meta/metadoc_harvest.d50
-rw-r--r--src/doc_reform/meta/metadoc_harvests_authors.d52
-rw-r--r--src/doc_reform/meta/metadoc_harvests_topics.d52
-rw-r--r--src/doc_reform/meta/metadoc_object_setter.d50
-rw-r--r--src/doc_reform/meta/metadoc_show_config.d50
-rw-r--r--src/doc_reform/meta/metadoc_show_make.d50
-rw-r--r--src/doc_reform/meta/metadoc_show_metadata.d50
-rw-r--r--src/doc_reform/meta/metadoc_show_summary.d106
-rw-r--r--src/doc_reform/meta/package.d50
-rw-r--r--src/doc_reform/meta/rgx.d50
-rw-r--r--src/doc_reform/share/defaults.d50
-rwxr-xr-xsrc/doc_reform/spine.d17
88 files changed, 3902 insertions, 1093 deletions
diff --git a/COPYRIGHT b/COPYRIGHT
index e6bc060..f4fe0b2 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -5,7 +5,7 @@
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah
+ - Copyright: (C) 2015 - 2021 Ralph Amissah
- code under src/* src/doc_reform/*
- License: AGPL 3 or later:
@@ -26,12 +26,12 @@
for more details.
You should have received a copy of the GNU General Public License along
- with this program. If not, see [http://www.gnu.org/licenses/].
+ with this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
- Spine, Doc Reform (related to SiSU) uses standard:
- docReform markup syntax (based on SiSU markup)
@@ -41,7 +41,7 @@
- standard SiSU document object numbering
- Hompages:
- [http://www.sisudoc.org]
+ [https://www.sisudoc.org]
- Spine, Doc Reform (SiSU) markup samples
Individual document content Copyright (Author) [as stated in document header]
@@ -62,7 +62,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/d2sqlite3]
@@ -80,7 +80,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/D-YAML]
@@ -97,7 +97,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/lgvz/imageformats]
@@ -115,11 +115,11 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/tinyendian]
- [http://code.dlang.org/packages/tinyendian]
+ [https://code.dlang.org/packages/tinyendian]
- Name: cgi.d
- Description:
@@ -127,14 +127,14 @@
- Author:
[Adam D. Ruppe]
- - Copyright: (C) 2008 - 2020 Adam D. Ruppe
+ - Copyright: (C) 2008 - 2021 Adam D. Ruppe
- code: cgi.d (copy in ./misc/ext_lib/src/arsd/)
aria2c https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
(Check the bottom of the file for details)
- Hompages:
diff --git a/README.md b/README.md
index ac35e9f..8047e01 100644
--- a/README.md
+++ b/README.md
@@ -12,13 +12,13 @@ project_name: Spine, Doc Reform
name: Ralph Amissah
email: ralph.amissah@gmail.com
- copyright: "(C) 2015 - 2020 Ralph Amissah, All Rights Reserved."
+ copyright: "(C) 2015 - 2021 Ralph Amissah, All Rights Reserved."
license: "AGPL 3 or later"
hompage: [
- "http://www.doc_reform.org",
- "http://www.sisudoc.org"
+ "https://www.doc_reform.org",
+ "https://www.sisudoc.org"
]
# Installation, Compilation
diff --git a/data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst b/data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst
index 85effa9..40a8ba1 100644
--- a/data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst
+++ b/data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst
@@ -32,13 +32,13 @@ make:
italics: "Linux|GPL|LaTeX|SQL"
breaks: "new=:B; break=1"
home_button_text: [
- "{doc-reform}http://doc-reform.org",
- "{sources / git}http://git.sisudoc.org/",
- "{SiSU}http://sisudoc.org"
+ "{doc-reform}https://doc-reform.org",
+ "{sources / git}https://git.sisudoc.org/",
+ "{SiSU}https://sisudoc.org"
]
footer: [
- "{SiSU}http://sisudoc.org",
- "{git}http://git.sisudoc.org"
+ "{SiSU}https://sisudoc.org",
+ "{git}https://git.sisudoc.org"
]
:A~ @title @creator
@@ -234,7 +234,7 @@ date:
modified: "2020-04-11"
rights:
- copyright: "Copyright (C) Ralph Amissah 2007, 2020"
+ copyright: "Copyright (C) Ralph Amissah 2007, 2021"
license: "AGPL 3 (part of SiSU Spine documentation)"
classify:
@@ -339,8 +339,8 @@ identifier:
code{
links: [
- "{SiSU }http://www.sisudoc.org",
- "{ FSF }http://www.fsf.org",
+ "{SiSU }https://www.sisudoc.org",
+ "{ FSF }https://www.fsf.org",
]
}code
@@ -355,8 +355,8 @@ make:
bold: "Debian|SiSU" # [regular expression of words/phrases to be made bold]
italics: "Linux|GPL|LaTeX|SQL" # [regular expression of words/phrases to italicise]
breaks: "new=:B; break=1"
- home_button_text: "{SiSU}http://sisudoc.org; {sources / git}http://git.sisudoc.org/gitweb/"
- footer: "{SiSU}http://sisudoc.org; {git}http://git.sisudoc.org"
+ home_button_text: "{SiSU}https://sisudoc.org; {sources / git}https://git.sisudoc.org/projects/"
+ footer: "{SiSU}https://sisudoc.org; {git}https://git.sisudoc.org"
headings: text to match for each level
(e.g. PART; Chapter; Section; Article; or another: none; BOOK|FIRST|SECOND; none; CHAPTER;)
@@ -560,15 +560,15 @@ is omitted).
!_ resulting output:
-normal text http://www.sisudoc.org/ continues
+normal text https://www.sisudoc.org/ continues
An escaped url without decoration
!_ resulting output:
-normal text _http://www.sisudoc.org/ continues
+normal text _https://www.sisudoc.org/ continues
-deb _http://www.jus.uio.no/sisu/archive unstable main non-free
+deb _https://www.jus.uio.no/sisu/archive unstable main non-free
where a code block is used there is neither decoration nor hyperlinking, code
blocks are discussed later in this document
@@ -577,8 +577,8 @@ blocks are discussed later in this document
code{
-deb http://www.jus.uio.no/sisu/archive unstable main non-free
-deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+deb https://www.jus.uio.no/sisu/archive unstable main non-free
+deb-src https://www.jus.uio.no/sisu/archive unstable main non-free
}code
@@ -589,11 +589,11 @@ To link text or an image to a url the markup is as follows
!_ resulting output:
-about { SiSU }http://www.sisudoc.org/ markup
+about { SiSU }https://www.sisudoc.org/ markup
a couple of test urls
-http://example.com/Alice&Bob
+https://example.com/Alice&Bob
{ programs I use }https://qa.debian.org/developer.php?packages=zsh+tilix+sakura+tmux+screen+i3-wm+vim+emacs+mosh+ldc
@@ -602,7 +602,7 @@ automatically as a footnote
!_ resulting output:
-about {~^ SiSU }http://www.sisudoc.org/ markup
+about {~^ SiSU }https://www.sisudoc.org/ markup
Internal document links to a named (anchor) tagged location, including named
headings named inline anchor tags *~an-inline-anchor-tag or an ocn the heading:
@@ -663,15 +663,15 @@ about { SiSU book markup examples }:SiSU/examples.html
{ sm_tux.png 64x80 "test" }image
-{ sm_tux.png }http://www.sisudoc.org/
+{ sm_tux.png }https://www.sisudoc.org/
-{ sm_tux.png 64x80 }http://www.sisudoc.org/
+{ sm_tux.png 64x80 }https://www.sisudoc.org/
-{ sm_tux.png 64x80 "Gnu/Linux - a better way" }http://www.sisudoc.org/
+{ sm_tux.png 64x80 "Gnu/Linux - a better way" }https://www.sisudoc.org/
-{ sm_GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }http://www.sisudoc.org/
+{ sm_GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }https://www.sisudoc.org/
-{~^ sm_ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
+{~^ sm_ruby_logo.png "Ruby" }https://www.ruby-lang.org/en/
{ sm_d_image.jpg 82x128 "D for me" }https://github.com/dlang-community/d-mans
@@ -681,9 +681,9 @@ about { SiSU book markup examples }:SiSU/examples.html
code{
-{~^ [text to link] }http://url.org
+{~^ [text to link] }https://url.org
-% maps to: { [text to link] }http://url.org ~{ http://url.org }~
+% maps to: { [text to link] }https://url.org ~{ https://url.org }~
% which produces hyper-linked text within a document/paragraph, with an endnote providing the url for the text location used in the hyperlink
@@ -1234,7 +1234,7 @@ column three of row two, and so on
a second form may be easier to work with in cases where there is not much
information in each column
-*{markup example:}*~{ Table from the Wealth of Networks by Yochai Benkler \\ http://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler }~
+*{markup example:}*~{ Table from the Wealth of Networks by Yochai Benkler \\ https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler }~
!_ Table 3.1: Contributors to Wikipedia, January 2001 - June 2005
@@ -1393,7 +1393,7 @@ pb: Harvard University Press
edn: (edition)
yr: 2006
pl: U.S.
-url: http://cyber.law.harvard.edu/wealth_of_networks/Main_Page
+url: https://cyber.law.harvard.edu/wealth_of_networks/Main_Page
note:
sn: Benkler, /{Wealth of Networks}/ (2006)
id: Benkler2006
@@ -1454,7 +1454,7 @@ pb: publisher
edn: edition
yr: year (yyyy or yyyy-mm or yyyy-mm-dd) (required)
pg: pages
-url: http://url
+url: https://url
note: note
id: create_short_identifier e.g. authorSurnameYear
(used in substitutions: when found within text will be
@@ -1637,7 +1637,7 @@ Globalisation is to be observed as a trend intrinsic to the world economy.~{ As
Maria Cattaui Livanos suggests in /{The global economy - an opportunity to be
seized}/ in /{Business World}/ the Electronic magazine of the International
Chamber of Commerce (Paris, July 1997) at
-http://www.iccwbo.org/html/globalec.htm \\ "Globalization is unstoppable. Even
+https://www.iccwbo.org/html/globalec.htm \\ "Globalization is unstoppable. Even
though it may be only in its early stages, it is already intrinsic to the world
economy. We have to live with it, recognize its advantages and learn to manage
it. \\ That imperative applies to governments, who would be unwise to attempt to
@@ -1671,8 +1671,8 @@ possibilities for the promulgation of texts, the sharing of ideas and
collaborative ventures. There are however, likely to be tensions within the
legal community protecting entrenched practices against that which is new, (both
in law and technology) and the business community's goal to reduce transaction
-costs. This here http://sisudoc.org/now is a test and repeat { does this work?
-}http://www.sisudoc.com/ok.html
+costs. This here https://sisudoc.org/now is a test and repeat { does this work?
+}https://www.sisudoc.com/ok.html
Within commercial law an analysis of law and economics may assist in
developing a better understanding of the relationship between commercial
diff --git a/doc/man/man1/spine.1 b/doc/man/man1/spine.1
index 255119a..723d14a 100644
--- a/doc/man/man1/spine.1
+++ b/doc/man/man1/spine.1
@@ -73,9 +73,8 @@ generated output. Book indexes may be made.
Some document markup samples are provided in the package sisu -markup-samples.
Homepages:
-- <http://www.sisudoc.org/>
-
-- <http://www.jus.uio.no/sisu>
+- <https://www.doc_reform.org/>
+- <https://www.sisudoc.org/>
.SH COMMANDS SUMMARY
@@ -106,8 +105,8 @@ info, and
and
.I SQLite
) , which share text object numbers ("object citation numbering") and the same
-document structure information. For more see: <http://sisudoc.org> or
-<http://www.jus.uio.no/sisu>
+document structure information. For more see: <https://sisudoc.org> or
+<https://www.jus.uio.no/sisu>
.SH DOCUMENT PROCESSING COMMAND FLAGS
.TP
@@ -590,7 +589,7 @@ The most up to date information on sisu should be contained in the sisu_manual,
available at:
.BR
- <http://sisudoc.org/sisu/sisu_manual/>
+ <https://sisudoc.org/sisu/sisu_manual/>
.BR
The manual can be generated from source, found respectively, either within the
@@ -644,21 +643,6 @@ Available man pages are converted back to html using man2html:
.BR
./data/doc/sisu/html
-
-.BR
-An online version of the sisu man page is available here:
-
-.BR
-
-- various sisu man pages <http://www.jus.uio.no/sisu/man/> [^1]
-
-.BR
-- sisu.1 <http://www.jus.uio.no/sisu/man/sisu.1.html> [^2]
-.SH SISU BUILT-IN INTERACTIVE HELP, [DISCONTINUED]
-
-
-.BR
-This fell out of date and has been discontinued.
.SH INTRODUCTION TO SISU MARKUP[^3]
.SH SUMMARY
@@ -786,24 +770,11 @@ text *
.SH MARKUP EXAMPLES
-.SH ONLINE
-
-
.BR
-Online markup examples are available together with the respective outputs
-produced from <http://www.jus.uio.no/sisu/SiSU/examples.html> or from
-<http://www.jus.uio.no/sisu/sisu_examples/>
+check at:
.BR
-There is of course this document, which provides a cursory overview of sisu
-markup and the respective output produced:
-<http://www.jus.uio.no/sisu/sisu_markup/>
-
-.BR
-an alternative presentation of markup syntax:
-/usr/share/doc/sisu/on_markup.txt.gz
-.SH INSTALLED
-
+ <https://git.sisudoc.org/projects/>
.BR
With
@@ -865,24 +836,18 @@ make:
num_top: 1
breaks: new=C; break=1
bold: /Gnu|Debian|Ruby|SiSU/
- home_button_text: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
- footer: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
+ home_button_text: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
+ footer: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
manpage: name=sisu - documents: markup, structuring, publishing in multiple standard formats, and search;
synopsis=sisu [-abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9] [filename/wildcard ]
. sisu [-Ddcv] [instruction]
. sisu [-CcFLSVvW]
@links:
- { SiSU Homepage }http://www.sisudoc.org/
- { SiSU Manual }http://www.sisudoc.org/sisu/sisu_manual/
- { Book Samples & Markup Examples }http://www.jus.uio.no/sisu/SiSU/examples.html
- { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html
- { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html
- { SiSU Git repo }http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary
- { SiSU List Archives }http://lists.sisudoc.org/pipermail/sisu/
- { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html
- { SiSU Project @ Debian }http://qa.debian.org/developer.php?login=sisu@lists.sisudoc.org
- { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU
+ { SiSU Homepage }https://www.sisudoc.org/
+ { SiSU Manual }https://www.sisudoc.org/sisu/sisu_manual/
+ { SiSU Git repo }https://git.sisudoc.org/projects/?p=software/spine.git;a=summary
+ { SiSU @ Wikipedia }https://en.wikipedia.org/wiki/SiSU
.fi
.SH AVAILABLE HEADERS
@@ -972,8 +937,8 @@ identify:
.fi
.nf
-links: { SiSU }http://www.sisudoc.org
- { FSF }http://www.fsf.org
+links: { SiSU }https://www.sisudoc.org
+ { FSF }https://www.fsf.org
.fi
.nf
@@ -985,8 +950,8 @@ make:
promo: sisu, ruby, sisu_search_libre, open_society
bold: [regular expression of words/phrases to be made bold]
italics: [regular expression of words/phrases to italicise]
- home_button_text: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
- footer: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
+ home_button_text: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
+ footer: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
.fi
.nf
@@ -1378,7 +1343,7 @@ decoration is omitted).
.B markup example:
.nf
-normal text http://www.sisudoc.org/ continues
+normal text https://www.sisudoc.org/ continues
.fi
@@ -1387,7 +1352,7 @@ normal text http://www.sisudoc.org/ continues
.B resulting output:
.BR
-normal text <http://www.sisudoc.org/> continues
+normal text <https://www.sisudoc.org/> continues
.BR
An escaped url without decoration
@@ -1396,9 +1361,8 @@ An escaped url without decoration
.B markup example:
.nf
-normal text _http://www.sisudoc.org/ continues
+normal text _https://www.sisudoc.org/ continues
-deb _http://www.jus.uio.no/sisu/archive unstable main non-free
.fi
@@ -1407,10 +1371,8 @@ deb _http://www.jus.uio.no/sisu/archive unstable main non-free
.B resulting output:
.BR
-normal text <_http://www.sisudoc.org/> continues
+normal text <_https://www.sisudoc.org/> continues
-.BR
-deb <_http://www.jus.uio.no/sisu/archive> unstable main non-free
.BR
where a code block is used there is neither decoration nor hyperlinking, code
@@ -1420,8 +1382,8 @@ blocks are discussed later in this document
.B resulting output:
.nf
-deb http://www.jus.uio.no/sisu/archive unstable main non-free
-deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+deb https://www.jus.uio.no/sisu/archive unstable main non-free
+deb-src https://www.jus.uio.no/sisu/archive unstable main non-free
.fi
.SH LINKING TEXT
@@ -1434,7 +1396,7 @@ To link text or an image to a url the markup is as follows
.B markup example:
.nf
-about { SiSU }http://url.org markup
+about { SiSU }https://url.org markup
.fi
@@ -1443,7 +1405,7 @@ about { SiSU }http://url.org markup
.B resulting output:
.BR
-aboutSiSU <http://www.sisudoc.org/> markup
+aboutSiSU <https://www.sisudoc.org/> markup
.BR
A shortcut notation is available so the url link may also be provided
@@ -1453,7 +1415,7 @@ automatically as a footnote
.B markup example:
.nf
-about {~^ SiSU }http://url.org markup
+about {~^ SiSU }https://url.org markup
.fi
@@ -1462,7 +1424,7 @@ about {~^ SiSU }http://url.org markup
.B resulting output:
.BR
-aboutSiSU <http://www.sisudoc.org/> [^7] markup
+aboutSiSU <https://www.sisudoc.org/> [^7] markup
.BR
Internal document links to a tagged location, including an ocn
@@ -1512,11 +1474,11 @@ book markup examples⌡⌈:SiSU/examples.html⌋
% various url linked images
-{tux.png 64x80 "a better way" }http://www.sisudoc.org/
+{tux.png 64x80 "a better way" }https://www.sisudoc.org/
-{GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }http://www.sisudoc.org/
+{GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }https://www.sisudoc.org/
-{~^ ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
+{~^ ruby_logo.png "Ruby" }https://www.ruby-lang.org/en/
.fi
@@ -1528,22 +1490,22 @@ book markup examples⌡⌈:SiSU/examples.html⌋
[ tux.png ]
.BR
-tux.png 64x80 "Gnu/Linux - a better way" <http://www.sisudoc.org/>
+tux.png 64x80 "Gnu/Linux - a better way" <https://www.sisudoc.org/>
.BR
GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian
-and Ruby" <http://www.sisudoc.org/>
+and Ruby" <https://www.sisudoc.org/>
.BR
-ruby_logo.png 70x90 "Ruby" <http://www.ruby-lang.org/en/> [^8]
+ruby_logo.png 70x90 "Ruby" <https://www.ruby-lang.org/en/> [^8]
.BR
.B linked url footnote shortcut
.nf
-{~^ [text to link] }http://url.org
+{~^ [text to link] }https://url.org
-% maps to: { [text to link] }http://url.org ~{ http://url.org }~
+% maps to: { [text to link] }https://url.org ~{ https://url.org }~
% which produces hyper-linked text within a document/paragraph, with an endnote providing the url for the text location used in the hyperlink
.fi
@@ -1576,21 +1538,21 @@ TREE
.B
.I "Viral Spiral",
David Bollier
-"Viral Spiral", David Bollier <http://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
- document manifest <http://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
- ⌠html, segmented text⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠html, scroll, document in one⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠epub⌡「http://corundum/sisu_manual/en/epub/viral_spiral.david_bollier.epub」
- ⌠pdf, landscape⌡「http://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
- ⌠pdf, portrait⌡「http://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
- ⌠odf: odt, open document text⌡「http://corundum/sisu_manual/en/odt/viral_spiral.david_bollier.odt」
- ⌠xhtml scroll⌡「http://corundum/sisu_manual/en/xhtml/viral_spiral.david_bollier.xhtml」
- ⌠xml, sax⌡「http://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
- ⌠xml, dom⌡「http://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
- ⌠concordance⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠dcc, document content certificate (digests)⌡「http://corundum/sisu_manual/en/digest/viral_spiral.david_bollier.txt」
- ⌠markup source text⌡「http://corundum/sisu_manual/en/src/viral_spiral.david_bollier.sst」
- ⌠markup source (zipped) pod⌡「http://corundum/sisu_manual/en/pod/viral_spiral.david_bollier.sst.zip」
+"Viral Spiral", David Bollier <https://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
+ document manifest <https://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
+ ⌠html, segmented text⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠html, scroll, document in one⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠epub⌡「https://corundum/sisu_manual/en/epub/viral_spiral.david_bollier.epub」
+ ⌠pdf, landscape⌡「https://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
+ ⌠pdf, portrait⌡「https://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
+ ⌠odf: odt, open document text⌡「https://corundum/sisu_manual/en/odt/viral_spiral.david_bollier.odt」
+ ⌠xhtml scroll⌡「https://corundum/sisu_manual/en/xhtml/viral_spiral.david_bollier.xhtml」
+ ⌠xml, sax⌡「https://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
+ ⌠xml, dom⌡「https://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
+ ⌠concordance⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠dcc, document content certificate (digests)⌡「https://corundum/sisu_manual/en/digest/viral_spiral.david_bollier.txt」
+ ⌠markup source text⌡「https://corundum/sisu_manual/en/src/viral_spiral.david_bollier.sst」
+ ⌠markup source (zipped) pod⌡「https://corundum/sisu_manual/en/pod/viral_spiral.david_bollier.sst.zip」
.SH GROUPED TEXT / BLOCKED TEXT
@@ -2187,7 +2149,7 @@ pb: Harvard University Press
edn: (edition)
yr: 2006
pl: U.S.
-url: http://cyber.law.harvard.edu/wealth_of_networks/Main_Page
+url: https://cyber.law.harvard.edu/wealth_of_networks/Main_Page
note:
sn: Benkler, /{Wealth of Networks}/ (2006)
id: Benkler2006
@@ -2250,7 +2212,7 @@ pb: publisher
edn: edition
yr: year (yyyy or yyyy-mm or yyyy-mm-dd) (required)
pg: pages
-url: http://url
+url: https://url
note: note
id: create_short_identifier e.g. authorSurnameYear
(used in substitutions: when found within text will be
@@ -2577,10 +2539,10 @@ processing can be done directly against a sisupod; which may be located locally
or on a remote server for which a url is provided.
.BR
-<http://www.sisudoc.org/sisu/sisu_commands>
+<https://www.sisudoc.org/sisu/sisu_commands>
.BR
-<http://www.sisudoc.org/sisu/sisu_manual>
+<https://www.sisudoc.org/sisu/sisu_manual>
.SH CONFIGURATION
.SH CONFIGURATION FILES
@@ -3026,8 +2988,8 @@ there they are copied to the root of the output directory with the command:
.BR
Current markup examples and document output samples are provided off
-<http://sisudoc.org> or <http://www.jus.uio.no/sisu> and in the sisu
--markup-sample package available off <http://git.sisudoc.org>
+<https://sisudoc.org> or <https://www.jus.uio.no/sisu> and in the sisu
+-markup-sample package available off <https://git.sisudoc.org>
.BR
For some documents hardly any markup at all is required at all, other than a
@@ -3598,7 +3560,7 @@ INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL)
.BR
-Sample search frontend <http://search.sisudoc.org> [^15] A small database and
+Sample search frontend <https://search.sisudoc.org> [^15] A small database and
sample query front-end (search from) that makes use of the citation system, .I
object citation numbering
to demonstrates functionality.[^16]
@@ -3949,12 +3911,12 @@ square brackets
.BR
.TP
.BI 1.
-<http://www.jus.uio.no/sisu/man/>
+<https://www.jus.uio.no/sisu/man/>
.BR
.TP
.BI 2.
-<http://www.jus.uio.no/sisu/man/sisu.1.html>
+<https://www.jus.uio.no/sisu/man/sisu.1.html>
.BR
.TP
@@ -4000,18 +3962,18 @@ editors notes, numbered plus symbol footnote/endnote series
.BR
.TP
.BI 7.
-<http://www.sisudoc.org/>
+<https://www.sisudoc.org/>
.BR
.TP
.BI 8.
-<http://www.ruby-lang.org/en/>
+<https://www.ruby-lang.org/en/>
.BR
.TP
.BI 9.
Table from the Wealth of Networks by Yochai Benkler
-<http://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler>
+<https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler>
.BR
.TP
@@ -4033,18 +3995,18 @@ rather fine and this behaviour could be reinstated.
.BR
.TP
.BI 13.
-<http://www.postgresql.org/> <http://advocacy.postgresql.org/>
-<http://en.wikipedia.org/wiki/Postgresql>
+<https://www.postgresql.org/> <https://advocacy.postgresql.org/>
+<https://en.wikipedia.org/wiki/Postgresql>
.BR
.TP
.BI 14.
-<http://www.hwaci.com/sw/sqlite/> <http://en.wikipedia.org/wiki/Sqlite>
+<https://www.hwaci.com/sw/sqlite/> <https://en.wikipedia.org/wiki/Sqlite>
.BR
.TP
.BI 15.
-<http://search.sisudoc.org>
+<https://search.sisudoc.org>
.BR
.TP
@@ -4079,10 +4041,10 @@ matches are found.
sisu_vim(7)
.TP
.SH HOMEPAGE
- More information about SiSU can be found at <http://www.sisudoc.org/> or <http://www.jus.uio.no/sisu/>
+ More information about SiSU can be found at <https://www.sisudoc.org/> or <https://www.jus.uio.no/sisu/>
.TP
.SH SOURCE
- <http://git.sisudoc.org/>
+ <https://git.sisudoc.org/>
.TP
.SH AUTHOR
SiSU is written by Ralph Amissah <ralph@amissah.com>
diff --git a/dub.json b/dub.json
index 21241a8..088f5e7 100644
--- a/dub.json
+++ b/dub.json
@@ -2,7 +2,7 @@
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2015 - 2020 Ralph Amissah",
+ "copyright": "Copyright © 2015 - 2021 Ralph Amissah",
"name": "spine",
"version": "0.11.3",
"description": "a sisu like document parser",
diff --git a/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el b/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el
index 80ff5b1..4cc6332 100644
--- a/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el
+++ b/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el
@@ -1,7 +1,7 @@
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
(autoload 'sisu-spine-mode "sisu-spine-mode" "\
Major mode for editing SiSU (spine) markup files.
-SiSU (http://www.sisudoc.org/) document structuring, publishing
+SiSU (https://www.sisudoc.org/) document structuring, publishing
and search.
\(fn)" t nil)
diff --git a/misc/editor-syntax-etc/emacs/sisu-spine-mode.el b/misc/editor-syntax-etc/emacs/sisu-spine-mode.el
index 862662a..773fa5c 100644
--- a/misc/editor-syntax-etc/emacs/sisu-spine-mode.el
+++ b/misc/editor-syntax-etc/emacs/sisu-spine-mode.el
@@ -1,16 +1,16 @@
;;; sisu-spine-mode.el --- Major mode for SiSU (spine parser) markup text
-;; Copyright (C) 2011, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2011, 2021 Free Software Foundation, Inc.
;; Author: Ralph Amissah & Ambrose Kofi Laing
;; Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
;; Keywords: text, syntax, processes, tools
;; Version: 8.0.0
-;; URL: http://www.sisudoc.org/
+;; URL: https://www.sisudoc.org/
;; originally looked at (based on) doc-mode, with kind permission of the author
;; Author: SUN, Tong <suntong001@users.sf.net>, (c)2001-6, all right reserved
;; Version: $Date: 2006/01/19 03:13:41 $ $Revision: 1.14 $
-;; Home URL: http://xpt.sourceforge.net/
+;; Home URL: https://xpt.sourceforge.net/
;; with contributions from Kevin Ryde and Stefan Monnier
;; This program is free software; you can redistribute it and/or modify
@@ -24,7 +24,7 @@
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;; Viva Software Libre!
;; Support the free software movement!
@@ -32,7 +32,7 @@
;;; Commentary:
-;; SiSU (http://www.sisudoc.org/) is a document structuring and
+;; SiSU (https://www.sisudoc.org/) is a document structuring and
;; publishing framework. This package provides an Emacs major mode
;; for SiSU markup, as used by the spine parser (in D) which has a different
;; header (based on yaml) from the original sisu parser (in Ruby) which has
@@ -455,7 +455,7 @@
(define-derived-mode sisu-spine-mode text-mode "SiSU"
"Major mode for editing SiSU files.
SiSU document structuring, publishing in multiple formats and search.
-URL `http://www.sisudoc.org/'"
+URL `https://www.sisudoc.org/'"
(modify-syntax-entry ?\' ".")
;;(flyspell-mode nil)
diff --git a/misc/editor-syntax-etc/vim/colors/def-sisu.vim b/misc/editor-syntax-etc/vim/colors/def-sisu.vim
index a55f752..ac3e0c3 100644
--- a/misc/editor-syntax-etc/vim/colors/def-sisu.vim
+++ b/misc/editor-syntax-etc/vim/colors/def-sisu.vim
@@ -2,7 +2,7 @@
" Name: def-sisu
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-14
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
" (with occasional other colors selected from 256 color palate)
" .Xdefaults tweaking to make identical to def (256) provided,
@@ -135,8 +135,8 @@ endif
:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
" -------
"256 color .Xdefaults vim: cterm giu
-"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
-"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+"<https://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<https://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
" -------
" 256 color .Xdefaults vim: cterm giu def
" -------
diff --git a/misc/editor-syntax-etc/vim/colors/def.vim b/misc/editor-syntax-etc/vim/colors/def.vim
index b0e599c..aca1975 100644
--- a/misc/editor-syntax-etc/vim/colors/def.vim
+++ b/misc/editor-syntax-etc/vim/colors/def.vim
@@ -2,7 +2,7 @@
" Name: def
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-14
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
" (with occasional other colors selected from 256 color palate)
" .Xdefaults tweaking to make identical to def (256) provided,
@@ -135,8 +135,8 @@ endif
:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
" -------
"256 color .Xdefaults vim: cterm giu
-"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
-"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+"<https://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<https://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
" -------
" 256 color .Xdefaults vim: cterm giu def
" -------
diff --git a/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim b/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim
index b2314a7..aae822d 100644
--- a/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim
+++ b/misc/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim
@@ -2,7 +2,7 @@
" Name: frugal-cterm-sisu
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-09
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
" Note: 8 color cterm, related colorschemes 8 & sparse
:set background=dark
:hi clear
diff --git a/misc/editor-syntax-etc/vim/colors/slate.vim b/misc/editor-syntax-etc/vim/colors/slate.vim
index 9b5807d..4d741e8 100644
--- a/misc/editor-syntax-etc/vim/colors/slate.vim
+++ b/misc/editor-syntax-etc/vim/colors/slate.vim
@@ -2,10 +2,10 @@
" Name: Slate
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-09
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
" Notes: cterm now uses frugal-sisu 8 colors for term
" (for gui originally looked at desert Hans Fugal <hans@fugal.net>
-" <http://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
+" <https://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
:set background=dark
:hi clear
if exists("syntax_on")
diff --git a/misc/util/d/cgi/search/dub.sdl b/misc/util/d/cgi/search/dub.sdl
index 8260eaa..30b076d 100644
--- a/misc/util/d/cgi/search/dub.sdl
+++ b/misc/util/d/cgi/search/dub.sdl
@@ -1,7 +1,7 @@
name "spine_search"
description "A minimal D application."
authors "ralph"
-copyright "Copyright © 2020, ralph"
+copyright "Copyright © 2021, ralph"
license "GPL-3.0+"
dependency "d2sqlite3" version="~>0.18.3"
dependency "arsd-official": "7.2.0"
diff --git a/misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d b/misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d
index 1460643..987c319 100644
--- a/misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d
+++ b/misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/+ dub.sdl
name "spine search"
description "spine cgi search"
@@ -463,7 +513,7 @@ void cgi_function_intro(Cgi cgi) {
</title>
<meta name="sourcefile" content="SiSU.sst" />
<link rel="generator" href="sisudoc.org" />
- <link rel="shortcut icon" href="http://%s/image_sys/spine.ico" />
+ <link rel="shortcut icon" href="https://%s/image_sys/spine.ico" />
<style media = "all">
*{
padding : 0px;
@@ -529,10 +579,10 @@ void cgi_function_intro(Cgi cgi) {
<tr><td width="20%%">
<table summary="home button / home information" border="0" cellpadding="2" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -851,7 +901,7 @@ LIMIT %s OFFSET %s
auto m = (row["date_published"].as!string).match(regex(r"^([0-9]{4})")); // breaks if row missing or no match?
cgi.write(
"<hr><a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ "toc.html"
@@ -870,7 +920,7 @@ LIMIT %s OFFSET %s
if (cv.results_type == "txt") {
cgi.write(
"<hr><a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -883,7 +933,7 @@ LIMIT %s OFFSET %s
} else {
cgi.write(
"<a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
diff --git a/misc/util/rb/cgi/spine.search.cgi b/misc/util/rb/cgi/spine.search.cgi
index cfe9d73..ff2bfc2 100755
--- a/misc/util/rb/cgi/spine.search.cgi
+++ b/misc/util/rb/cgi/spine.search.cgi
@@ -2,8 +2,8 @@
=begin
* Name: SiSU information Structuring Universe
* Author: Ralph Amissah
- * http://www.jus.uio.no/sisu
- * http://www.jus.uio.no/sisu/SiSU/download
+ * https://sisudoc.org
+ * https://git.sisudoc.org
* Description: generates naive cgi search form for search of sisu database (sqlite)
* Name: SiSU generated sample cgi search form
@@ -32,13 +32,12 @@
more details.
You should have received a copy of the GNU General Public License along with
- this program. If not, see <http://www.gnu.org/licenses/>.
+ this program. If not, see <https://www.gnu.org/licenses/>.
If you have Internet connection, the latest version of the GPL should be
available at these locations:
- <http://www.fsf.org/licenses/gpl.html>
- <http://www.gnu.org/licenses/gpl.html>
- <http://www.jus.uio.no/sisu/gpl.fsf>
+ <https://www.fsf.org/licenses/gpl.html>
+ <https://www.gnu.org/licenses/gpl.html>
* SiSU uses:
* Standard SiSU markup syntax,
@@ -46,8 +45,7 @@
* Standard SiSU object citation numbering and system
* Hompages:
- <http://www.jus.uio.no/sisu>
- <http://www.sisudoc.org>
+ <https://www.sisudoc.org>
* Ralph Amissah
<ralph@amissah.com>
@@ -62,13 +60,13 @@ rescue LoadError
puts 'cgi, fcgi or sqlite3 NOT FOUND (LoadError)'
end
@stub_default = 'search'
-@image_src = "http://#{ENV['HTTP_HOST']}/image_sys"
-@hosturl_cgi = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}"
-@hosturl_files = "http://#{ENV['HTTP_HOST']}"
+@image_src = "https://#{ENV['HTTP_HOST']}/image_sys"
+@hosturl_cgi = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}"
+@hosturl_files = "https://#{ENV['HTTP_HOST']}"
@output_dir_structure_by = 'language'
@lingual = 'multi'
@db_name_prefix = 'spine.'
-@base = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}"
+@base = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}"
#Common TOP
@@offset = 0
@@canned_search_url = @base
@@ -95,8 +93,8 @@ class Form
<meta name="sourcefile" content="SiSU._sst" />
SiSU search form (sample): SiSU information Structuring Universe
</title>
- <link rel="generator" href="http://www.jus.uio.no/sisu" />
- <link rel="shortcut icon" href="http://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" />
+ <link rel="generator" href="https://sisudoc.org/" />
+ <link rel="shortcut icon" href="https://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" />
<link href="../_sisu/css/html.css" rel="stylesheet">
</head>
<body lang="en" xml:lang="en">
@@ -104,10 +102,10 @@ class Form
<tr><td width="20%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -488,10 +486,10 @@ def tail
<tr><td valign="top" width="10%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -503,22 +501,18 @@ def tail
Generated by
SiSU 6.3.1 2014-10-19 (2014w41/7)
<br />
- <a href="http://www.sisudoc.org" >
+ <a href="https://www.sisudoc.org" >
<b>SiSU</b></a> <sup>&copy;</sup> Ralph Amissah
1993, current 2014.
All Rights Reserved.
<br />
SiSU is software for document structuring, publishing and search,
<br />
- <a href="http://www.jus.uio.no/sisu" >
- www.jus.uio.no/sisu
- </a>
- and
- <a href="http://www.sisudoc.org" >
+ <a href="https://www.sisudoc.org" >
www.sisudoc.org
</a>
sources
- <a href="http://git.sisudoc.org" >
+ <a href="https://git.sisudoc.org" >
git.sisudoc.org
</a>
<br />
@@ -528,8 +522,8 @@ def tail
</a>
<br />
mailing list subscription
- <a href="http://lists.sisudoc.org/listinfo/sisu" >
- http://lists.sisudoc.org/listinfo/sisu
+ <a href="https://lists.sisudoc.org/listinfo/sisu" >
+ https://lists.sisudoc.org/listinfo/sisu
</a>
<br />
<a href="mailto:sisu@lists.sisudoc.org" >
@@ -550,27 +544,27 @@ def tail
<!-- widget way better -->
<tr><td valign="top" width="10%">
<p class="tiny_left"><font color="#666666" size="2">
- <a href="http://www.gnu.org/licenses/gpl.html">
+ <a href="https://www.gnu.org/licenses/gpl.html">
.:
</a>
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
SiSU is released under
- <a href="http://www.gnu.org/licenses/gpl.html">GPL&nbsp;v3</a>
+ <a href="https://www.gnu.org/licenses/gpl.html">GPL&nbsp;v3</a>
or later,
- <a href="http://www.gnu.org/licenses/gpl.html">
- http://www.gnu.org/licenses/gpl.html
+ <a href="https://www.gnu.org/licenses/gpl.html">
+ https://www.gnu.org/licenses/gpl.html
</a>
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
SiSU, developed using
- <a href="http://www.ruby-lang.org/en/">
+ <a href="https://www.ruby-lang.org/en/">
Ruby
</a>
on
- <a href="http://www.debian.org/">
+ <a href="https://www.debian.org/">
Debian/Gnu/Linux
</a>
software infrastructure,
diff --git a/misc/util/rb/tex/dr_tex.rb b/misc/util/rb/tex/dr_tex.rb
index 767742c..b71d8c1 100755
--- a/misc/util/rb/tex/dr_tex.rb
+++ b/misc/util/rb/tex/dr_tex.rb
@@ -1,4 +1,54 @@
#!/usr/bin/env ruby
+# /+
+# - Name: Spine, Doc Reform [a part of]
+# - Description: documents, structuring, processing, publishing, search
+# - static content generator
+#
+# - Author: Ralph Amissah
+# [ralph.amissah@gmail.com]
+#
+# - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+# Reserved.
+#
+# - License: AGPL 3 or later:
+#
+# Spine (SiSU), a framework for document structuring, publishing and
+# search
+#
+# Copyright (C) Ralph Amissah
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU AFERO General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program. If not, see [https://www.gnu.org/licenses/].
+#
+# If you have Internet connection, the latest version of the AGPL should be
+# available at these locations:
+# [https://www.fsf.org/licensing/licenses/agpl.html]
+# [https://www.gnu.org/licenses/agpl.html]
+#
+# - Spine (by Doc Reform, related to SiSU) uses standard:
+# - docReform markup syntax
+# - standard SiSU markup syntax with modified headers and minor modifications
+# - docReform object numbering
+# - standard SiSU object citation numbering & system
+#
+# - Hompages:
+# [https://www.doc_reform.org]
+# [https://www.sisudoc.org]
+#
+# - Git
+# [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+#
+# +/
require 'fileutils'
pwd = Dir.pwd
argv,texfiles_with_path,flags=[],[],[]
diff --git a/org/COPYRIGHT b/org/COPYRIGHT
index 0f6e580..c04e09b 100644
--- a/org/COPYRIGHT
+++ b/org/COPYRIGHT
@@ -5,7 +5,7 @@
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah
+ - Copyright: (C) 2015 - 2021 Ralph Amissah
- Spine, Doc Reform (related to SiSU) uses standard:
- docReform markup syntax (based on SiSU markup)
@@ -15,7 +15,7 @@
- standard SiSU document object numbering
- Hompages:
- [http://www.sisudoc.org]
+ [https://www.sisudoc.org]
- Spine, Doc Reform (SiSU) markup samples
Individual document content Copyright (Author) [as stated in document header]
diff --git a/org/compile_time_info.org b/org/compile_time_info.org
index ad8d649..e10b6ac 100644
--- a/org/compile_time_info.org
+++ b/org/compile_time_info.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:compile:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -26,6 +26,7 @@ version(Windows) {} else { ... }
** _module template_ :module:compile_time_info:
#+BEGIN_SRC d :tangle "../src/doc_reform/conf/compile_time_info.d"
+<<doc_header_including_copyright_and_license>>
/++
compile_time_info
+/
@@ -36,6 +37,62 @@ template CompileTimeInfo() {
}
#+END_SRC
+*** document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
** complile time os
OS type shows during compilation
diff --git a/org/default_misc.org b/org/default_misc.org
index eb58fb2..0e0cafe 100644
--- a/org/default_misc.org
+++ b/org/default_misc.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:default:misc:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -21,6 +21,7 @@
#+NAME: tangle_defaults
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/defaults.d"
+<<doc_header_including_copyright_and_license>>
/++
default settings
+/
@@ -168,6 +169,7 @@ template spineBiblio() {
#+NAME: tangle_defaults
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/defaults.d"
+<<doc_header_including_copyright_and_license>>
/++
default settings
+/
@@ -351,6 +353,62 @@ template spineLanguageCodes() {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
** +set colors for terminal+ (unused) :colors:terminal:
diff --git a/org/default_paths.org b/org/default_paths.org
index 4df17e8..5fee26f 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:paths:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -20,6 +20,7 @@
** _module template_ :module:paths_source:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_in/paths_source.d"
+<<doc_header_including_copyright_and_license>>
/++
read configuration files<BR>
- read config files<BR>
@@ -965,6 +966,7 @@ template spinePathsPods() {
** _module template_ :module:paths_output:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/paths_output.d"
+<<doc_header_including_copyright_and_license>>
/++
default settings
+/
@@ -1667,4 +1669,60 @@ template spinePathsSQLiteCGI() {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/default_regex.org b/org/default_regex.org
index d78409e..210d777 100644
--- a/org/default_regex.org
+++ b/org/default_regex.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:regex:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -18,7 +18,7 @@
[[./spine.org][spine]] [[./][org/]]
* meta ctRegex
[[./spine.org][spine]] [[./][org/]]
-http://dlang.org/phobos/std_regex.html
+https://dlang.org/phobos/std_regex.html
- Plain string, in which case it's compiled to bytecode before matching.
- Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode.
- StaticRegex!char (wchar/dchar) that contains a pattern in the form of compiled native machine code.
@@ -32,6 +32,7 @@ http://dlang.org/phobos/std_regex.html
** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/rgx.d"
+<<doc_header_including_copyright_and_license>>
/++
regex: regular expressions used in sisu document parser
+/
@@ -384,7 +385,7 @@ auto language_code_and_filename =
* 1. output ctRegex
[[./spine.org][spine]] [[./][org/]]
-http://dlang.org/phobos/std_regex.html
+https://dlang.org/phobos/std_regex.html
- Plain string, in which case it's compiled to bytecode before matching.
- Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode.
- StaticRegex!char (wchar/dchar) that contains a pattern in the form of compiled native machine code.
@@ -392,6 +393,7 @@ http://dlang.org/phobos/std_regex.html
** _module template_ :module:output:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/rgx.d"
+<<doc_header_including_copyright_and_license>>
/++
regex: regular expressions used in sisu document parser
+/
@@ -585,4 +587,60 @@ static table_delimiter_col = ctRegex!("[ ]*[┊][ ]*",
static table_delimiter_row = ctRegex!("[ ]*\n", "mg");
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/default_shared.org b/org/default_shared.org
index 5b81f84..43f7765 100644
--- a/org/default_shared.org
+++ b/org/default_shared.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:default:shared:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -20,6 +20,7 @@
** _module template_ :module:shared:
#+BEGIN_SRC d :tangle "../src/doc_reform/share/defaults.d"
+<<doc_header_including_copyright_and_license>>
/++
shared default settings
+/
@@ -50,3 +51,61 @@ template Msg() {
}
}
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/imports.org b/org/imports.org
index 06ea0ff..e48f25a 100644
--- a/org/imports.org
+++ b/org/imports.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:imports:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -19,6 +19,7 @@
** package dir
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/package.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta;
<<imports_for_meta_general>>
#+END_SRC
@@ -48,6 +49,7 @@ public import
** package dir
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/package.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out;
<<imports_for_output_general>>
#+END_SRC
@@ -78,4 +80,60 @@ public import
doc_reform.io_out.rgx;
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/in_source_files.org b/org/in_source_files.org
index 2465541..90437a1 100644
--- a/org/in_source_files.org
+++ b/org/in_source_files.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:sourcefile:read:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -37,6 +37,7 @@ doc_reform.io_in.paths_source
** _module template_ :module:config_files:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_in/read_config_files.d"
+<<doc_header_including_copyright_and_license>>
/++
read configuration files<BR>
- read config files<BR>
@@ -258,6 +259,7 @@ static template configReadDocYAML() {
** _module template_ (includes tuple)
#+BEGIN_SRC d :tangle "../src/doc_reform/io_in/read_source_files.d"
+<<doc_header_including_copyright_and_license>>
/++
module source_read_source_files;<BR>
- open markup files<BR>
@@ -702,4 +704,60 @@ ContentsInsertsImages t = tuple(
return t;
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org
index d1e21bc..9265a09 100644
--- a/org/meta_conf_make_meta.org
+++ b/org/meta_conf_make_meta.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:config:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -84,6 +84,7 @@ import doc_reform.meta.conf_make_meta_structs;
** struct ConfComposite
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/conf_make_meta_structs.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.conf_make_meta_structs;
<<meta_defaults_template_structs_0>>
<<meta_defaults_template_structs_1>>
@@ -152,8 +153,8 @@ struct ConfCompositeMakeStr {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
- ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ string home_button_text = "┥Spine, Doc Reform┝┤https://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤https://www.doc-reform.org├"
~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string italics;
string auto_num_top_at_level;
@@ -242,8 +243,8 @@ struct ConfCompositeMakeInit {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
- ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ string home_button_text = "┥Spine, Doc Reform┝┤https://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤https://www.doc-reform.org├"
~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string[] italics;
string auto_num_top_at_level;
@@ -397,6 +398,7 @@ JSONValue config_jsonstr = `{
** _module template_
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/conf_make_meta_yaml.d"
+<<doc_header_including_copyright_and_license>>
/++
yaml headers<BR>
extract yaml header return struct
@@ -1418,6 +1420,7 @@ if ("rights" in _yaml
** _module template_
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/conf_make_meta_json.d"
+<<doc_header_including_copyright_and_license>>
/++
json headers<BR>
extract json header return json
@@ -2085,6 +2088,7 @@ if ("rights" in _json.object) {
** 1. parse Yaml config return spineStruct
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/conf_make_meta_yaml.d"
+<<doc_header_including_copyright_and_license>>
template configParseYAMLreturnSpineStruct() {
import dyaml;
import
@@ -2122,6 +2126,7 @@ template configParseYAMLreturnSpineStruct() {
** 2. parse YAML header to +(JSON then)+ Struct
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/conf_make_meta_yaml.d"
+<<doc_header_including_copyright_and_license>>
template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() {
import
std.exception,
@@ -2161,6 +2166,62 @@ template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
** notes headers
diff --git a/org/meta_debugs.org b/org/meta_debugs.org
index 7a2247f..1212172 100644
--- a/org/meta_debugs.org
+++ b/org/meta_debugs.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:debugs:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -20,6 +20,7 @@
** _module template_
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/doc_debugs.d"
+<<doc_header_including_copyright_and_license>>
/++
output debugs
+/
@@ -863,4 +864,60 @@ debug(checkdoc) {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/metaverse.org b/org/metaverse.org
index 586e25f..90b7c21 100644
--- a/org/metaverse.org
+++ b/org/metaverse.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:abstraction:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -23,6 +23,7 @@ Process markup document, create document abstraction.
** _module template_ :module:metadoc_from_src:
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_from_src.d"
+<<doc_header_including_copyright_and_license>>
/++
document abstraction:
abstraction of sisu markup for downstream processing
@@ -7837,6 +7838,7 @@ set abstracted objects for downstream processing
** _module template_
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_object_setter.d"
+<<doc_header_including_copyright_and_license>>
/++
object setter:
setting of sisu objects for downstream processing
@@ -8065,4 +8067,60 @@ struct TheObjects {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/out_cgi_search_sqlite.org b/org/out_cgi_search_sqlite.org
index 868962d..9527731 100644
--- a/org/out_cgi_search_sqlite.org
+++ b/org/out_cgi_search_sqlite.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -69,6 +69,7 @@ dub --force --compiler=ldc2 && sudo cp -v cgi-bin/spine-search /usr/lib/cgi-bin/
~grotto/repo/git.repo/code/project-spine/doc-reform-markup/markup_samples/markup/pod/*
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/cgi_sqlite_search_form.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.cgi_sqlite_search_form;
template CGIsearchSQLite() {
void CGIsearchSQLite(E,O,M)(E env, O opt_action, M make_and_meta_struct) {
@@ -847,7 +848,7 @@ string show_matched_objects (string fn) {
</title>
<meta name="sourcefile" content="SiSU.sst">
<link rel="generator" href="sisudoc.org">
- <link rel="shortcut icon" href="http://%%s/image_sys/spine.ico">
+ <link rel="shortcut icon" href="https://%%s/image_sys/spine.ico">
<style media = "all">
#+END_SRC
@@ -2094,7 +2095,7 @@ LIMIT %%s OFFSET %%s
_close_para
~ "<hr><div class=\"publication\">"
~ "<p class=\"publication\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ "toc.html"
@@ -2122,7 +2123,7 @@ LIMIT %%s OFFSET %%s
"<div class=\"flex-container\">"
~ "<div class=\"textview_ocn\" style=\"flex: 0 0 1.2em\">"
~ "<p class=\"ocn_is\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -2140,7 +2141,7 @@ LIMIT %%s OFFSET %%s
"<div class=\"flex-container\">"
~ "<div class=\"textview_ocn\" style=\"flex: 0 0 1.2em\">"
~ "<p class=\"ocn_is\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/toc.html"
~ "\">"
@@ -2164,7 +2165,7 @@ LIMIT %%s OFFSET %%s
cgi.write(
_matched_ocn_open
~ "<a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -2176,7 +2177,7 @@ LIMIT %%s OFFSET %%s
cgi.write(
_matched_ocn_open
~ "<a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/toc.html"
~ "\">"
@@ -2198,10 +2199,10 @@ LIMIT %%s OFFSET %%s
} else { // offset_not_beyond_limit = false;
cgi.write("select_query_results empty<p>\n");
}
- cgi.write("<br><p class=\"center\"><a href=\"http://sisudoc.org/\" target=\"_top\">
+ cgi.write("<br><p class=\"center\"><a href=\"https://sisudoc.org/\" target=\"_top\">
<label for=\"find\"><b>≅ SiSU spine</b></label>
</a> <label for=\"find\">(generated) search form</label>
-<br><a href=\"http://git.sisudoc.org/\" target=\"_top\">
+<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">
git</a>
</p>
");
@@ -2239,7 +2240,7 @@ LIMIT %%s OFFSET %%s
name "spine_cgi_sqlite_search"
description "spine cgi sqlite search"
authors "Ralph Amissah"
-copyright "Copyright © 2020, Ralph Amissah"
+copyright "Copyright © 2021, Ralph Amissah"
license "GPL-3.0+"
dependency "d2sqlite3" version="%s"
dependency "arsd-official:cgi" version="%s"
@@ -2280,5 +2281,62 @@ cv.db_selected = "spine.search.sql.db";
cd util/d/cgi/search/src
dub --force --compiler=ldc2 && sudo cp -v cgi-bin/spine-search /usr/lib/cgi-bin/.
-http://localhost/cgi-bin/spine-search?
+https://localhost/cgi-bin/spine-search?
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/out_harvest_metadata.org b/org/out_harvest_metadata.org
index 4c32e37..1c4a6eb 100644
--- a/org/out_harvest_metadata.org
+++ b/org/out_harvest_metadata.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -25,6 +25,7 @@
** _module template_ metadoc harvest
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_harvest.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_harvest;
template spineMetaDocHarvest() {
@safe auto spineMetaDocHarvest(T,H)(
@@ -116,6 +117,7 @@ return hvst.harvest;
*** _module template_ metadoc harvest topics template
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_harvests_topics.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_harvests_topics;
import
std.algorithm,
@@ -457,6 +459,7 @@ try {
*** _module template_ metadoc harvest authors
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_harvests_authors.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_harvests_authors;
import
std.algorithm,
@@ -827,7 +830,7 @@ string theme_light_1 = format(q"┃
<meta name="dc.title" content= "metadata harvest, 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" />
<meta name="generator" content="spine" />
-<link rel="generator" href="http://sisudoc.org" />
+<link rel="generator" href="https://sisudoc.org" />
<link href="./css/harvest.css" rel="stylesheet">
<style TYPE="text/css">
/* spine harvest css default stylesheet */%s
@@ -967,3 +970,61 @@ string theme_light_1 = format(q"┃
</html>
┃") ~ "\n";
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/out_latex.org b/org/out_latex.org
index adf3cf8..ab3df75 100644
--- a/org/out_latex.org
+++ b/org/out_latex.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:latex:pdf:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -22,6 +22,7 @@
** _module template_ :latex:pdf:module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/latex.d" :noweb yes
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.latex;
template outputLaTeX() {
<<output_latex_imports>>
@@ -1102,9 +1103,9 @@ string latex_head(M)(
#+BEGIN_SRC d
string _footer(M)(M doc_matters) {
string _ft = "\\lfoot[\\textrm{\\thepage}]";
- string _ft_1 = format(q"┃{\tiny \href{%s}{%s}}┃", "http://sisudoc.org", "SiSU",);
+ string _ft_1 = format(q"┃{\tiny \href{%s}{%s}}┃", "https://sisudoc.org", "SiSU",);
string _ft_2 = format(q"┃
-\cfoot{\href{%s}{%s}}┃", "http://git.sisudoc.org", "git",);
+\cfoot{\href{%s}{%s}}┃", "https://git.sisudoc.org", "git",);
if (doc_matters.conf_make_meta.make.footer.length > 0) {
if (doc_matters.conf_make_meta.make.footer.length > 0) {
if (doc_matters.conf_make_meta.make.footer[0].matchAll(rgx.inline_link)) {
@@ -1937,6 +1938,7 @@ string latex_tail(M)(
** latex command, ruby script
#+BEGIN_SRC ruby :tangle "../misc/util/rb/tex/dr_tex.rb" :tangle-mode (identity #o755) :shebang #!/usr/bin/env ruby
+# <<doc_header_including_copyright_and_license>>
require 'fileutils'
pwd = Dir.pwd
argv,texfiles_with_path,flags=[],[],[]
@@ -2007,3 +2009,61 @@ end
Dir.chdir(pwd)
__END__
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/out_metadata.org b/org/out_metadata.org
index 594eb72..abed588 100644
--- a/org/out_metadata.org
+++ b/org/out_metadata.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:metadata:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -20,6 +20,7 @@
** _module template_ metadoc document metadata
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/metadata.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.metadata;
template outputMetadata() {
@safe void outputMetadata(T)( T doc_matters) {
@@ -374,7 +375,7 @@ string theme_light_1 = format(q"┃
<meta name="dc.title" content= "metadata harvest, 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" />
<meta name="generator" content="spine" />
-<link rel="generator" href="http://sisudoc.org" />
+<link rel="generator" href="https://sisudoc.org" />
<link href="./css/harvest.css" rel="stylesheet">
<style TYPE="text/css">
/* spine harvest css default stylesheet */%s
@@ -563,3 +564,61 @@ string theme_light_1 = format(q"┃
return o;
}
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/out_odt.org b/org/out_odt.org
index 05e9891..023aa4c 100644
--- a/org/out_odt.org
+++ b/org/out_odt.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:xml:odt:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -47,6 +47,7 @@
** _module template_ :odf:odt:module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/odt.d" :noweb yes
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.odt;
template formatODT() {
<<output_imports>>
@@ -1077,21 +1078,21 @@ void dirtree(I)(
#+NAME: output_odt_fixed_manifest_rdf_1
#+BEGIN_SRC xml
-<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="styles.xml">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="styles.xml"/>
+ <ns0:hasPart xmlns:ns0="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="styles.xml"/>
</rdf:Description>
<rdf:Description rdf:about="content.xml">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="content.xml"/>
+ <ns0:hasPart xmlns:ns0="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="content.xml"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document"/>
</rdf:Description>
</rdf:RDF>
#+END_SRC
@@ -1113,7 +1114,7 @@ void dirtree(I)(
#+NAME: output_odt_fixed_settings_xml_1
#+BEGIN_SRC xml
-<office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2">
+<office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="https://openoffice.org/2004/office" office:version="1.2">
<office:settings>
<config:config-item-set config:name="ooo:view-settings">
<config:config-item config:name="ViewAreaTop" config:type="int">0</config:config-item>
@@ -1227,7 +1228,7 @@ void dirtree(I)(
#+NAME: output_odt_fixed_styles_xml_1
#+BEGIN_SRC xml
-<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+<office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="https://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:ooow="https://openoffice.org/2004/writer" xmlns:oooc="https://openoffice.org/2004/calc" xmlns:dom="https://www.w3.org/2001/xml-events" xmlns:rpt="https://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="https://www.w3.org/1999/xhtml" xmlns:grddl="https://www.w3.org/2003/g/data-view#" xmlns:tableooo="https://openoffice.org/2009/table" xmlns:css3t="https://www.w3.org/TR/css3-text/" office:version="1.2">
<office:font-face-decls>
<style:font-face style:name="DejaVu Sans Mono" svg:font-family="'DejaVu Sans Mono'" style:font-adornments="Book" style:font-family-generic="modern" style:font-pitch="fixed"/>
<style:font-face style:name="Nimbus Sans L" svg:font-family="'Nimbus Sans L'" style:font-pitch="variable"/>
@@ -2228,7 +2229,7 @@ void dirtree(I)(
#+NAME: output_odt_variable_content_xml_3
#+BEGIN_SRC xml
-<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="https://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:ooow="https://openoffice.org/2004/writer" xmlns:oooc="https://openoffice.org/2004/calc" xmlns:dom="https://www.w3.org/2001/xml-events" xmlns:xforms="https://www.w3.org/2002/xforms" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="https://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="https://www.w3.org/1999/xhtml" xmlns:grddl="https://www.w3.org/2003/g/data-view#" xmlns:tableooo="https://openoffice.org/2009/table" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="https://www.w3.org/TR/css3-text/" office:version="1.2">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="DejaVu Sans Mono" svg:font-family="'DejaVu Sans Mono'" style:font-adornments="Book" style:font-family-generic="modern" style:font-pitch="fixed"/>
@@ -2441,7 +2442,7 @@ void dirtree(I)(
#+NAME: output_odt_variable_content_xml_12
#+BEGIN_SRC d
@safe string odt_tail() {
- string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: &lt;<text:a xl:type="simple" xl:href="http://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
+ string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: &lt;<text:a xl:type="simple" xl:href="https://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="https://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
</office:text></office:body></office:document-content>┃",);
return _odt_tail;
}
@@ -2519,7 +2520,7 @@ _images.join("\n"),
#+NAME: output_odt_variable_meta_xml_1
#+BEGIN_SRC xml
-<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:grddl="http://www.w3.org/2003/g/data-view#" office:version="1.2">
+<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:grddl="https://www.w3.org/2003/g/data-view#" office:version="1.2">
<office:meta>
<meta:generator>%s</meta:generator>
<meta:creation-date>%s</meta:creation-date>
@@ -2566,3 +2567,61 @@ doc_matters.generated_time,
// return 0;
}
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/out_sqlite.org b/org/out_sqlite.org
index a71a4ec..c141cf6 100644
--- a/org/out_sqlite.org
+++ b/org/out_sqlite.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:db:sql:sqlite:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -42,6 +42,7 @@ sudo chown ralph:ralph /var/www
*** template
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/sqlite.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.sqlite;
<<sqlite_imports>>
<<sqlite_common>>
@@ -2005,4 +2006,60 @@ string _insert_doc_objects_row = format(q"┃
);
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/out_src_pod.org b/org/out_src_pod.org
index e7d761b..1e9f05f 100644
--- a/org/out_src_pod.org
+++ b/org/out_src_pod.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:source:pod:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -22,6 +22,7 @@
** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/source_pod.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.source_pod;
template spinePod() {
<<output_imports>>
@@ -446,4 +447,60 @@ if (exists(fn_pod)) {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/out_xmls.org b/org/out_xmls.org
index eb83196..db7e648 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:xml:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -23,6 +23,7 @@
*** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/xmls.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.xmls;
template outputXHTMLs() {
<<output_imports_xml>>
@@ -275,7 +276,7 @@ import
.replaceAll(
rgx.br_nl, "");
} else {
- _locations = "<p class=\"tiny_left\"><a href=\"http://www.doc-reform.org\">spine</a></p>\n<p class=\"tiny_left\"><a href=\"http://git.sisudoc.org/software/spine/\">sources / git</a></p>\n<p class=\"tiny_left\"><a href=\"http://www.sisudoc.org\">www.sisudoc.org</a></p>";
+ _locations = "<p class=\"tiny_left\"><a href=\"https://www.doc-reform.org\">spine</a></p>\n<p class=\"tiny_left\"><a href=\"https://git.sisudoc.org/software/spine/\">sources / git</a></p>\n<p class=\"tiny_left\"><a href=\"https://www.sisudoc.org\">www.sisudoc.org</a></p>";
}
string o;
o = format(q"┃<div class="flex-menu-option">
@@ -353,7 +354,7 @@ import
<!-- metadata -->
%s
<!-- metadata -->
- <link rel="generator" href="http://www.sisudoc.org/" />
+ <link rel="generator" href="https://www.sisudoc.org/" />
<link rel="shortcut icon" href="%s../../image/dr.ico" />
<link href="%s" rel="stylesheet" />
</head>
@@ -395,15 +396,15 @@ import
);
string html_simple = format(q"┃<!DOCTYPE html>
<html
- xmlns="http://www.w3.org/1999/xhtml"
+ xmlns="https://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops"
lang="%s" xml:lang="%s">┃",
doc_matters.src.language,
doc_matters.src.language,
);
string html_strict = format(q"┃<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
+ "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="https://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops"
lang="%s" xml:lang="%s">┃",
doc_matters.src.language,
@@ -1566,6 +1567,7 @@ align="left|right|center"
** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/html.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.html;
template outputHTML() {
<<output_imports_xml>>
@@ -2242,6 +2244,7 @@ template outputHTML() {
** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/epub3.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.epub3;
template outputEPub3() {
<<output_imports_epub>>
@@ -2317,9 +2320,9 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
string content = format(q"┃ <?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="EPB-UUID">
<metadata
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:dcterms="http://purl.org/dc/terms/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
+ xmlns:dcterms="https://purl.org/dc/terms/"
+ xmlns:dc="https://purl.org/dc/elements/1.1/"
unique-identifier="urn:uuid:%s" version="2.0">
<!-- <dc:title id="title">%s</dc:title> -->
<dc:title id="title">%s</dc:title>
@@ -2420,7 +2423,7 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
enum DomTags { none, open, close, close_and_open, open_still, }
auto markup = InlineMarkup();
static auto rgx = RgxO();
- string toc =format("<html xmlns=\"http://www.w3.org/1999/xhtml\"
+ string toc =format("<html xmlns=\"https://www.w3.org/1999/xhtml\"
xmlns:epub=\"http://www.idpf.org/2007/ops\">
<head>
<title>%s</title>
@@ -2511,14 +2514,13 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
static auto rgx = RgxO();
enum DomTags { none, open, close, close_and_open, open_still, }
string toc = format(q"┃<?xml version='1.0' encoding='utf-8'?>
-<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
+<ncx xmlns="https://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
<!-- four required metadata items (for all NCX documents,
(including the relaxed constraints of OPS 2.0) -->
<title>%s%s</title>
<link rel="stylesheet" href="css/epub.css" type="text/css" id="main-css" />
<meta name="dtb:uid" content="urn:uuid:%s" />
- <!-- <meta name="epub-creator" content="spine http://www.jus.uio.no/sisu (this copy)" /> -->
<meta name="dtb:depth" content="%s" />
<meta name="dtb:totalPageCount" content="0" />
<meta name="dtb:maxPageNumber" content="0" />
@@ -3169,4 +3171,60 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/out_xmls_css.org b/org/out_xmls_css.org
index 38bb73d..f3db222 100644
--- a/org/out_xmls_css.org
+++ b/org/out_xmls_css.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:xmls:css:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -22,6 +22,7 @@
** _module template_
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/xmls_css.d"
+<<doc_header_including_copyright_and_license>>
/++
default css settings
+/
@@ -2419,4 +2420,60 @@ Consider what if anything should be used here
┃");
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/out_zip.org b/org/out_zip.org
index 8af05f8..b31a3fd 100644
--- a/org/out_zip.org
+++ b/org/out_zip.org
@@ -3,7 +3,7 @@
#+DESCRIPTION: documents - structuring, publishing in multiple formats & search
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -21,6 +21,7 @@
** module template
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/create_zip_file.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.io_out.create_zip_file;
template createZipFile() {
import
@@ -41,4 +42,60 @@ template createZipFile() {
}
#+END_SRC
+*** document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/output_hub.org b/org/output_hub.org
index 7b8b96c..5ef9cb3 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:output:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -21,6 +21,7 @@
** _module template_ :module:
#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/hub.d"
+<<doc_header_including_copyright_and_license>>
/++
output hub<BR>
check & generate output types requested
@@ -293,4 +294,60 @@ if ((opt_action.cgi_search_form_codegen)) {
}
#+END_SRC
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
* __END__
diff --git a/org/output_show.org b/org/output_show.org
index 8550f53..2f50a94 100644
--- a/org/output_show.org
+++ b/org/output_show.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -20,6 +20,7 @@
- document summary from abstraction
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_summary.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_show_summary;
template spineMetaDocSummary() {
@safe void spineMetaDocSummary(S,T)(
@@ -132,10 +133,19 @@ writefln(
* show config
** _module template_ show config
+*** _show config tangle
+
+#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_config.d"
+<<doc_header_including_copyright_and_license>>
+<<spine_show_site_config>>
+<<spine_show_config>>
+#+END_SRC
+
*** _show site config
--show-config (show config)
-#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_config.d"
+#+NAME: spine_show_site_config
+#+BEGIN_SRC d
module doc_reform.meta.metadoc_show_config;
template spineShowSiteConfig() {
@safe void spineShowSiteConfig(O,T)(
@@ -224,7 +234,8 @@ writefln(
*** show (per document) config
-#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_config.d"
+#+NAME: spine_show_config
+#+BEGIN_SRC d
template spineShowConfig() {
@safe void spineShowConfig(T)(
T doc_matters,
@@ -316,6 +327,7 @@ writefln(
--show-make (show document make)
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_make.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_show_make;
template spineShowMake() {
@safe void spineShowMake(T)(
@@ -386,6 +398,7 @@ writefln(
--show-metadata (show document metadata)
#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_show_metadata.d"
+<<doc_header_including_copyright_and_license>>
module doc_reform.meta.metadoc_show_metadata;
template spineShowMetaData() {
@safe void spineShowMetaData(T)(
@@ -539,3 +552,61 @@ char_repeat_number = (char_repeat_number > min_repeat_number)
? char_repeat_number
: min_repeat_number;
#+END_SRC
+
+* document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
+* __END__
diff --git a/org/spine.org b/org/spine.org
index 011bb39..59215b7 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -49,7 +49,7 @@ enum _ver = Version(0, 11, 3);
** compilation restrictions (supported compilers)
- set compilation restrictions
-http://dlang.org/spec/version.html#predefined-versions
+https://dlang.org/spec/version.html#predefined-versions
#+NAME: spine_compiler_restrictions
#+BEGIN_SRC d
@@ -89,7 +89,7 @@ module doc_reform.sisu_document_parser;
/++
name "spine"
description "A SiSU inspired document parser writen in D."
-homepage "http://sisudoc.org"
+homepage "https://sisudoc.org"
+/
<<imports_spine>>
<<mixin_spine_version>>
@@ -183,7 +183,7 @@ string program_name = "spine";
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah, All Rights
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
Reserved.
- License: AGPL 3 or later:
@@ -204,12 +204,12 @@ string program_name = "spine";
more details.
You should have received a copy of the GNU General Public License along with
- this program. If not, see [http://www.gnu.org/licenses/].
+ this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
- Spine (by Doc Reform, related to SiSU) uses standard:
- docReform markup syntax
@@ -218,12 +218,11 @@ string program_name = "spine";
- standard SiSU object citation numbering & system
- Hompages:
- [http://www.doc_reform.org]
- [http://www.sisudoc.org]
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
- Git
- [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
- [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html.rb;hb=HEAD]
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+/
#+END_SRC
@@ -1511,7 +1510,7 @@ struct DocumentMatters {
);
}
@safe string url_home() {
- return "http://sisudoc.org";
+ return "https://sisudoc.org";
}
@safe string url_git() {
return "https://git.sisudoc.org/software/sisu";
diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org
index 87e3228..c2eb6d5 100644
--- a/org/spine_build_scaffold.org
+++ b/org/spine_build_scaffold.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:build:tools:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -1170,7 +1170,7 @@ gitsnapshot: distclean tangle
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2015 - 2020 Ralph Amissah",
+ "copyright": "Copyright © 2015 - 2021 Ralph Amissah",
"name": "spine",
"version": "<<version_spine>>",
"description": "a sisu like document parser",
@@ -1276,7 +1276,7 @@ gitsnapshot: distclean tangle
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2015 - 2020 Ralph Amissah",
+ "copyright": "Copyright © 2015 - 2021 Ralph Amissah",
"name": "spine",
"version": "<<version_spine>>",
"description": "a sisu like document parser",
@@ -1391,7 +1391,7 @@ gitsnapshot: distclean tangle
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2015 - 2020 Ralph Amissah",
+ "copyright": "Copyright © 2015 - 2021 Ralph Amissah",
"name": "spine",
"version": "<<version_spine>>",
"description": "a sisu like document parser",
@@ -1448,7 +1448,7 @@ gitsnapshot: distclean tangle
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2015 - 2020 Ralph Amissah",
+ "copyright": "Copyright © 2015 - 2021 Ralph Amissah",
"name": "spine",
"description": "a sisu like document parser",
"homepage": "https://sisudoc.org",
@@ -1509,7 +1509,7 @@ name "spine"
description "sisu document parser"
homepage "https://sisudoc.org"
authors "Ralph Amissah"
-copyright "Copyright (C) 2016 - 2020 Ralph Amissah"
+copyright "Copyright (C) 2016 - 2021 Ralph Amissah"
license "AGPL-3.0+"
targetPath "./bin"
#sourcePath "./src/doc_reform"
@@ -2068,7 +2068,7 @@ tinyendian_dep = declare_dependency(
"authors": [
"Ralph Amissah"
],
- "copyright": "Copyright © 2020, Ralph Amissah",
+ "copyright": "Copyright © 2021, Ralph Amissah",
"description": "A minimal D application.",
"license": "AGPL-3",
"name": "d2sqlite3_dub2nix",
diff --git a/org/spine_info.org b/org/spine_info.org
index c9d67f4..1f7bc50 100644
--- a/org/spine_info.org
+++ b/org/spine_info.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:info:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -48,13 +48,13 @@ project_name: Spine, Doc Reform
name: Ralph Amissah
email: ralph.amissah@gmail.com
- copyright: "(C) 2015 - 2020 Ralph Amissah, All Rights Reserved."
+ copyright: "(C) 2015 - 2021 Ralph Amissah, All Rights Reserved."
license: "AGPL 3 or later"
hompage: [
- "http://www.doc_reform.org",
- "http://www.sisudoc.org"
+ "https://www.doc_reform.org",
+ "https://www.sisudoc.org"
]
#+END_SRC
@@ -408,13 +408,13 @@ project_name: Spine, Doc Reform
name: Ralph Amissah
email: ralph.amissah@gmail.com
- copyright: "(C) 2015 - 2020 Ralph Amissah, All Rights Reserved."
+ copyright: "(C) 2015 - 2021 Ralph Amissah, All Rights Reserved."
license: "AGPL 3 or later"
hompage: [
- "http://www.doc_reform.org",
- "http://www.sisudoc.org"
+ "https://www.doc_reform.org",
+ "https://www.sisudoc.org"
]
#+END_SRC
@@ -519,9 +519,8 @@ generated output. Book indexes may be made.
Some document markup samples are provided in the package sisu -markup-samples.
Homepages:
-- <http://www.sisudoc.org/>
-
-- <http://www.jus.uio.no/sisu>
+- <https://www.doc_reform.org/>
+- <https://www.sisudoc.org/>
.SH COMMANDS SUMMARY
@@ -552,8 +551,8 @@ info, and
and
.I SQLite
) , which share text object numbers ("object citation numbering") and the same
-document structure information. For more see: <http://sisudoc.org> or
-<http://www.jus.uio.no/sisu>
+document structure information. For more see: <https://sisudoc.org> or
+<https://www.jus.uio.no/sisu>
#+END_SRC
** flags
@@ -1074,7 +1073,7 @@ The most up to date information on sisu should be contained in the sisu_manual,
available at:
.BR
- <http://sisudoc.org/sisu/sisu_manual/>
+ <https://sisudoc.org/sisu/sisu_manual/>
.BR
The manual can be generated from source, found respectively, either within the
@@ -1128,21 +1127,6 @@ Available man pages are converted back to html using man2html:
.BR
./data/doc/sisu/html
-
-.BR
-An online version of the sisu man page is available here:
-
-.BR
-
-- various sisu man pages <http://www.jus.uio.no/sisu/man/> [^1]
-
-.BR
-- sisu.1 <http://www.jus.uio.no/sisu/man/sisu.1.html> [^2]
-.SH SISU BUILT-IN INTERACTIVE HELP, [DISCONTINUED]
-
-
-.BR
-This fell out of date and has been discontinued.
#+END_SRC
*** markup
@@ -1276,24 +1260,11 @@ text *
.SH MARKUP EXAMPLES
-.SH ONLINE
-
-
.BR
-Online markup examples are available together with the respective outputs
-produced from <http://www.jus.uio.no/sisu/SiSU/examples.html> or from
-<http://www.jus.uio.no/sisu/sisu_examples/>
+check at:
.BR
-There is of course this document, which provides a cursory overview of sisu
-markup and the respective output produced:
-<http://www.jus.uio.no/sisu/sisu_markup/>
-
-.BR
-an alternative presentation of markup syntax:
-/usr/share/doc/sisu/on_markup.txt.gz
-.SH INSTALLED
-
+ <https://git.sisudoc.org/projects/>
.BR
With
@@ -1355,24 +1326,18 @@ make:
num_top: 1
breaks: new=C; break=1
bold: /Gnu|Debian|Ruby|SiSU/
- home_button_text: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
- footer: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
+ home_button_text: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
+ footer: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
manpage: name=sisu - documents: markup, structuring, publishing in multiple standard formats, and search;
synopsis=sisu [-abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9] [filename/wildcard ]
. sisu [-Ddcv] [instruction]
. sisu [-CcFLSVvW]
@links:
- { SiSU Homepage }http://www.sisudoc.org/
- { SiSU Manual }http://www.sisudoc.org/sisu/sisu_manual/
- { Book Samples & Markup Examples }http://www.jus.uio.no/sisu/SiSU/examples.html
- { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html
- { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html
- { SiSU Git repo }http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary
- { SiSU List Archives }http://lists.sisudoc.org/pipermail/sisu/
- { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html
- { SiSU Project @ Debian }http://qa.debian.org/developer.php?login=sisu@lists.sisudoc.org
- { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU
+ { SiSU Homepage }https://www.sisudoc.org/
+ { SiSU Manual }https://www.sisudoc.org/sisu/sisu_manual/
+ { SiSU Git repo }https://git.sisudoc.org/projects/?p=software/spine.git;a=summary
+ { SiSU @ Wikipedia }https://en.wikipedia.org/wiki/SiSU
.fi
.SH AVAILABLE HEADERS
@@ -1462,8 +1427,8 @@ identify:
.fi
.nf
-links: { SiSU }http://www.sisudoc.org
- { FSF }http://www.fsf.org
+links: { SiSU }https://www.sisudoc.org
+ { FSF }https://www.fsf.org
.fi
.nf
@@ -1475,8 +1440,8 @@ make:
promo: sisu, ruby, sisu_search_libre, open_society
bold: [regular expression of words/phrases to be made bold]
italics: [regular expression of words/phrases to italicise]
- home_button_text: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
- footer: {SiSU}http://sisudoc.org; {git}http://git.sisudoc.org
+ home_button_text: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
+ footer: {SiSU}https://sisudoc.org; {git}https://git.sisudoc.org
.fi
.nf
@@ -1868,7 +1833,7 @@ decoration is omitted).
.B markup example:
.nf
-normal text http://www.sisudoc.org/ continues
+normal text https://www.sisudoc.org/ continues
.fi
@@ -1877,7 +1842,7 @@ normal text http://www.sisudoc.org/ continues
.B resulting output:
.BR
-normal text <http://www.sisudoc.org/> continues
+normal text <https://www.sisudoc.org/> continues
.BR
An escaped url without decoration
@@ -1886,9 +1851,8 @@ An escaped url without decoration
.B markup example:
.nf
-normal text _http://www.sisudoc.org/ continues
+normal text _https://www.sisudoc.org/ continues
-deb _http://www.jus.uio.no/sisu/archive unstable main non-free
.fi
@@ -1897,10 +1861,8 @@ deb _http://www.jus.uio.no/sisu/archive unstable main non-free
.B resulting output:
.BR
-normal text <_http://www.sisudoc.org/> continues
+normal text <_https://www.sisudoc.org/> continues
-.BR
-deb <_http://www.jus.uio.no/sisu/archive> unstable main non-free
.BR
where a code block is used there is neither decoration nor hyperlinking, code
@@ -1910,8 +1872,8 @@ blocks are discussed later in this document
.B resulting output:
.nf
-deb http://www.jus.uio.no/sisu/archive unstable main non-free
-deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+deb https://www.jus.uio.no/sisu/archive unstable main non-free
+deb-src https://www.jus.uio.no/sisu/archive unstable main non-free
.fi
.SH LINKING TEXT
@@ -1924,7 +1886,7 @@ To link text or an image to a url the markup is as follows
.B markup example:
.nf
-about { SiSU }http://url.org markup
+about { SiSU }https://url.org markup
.fi
@@ -1933,7 +1895,7 @@ about { SiSU }http://url.org markup
.B resulting output:
.BR
-aboutSiSU <http://www.sisudoc.org/> markup
+aboutSiSU <https://www.sisudoc.org/> markup
.BR
A shortcut notation is available so the url link may also be provided
@@ -1943,7 +1905,7 @@ automatically as a footnote
.B markup example:
.nf
-about {~^ SiSU }http://url.org markup
+about {~^ SiSU }https://url.org markup
.fi
@@ -1952,7 +1914,7 @@ about {~^ SiSU }http://url.org markup
.B resulting output:
.BR
-aboutSiSU <http://www.sisudoc.org/> [^7] markup
+aboutSiSU <https://www.sisudoc.org/> [^7] markup
.BR
Internal document links to a tagged location, including an ocn
@@ -2002,11 +1964,11 @@ book markup examples⌡⌈:SiSU/examples.html⌋
% various url linked images
-{tux.png 64x80 "a better way" }http://www.sisudoc.org/
+{tux.png 64x80 "a better way" }https://www.sisudoc.org/
-{GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }http://www.sisudoc.org/
+{GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }https://www.sisudoc.org/
-{~^ ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
+{~^ ruby_logo.png "Ruby" }https://www.ruby-lang.org/en/
.fi
@@ -2018,22 +1980,22 @@ book markup examples⌡⌈:SiSU/examples.html⌋
[ tux.png ]
.BR
-tux.png 64x80 "Gnu/Linux - a better way" <http://www.sisudoc.org/>
+tux.png 64x80 "Gnu/Linux - a better way" <https://www.sisudoc.org/>
.BR
GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian
-and Ruby" <http://www.sisudoc.org/>
+and Ruby" <https://www.sisudoc.org/>
.BR
-ruby_logo.png 70x90 "Ruby" <http://www.ruby-lang.org/en/> [^8]
+ruby_logo.png 70x90 "Ruby" <https://www.ruby-lang.org/en/> [^8]
.BR
.B linked url footnote shortcut
.nf
-{~^ [text to link] }http://url.org
+{~^ [text to link] }https://url.org
-% maps to: { [text to link] }http://url.org ~{ http://url.org }~
+% maps to: { [text to link] }https://url.org ~{ https://url.org }~
% which produces hyper-linked text within a document/paragraph, with an endnote providing the url for the text location used in the hyperlink
.fi
@@ -2066,21 +2028,21 @@ TREE
.B
.I "Viral Spiral",
David Bollier
-"Viral Spiral", David Bollier <http://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
- document manifest <http://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
- ⌠html, segmented text⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠html, scroll, document in one⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠epub⌡「http://corundum/sisu_manual/en/epub/viral_spiral.david_bollier.epub」
- ⌠pdf, landscape⌡「http://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
- ⌠pdf, portrait⌡「http://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
- ⌠odf: odt, open document text⌡「http://corundum/sisu_manual/en/odt/viral_spiral.david_bollier.odt」
- ⌠xhtml scroll⌡「http://corundum/sisu_manual/en/xhtml/viral_spiral.david_bollier.xhtml」
- ⌠xml, sax⌡「http://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
- ⌠xml, dom⌡「http://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
- ⌠concordance⌡「http://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
- ⌠dcc, document content certificate (digests)⌡「http://corundum/sisu_manual/en/digest/viral_spiral.david_bollier.txt」
- ⌠markup source text⌡「http://corundum/sisu_manual/en/src/viral_spiral.david_bollier.sst」
- ⌠markup source (zipped) pod⌡「http://corundum/sisu_manual/en/pod/viral_spiral.david_bollier.sst.zip」
+"Viral Spiral", David Bollier <https://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
+ document manifest <https://corundum/sisu_manual/en/manifest/viral_spiral.david_bollier.html>
+ ⌠html, segmented text⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠html, scroll, document in one⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠epub⌡「https://corundum/sisu_manual/en/epub/viral_spiral.david_bollier.epub」
+ ⌠pdf, landscape⌡「https://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
+ ⌠pdf, portrait⌡「https://corundum/sisu_manual/en/pdf/viral_spiral.david_bollier.pdf」
+ ⌠odf: odt, open document text⌡「https://corundum/sisu_manual/en/odt/viral_spiral.david_bollier.odt」
+ ⌠xhtml scroll⌡「https://corundum/sisu_manual/en/xhtml/viral_spiral.david_bollier.xhtml」
+ ⌠xml, sax⌡「https://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
+ ⌠xml, dom⌡「https://corundum/sisu_manual/en/xml/viral_spiral.david_bollier.xml」
+ ⌠concordance⌡「https://corundum/sisu_manual/en/html/viral_spiral.david_bollier.html」
+ ⌠dcc, document content certificate (digests)⌡「https://corundum/sisu_manual/en/digest/viral_spiral.david_bollier.txt」
+ ⌠markup source text⌡「https://corundum/sisu_manual/en/src/viral_spiral.david_bollier.sst」
+ ⌠markup source (zipped) pod⌡「https://corundum/sisu_manual/en/pod/viral_spiral.david_bollier.sst.zip」
.SH GROUPED TEXT / BLOCKED TEXT
@@ -2677,7 +2639,7 @@ pb: Harvard University Press
edn: (edition)
yr: 2006
pl: U.S.
-url: http://cyber.law.harvard.edu/wealth_of_networks/Main_Page
+url: https://cyber.law.harvard.edu/wealth_of_networks/Main_Page
note:
sn: Benkler, /{Wealth of Networks}/ (2006)
id: Benkler2006
@@ -2740,7 +2702,7 @@ pb: publisher
edn: edition
yr: year (yyyy or yyyy-mm or yyyy-mm-dd) (required)
pg: pages
-url: http://url
+url: https://url
note: note
id: create_short_identifier e.g. authorSurnameYear
(used in substitutions: when found within text will be
@@ -3067,10 +3029,10 @@ processing can be done directly against a sisupod; which may be located locally
or on a remote server for which a url is provided.
.BR
-<http://www.sisudoc.org/sisu/sisu_commands>
+<https://www.sisudoc.org/sisu/sisu_commands>
.BR
-<http://www.sisudoc.org/sisu/sisu_manual>
+<https://www.sisudoc.org/sisu/sisu_manual>
.SH CONFIGURATION
.SH CONFIGURATION FILES
@@ -3516,8 +3478,8 @@ there they are copied to the root of the output directory with the command:
.BR
Current markup examples and document output samples are provided off
-<http://sisudoc.org> or <http://www.jus.uio.no/sisu> and in the sisu
--markup-sample package available off <http://git.sisudoc.org>
+<https://sisudoc.org> or <https://www.jus.uio.no/sisu> and in the sisu
+-markup-sample package available off <https://git.sisudoc.org>
.BR
For some documents hardly any markup at all is required at all, other than a
@@ -4088,7 +4050,7 @@ INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL)
.BR
-Sample search frontend <http://search.sisudoc.org> [^15] A small database and
+Sample search frontend <https://search.sisudoc.org> [^15] A small database and
sample query front-end (search from) that makes use of the citation system, .I
object citation numbering
to demonstrates functionality.[^16]
@@ -4439,12 +4401,12 @@ square brackets
.BR
.TP
.BI 1.
-<http://www.jus.uio.no/sisu/man/>
+<https://www.jus.uio.no/sisu/man/>
.BR
.TP
.BI 2.
-<http://www.jus.uio.no/sisu/man/sisu.1.html>
+<https://www.jus.uio.no/sisu/man/sisu.1.html>
.BR
.TP
@@ -4490,18 +4452,18 @@ editors notes, numbered plus symbol footnote/endnote series
.BR
.TP
.BI 7.
-<http://www.sisudoc.org/>
+<https://www.sisudoc.org/>
.BR
.TP
.BI 8.
-<http://www.ruby-lang.org/en/>
+<https://www.ruby-lang.org/en/>
.BR
.TP
.BI 9.
Table from the Wealth of Networks by Yochai Benkler
-<http://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler>
+<https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler>
.BR
.TP
@@ -4523,18 +4485,18 @@ rather fine and this behaviour could be reinstated.
.BR
.TP
.BI 13.
-<http://www.postgresql.org/> <http://advocacy.postgresql.org/>
-<http://en.wikipedia.org/wiki/Postgresql>
+<https://www.postgresql.org/> <https://advocacy.postgresql.org/>
+<https://en.wikipedia.org/wiki/Postgresql>
.BR
.TP
.BI 14.
-<http://www.hwaci.com/sw/sqlite/> <http://en.wikipedia.org/wiki/Sqlite>
+<https://www.hwaci.com/sw/sqlite/> <https://en.wikipedia.org/wiki/Sqlite>
.BR
.TP
.BI 15.
-<http://search.sisudoc.org>
+<https://search.sisudoc.org>
.BR
.TP
@@ -4569,10 +4531,10 @@ matches are found.
sisu_vim(7)
.TP
.SH HOMEPAGE
- More information about SiSU can be found at <http://www.sisudoc.org/> or <http://www.jus.uio.no/sisu/>
+ More information about SiSU can be found at <https://www.sisudoc.org/> or <https://www.jus.uio.no/sisu/>
.TP
.SH SOURCE
- <http://git.sisudoc.org/>
+ <https://git.sisudoc.org/>
.TP
.SH AUTHOR
SiSU is written by Ralph Amissah <ralph@amissah.com>
@@ -4642,7 +4604,7 @@ matches are found.
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah
+ - Copyright: (C) 2015 - 2021 Ralph Amissah
#+END_SRC
@@ -4670,12 +4632,12 @@ matches are found.
for more details.
You should have received a copy of the GNU General Public License along
- with this program. If not, see [http://www.gnu.org/licenses/].
+ with this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
#+END_SRC
@@ -4691,14 +4653,14 @@ matches are found.
- standard SiSU document object numbering
- Hompages:
- [http://www.sisudoc.org]
+ [https://www.sisudoc.org]
#+END_SRC
#+BEGIN_SRC txt
- Hompages:
- [http://www.doc_reform.org]
- [http://www.sisudoc.org]
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
- Git
[]
@@ -4733,7 +4695,7 @@ matches are found.
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/d2sqlite3]
@@ -4751,7 +4713,7 @@ matches are found.
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/D-YAML]
@@ -4768,7 +4730,7 @@ matches are found.
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/lgvz/imageformats]
@@ -4786,11 +4748,11 @@ matches are found.
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/tinyendian]
- [http://code.dlang.org/packages/tinyendian]
+ [https://code.dlang.org/packages/tinyendian]
- Name: cgi.d
- Description:
@@ -4798,14 +4760,14 @@ matches are found.
- Author:
[Adam D. Ruppe]
- - Copyright: (C) 2008 - 2020 Adam D. Ruppe
+ - Copyright: (C) 2008 - 2021 Adam D. Ruppe
- code: cgi.d (copy in ./misc/ext_lib/src/arsd/)
aria2c https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
(Check the bottom of the file for details)
- Hompages:
diff --git a/org/spine_markup_sample.org b/org/spine_markup_sample.org
index d13bc9f..81a510a 100644
--- a/org/spine_markup_sample.org
+++ b/org/spine_markup_sample.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:build:tools:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -105,13 +105,13 @@ make:
italics: "Linux|GPL|LaTeX|SQL"
breaks: "new=:B; break=1"
home_button_text: [
- "{doc-reform}http://doc-reform.org",
- "{sources / git}http://git.sisudoc.org/",
- "{SiSU}http://sisudoc.org"
+ "{doc-reform}https://doc-reform.org",
+ "{sources / git}https://git.sisudoc.org/",
+ "{SiSU}https://sisudoc.org"
]
footer: [
- "{SiSU}http://sisudoc.org",
- "{git}http://git.sisudoc.org"
+ "{SiSU}https://sisudoc.org",
+ "{git}https://git.sisudoc.org"
]
#+END_SRC
@@ -325,7 +325,7 @@ date:
modified: "2020-04-11"
rights:
- copyright: "Copyright (C) Ralph Amissah 2007, 2020"
+ copyright: "Copyright (C) Ralph Amissah 2007, 2021"
license: "AGPL 3 (part of SiSU Spine documentation)"
classify:
@@ -430,8 +430,8 @@ identifier:
code{
links: [
- "{SiSU }http://www.sisudoc.org",
- "{ FSF }http://www.fsf.org",
+ "{SiSU }https://www.sisudoc.org",
+ "{ FSF }https://www.fsf.org",
]
}code
@@ -446,8 +446,8 @@ make:
bold: "Debian|SiSU" # [regular expression of words/phrases to be made bold]
italics: "Linux|GPL|LaTeX|SQL" # [regular expression of words/phrases to italicise]
breaks: "new=:B; break=1"
- home_button_text: "{SiSU}http://sisudoc.org; {sources / git}http://git.sisudoc.org/gitweb/"
- footer: "{SiSU}http://sisudoc.org; {git}http://git.sisudoc.org"
+ home_button_text: "{SiSU}https://sisudoc.org; {sources / git}https://git.sisudoc.org/projects/"
+ footer: "{SiSU}https://sisudoc.org; {git}https://git.sisudoc.org"
headings: text to match for each level
(e.g. PART; Chapter; Section; Article; or another: none; BOOK|FIRST|SECOND; none; CHAPTER;)
@@ -693,15 +693,15 @@ is omitted).
!_ resulting output:
-normal text http://www.sisudoc.org/ continues
+normal text https://www.sisudoc.org/ continues
An escaped url without decoration
!_ resulting output:
-normal text _http://www.sisudoc.org/ continues
+normal text _https://www.sisudoc.org/ continues
-deb _http://www.jus.uio.no/sisu/archive unstable main non-free
+deb _https://www.jus.uio.no/sisu/archive unstable main non-free
where a code block is used there is neither decoration nor hyperlinking, code
blocks are discussed later in this document
@@ -710,8 +710,8 @@ blocks are discussed later in this document
code{
-deb http://www.jus.uio.no/sisu/archive unstable main non-free
-deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+deb https://www.jus.uio.no/sisu/archive unstable main non-free
+deb-src https://www.jus.uio.no/sisu/archive unstable main non-free
}code
@@ -722,11 +722,11 @@ To link text or an image to a url the markup is as follows
!_ resulting output:
-about { SiSU }http://www.sisudoc.org/ markup
+about { SiSU }https://www.sisudoc.org/ markup
a couple of test urls
-http://example.com/Alice&Bob
+https://example.com/Alice&Bob
{ programs I use }https://qa.debian.org/developer.php?packages=zsh+tilix+sakura+tmux+screen+i3-wm+vim+emacs+mosh+ldc
@@ -735,7 +735,7 @@ automatically as a footnote
!_ resulting output:
-about {~^ SiSU }http://www.sisudoc.org/ markup
+about {~^ SiSU }https://www.sisudoc.org/ markup
Internal document links to a named (anchor) tagged location, including named
headings named inline anchor tags *~an-inline-anchor-tag or an ocn the heading:
@@ -796,15 +796,15 @@ about { SiSU book markup examples }:SiSU/examples.html
{ sm_tux.png 64x80 "test" }image
-{ sm_tux.png }http://www.sisudoc.org/
+{ sm_tux.png }https://www.sisudoc.org/
-{ sm_tux.png 64x80 }http://www.sisudoc.org/
+{ sm_tux.png 64x80 }https://www.sisudoc.org/
-{ sm_tux.png 64x80 "Gnu/Linux - a better way" }http://www.sisudoc.org/
+{ sm_tux.png 64x80 "Gnu/Linux - a better way" }https://www.sisudoc.org/
-{ sm_GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }http://www.sisudoc.org/
+{ sm_GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian and Ruby" }https://www.sisudoc.org/
-{~^ sm_ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
+{~^ sm_ruby_logo.png "Ruby" }https://www.ruby-lang.org/en/
{ sm_d_image.jpg 82x128 "D for me" }https://github.com/dlang-community/d-mans
@@ -814,9 +814,9 @@ about { SiSU book markup examples }:SiSU/examples.html
code{
-{~^ [text to link] }http://url.org
+{~^ [text to link] }https://url.org
-% maps to: { [text to link] }http://url.org ~{ http://url.org }~
+% maps to: { [text to link] }https://url.org ~{ https://url.org }~
% which produces hyper-linked text within a document/paragraph, with an endnote providing the url for the text location used in the hyperlink
@@ -1373,7 +1373,7 @@ column three of row two, and so on
a second form may be easier to work with in cases where there is not much
information in each column
-*{markup example:}*~{ Table from the Wealth of Networks by Yochai Benkler \\ http://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler }~
+*{markup example:}*~{ Table from the Wealth of Networks by Yochai Benkler \\ https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler }~
!_ Table 3.1: Contributors to Wikipedia, January 2001 - June 2005
@@ -1550,7 +1550,7 @@ pb: Harvard University Press
edn: (edition)
yr: 2006
pl: U.S.
-url: http://cyber.law.harvard.edu/wealth_of_networks/Main_Page
+url: https://cyber.law.harvard.edu/wealth_of_networks/Main_Page
note:
sn: Benkler, /{Wealth of Networks}/ (2006)
id: Benkler2006
@@ -1611,7 +1611,7 @@ pb: publisher
edn: edition
yr: year (yyyy or yyyy-mm or yyyy-mm-dd) (required)
pg: pages
-url: http://url
+url: https://url
note: note
id: create_short_identifier e.g. authorSurnameYear
(used in substitutions: when found within text will be
@@ -1824,7 +1824,7 @@ Globalisation is to be observed as a trend intrinsic to the world economy.~{ As
Maria Cattaui Livanos suggests in /{The global economy - an opportunity to be
seized}/ in /{Business World}/ the Electronic magazine of the International
Chamber of Commerce (Paris, July 1997) at
-http://www.iccwbo.org/html/globalec.htm \\ "Globalization is unstoppable. Even
+https://www.iccwbo.org/html/globalec.htm \\ "Globalization is unstoppable. Even
though it may be only in its early stages, it is already intrinsic to the world
economy. We have to live with it, recognize its advantages and learn to manage
it. \\ That imperative applies to governments, who would be unwise to attempt to
@@ -1858,8 +1858,8 @@ possibilities for the promulgation of texts, the sharing of ideas and
collaborative ventures. There are however, likely to be tensions within the
legal community protecting entrenched practices against that which is new, (both
in law and technology) and the business community's goal to reduce transaction
-costs. This here http://sisudoc.org/now is a test and repeat { does this work?
-}http://www.sisudoc.com/ok.html
+costs. This here https://sisudoc.org/now is a test and repeat { does this work?
+}https://www.sisudoc.com/ok.html
Within commercial law an analysis of law and economics may assist in
developing a better understanding of the relationship between commercial
diff --git a/org/util_cgi_d_sqlite_search.org b/org/util_cgi_d_sqlite_search.org
index 4225833..21636ff 100644
--- a/org/util_cgi_d_sqlite_search.org
+++ b/org/util_cgi_d_sqlite_search.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -63,12 +63,69 @@ mixin GenericMain!cgi_function_intro;
#+NAME: cgi_sqlite_head
#+BEGIN_SRC d
+<<doc_header_including_copyright_and_license>>
/+ dub.sdl
name "spine search"
description "spine cgi search"
+/
#+END_SRC
+*** document header including copyright & license
+
+#+NAME: doc_header_including_copyright_and_license
+#+BEGIN_SRC txt
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
+#+END_SRC
+
** imports
#+NAME: cgi_sqlite_imports
@@ -611,7 +668,7 @@ string previous_next () {
</title>
<meta name="sourcefile" content="SiSU.sst" />
<link rel="generator" href="sisudoc.org" />
- <link rel="shortcut icon" href="http://%s/image_sys/spine.ico" />
+ <link rel="shortcut icon" href="https://%s/image_sys/spine.ico" />
<style media = "all">
*{
padding : 0px;
@@ -683,10 +740,10 @@ string previous_next () {
<tr><td width="20%%">
<table summary="home button / home information" border="0" cellpadding="2" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -1076,7 +1133,7 @@ LIMIT %s OFFSET %s
auto m = (row["date_published"].as!string).match(regex(r"^([0-9]{4})")); // breaks if row missing or no match?
cgi.write(
"<hr><a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ "toc.html"
@@ -1095,7 +1152,7 @@ LIMIT %s OFFSET %s
if (cv.results_type == "txt") {
cgi.write(
"<hr><a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -1108,7 +1165,7 @@ LIMIT %s OFFSET %s
} else {
cgi.write(
"<a href=\""
- ~ "http://" ~ conf.http_host ~ "/"
+ ~ "https://" ~ conf.http_host ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -1157,7 +1214,7 @@ LIMIT %s OFFSET %s
name "spine_search"
description "A minimal D application."
authors "ralph"
-copyright "Copyright © 2020, ralph"
+copyright "Copyright © 2021, ralph"
license "GPL-3.0+"
dependency "d2sqlite3" version="~>0.18.3"
dependency "arsd-official": "7.2.0"
diff --git a/org/util_cgi_rb_fcgi_sqlite_search.org b/org/util_cgi_rb_fcgi_sqlite_search.org
index d10c163..60baaa0 100644
--- a/org/util_cgi_rb_fcgi_sqlite_search.org
+++ b/org/util_cgi_rb_fcgi_sqlite_search.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:hub:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -36,8 +36,8 @@ document home currently at /var/www/html (better placed at /var/www or srv/proje
=begin
* Name: SiSU information Structuring Universe
* Author: Ralph Amissah
- * http://www.jus.uio.no/sisu
- * http://www.jus.uio.no/sisu/SiSU/download
+ * https://sisudoc.org
+ * https://git.sisudoc.org
* Description: generates naive cgi search form for search of sisu database (sqlite)
* Name: SiSU generated sample cgi search form
@@ -66,13 +66,12 @@ document home currently at /var/www/html (better placed at /var/www or srv/proje
more details.
You should have received a copy of the GNU General Public License along with
- this program. If not, see <http://www.gnu.org/licenses/>.
+ this program. If not, see <https://www.gnu.org/licenses/>.
If you have Internet connection, the latest version of the GPL should be
available at these locations:
- <http://www.fsf.org/licenses/gpl.html>
- <http://www.gnu.org/licenses/gpl.html>
- <http://www.jus.uio.no/sisu/gpl.fsf>
+ <https://www.fsf.org/licenses/gpl.html>
+ <https://www.gnu.org/licenses/gpl.html>
* SiSU uses:
* Standard SiSU markup syntax,
@@ -80,8 +79,7 @@ document home currently at /var/www/html (better placed at /var/www or srv/proje
* Standard SiSU object citation numbering and system
* Hompages:
- <http://www.jus.uio.no/sisu>
- <http://www.sisudoc.org>
+ <https://www.sisudoc.org>
* Ralph Amissah
<ralph@amissah.com>
@@ -101,13 +99,13 @@ rescue LoadError
puts 'cgi, fcgi or sqlite3 NOT FOUND (LoadError)'
end
@stub_default = 'search'
-@image_src = "http://#{ENV['HTTP_HOST']}/image_sys"
-@hosturl_cgi = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}"
-@hosturl_files = "http://#{ENV['HTTP_HOST']}"
+@image_src = "https://#{ENV['HTTP_HOST']}/image_sys"
+@hosturl_cgi = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}"
+@hosturl_files = "https://#{ENV['HTTP_HOST']}"
@output_dir_structure_by = 'language'
@lingual = 'multi'
@db_name_prefix = 'spine.'
-@base = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}"
+@base = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}"
#Common TOP
@@offset = 0
@@canned_search_url = @base
@@ -145,8 +143,8 @@ class Form
<meta name="sourcefile" content="SiSU._sst" />
SiSU search form (sample): SiSU information Structuring Universe
</title>
- <link rel="generator" href="http://www.jus.uio.no/sisu" />
- <link rel="shortcut icon" href="http://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" />
+ <link rel="generator" href="https://sisudoc.org/" />
+ <link rel="shortcut icon" href="https://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" />
<link href="../_sisu/css/html.css" rel="stylesheet">
</head>
<body lang="en" xml:lang="en">
@@ -154,10 +152,10 @@ class Form
<tr><td width="20%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -575,10 +573,10 @@ def tail
<tr><td valign="top" width="10%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
<tr><td align="left">
- <br /><a href="http://sisudoc.org/" target="_top">
+ <br /><a href="https://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
- <br /><a href="http://git.sisudoc.org/" target="_top">
+ <br /><a href="https://git.sisudoc.org/" target="_top">
git
</a>
</td></tr>
@@ -590,22 +588,18 @@ def tail
Generated by
SiSU 6.3.1 2014-10-19 (2014w41/7)
<br />
- <a href="http://www.sisudoc.org" >
+ <a href="https://www.sisudoc.org" >
<b>SiSU</b></a> <sup>&copy;</sup> Ralph Amissah
1993, current 2014.
All Rights Reserved.
<br />
SiSU is software for document structuring, publishing and search,
<br />
- <a href="http://www.jus.uio.no/sisu" >
- www.jus.uio.no/sisu
- </a>
- and
- <a href="http://www.sisudoc.org" >
+ <a href="https://www.sisudoc.org" >
www.sisudoc.org
</a>
sources
- <a href="http://git.sisudoc.org" >
+ <a href="https://git.sisudoc.org" >
git.sisudoc.org
</a>
<br />
@@ -615,8 +609,8 @@ def tail
</a>
<br />
mailing list subscription
- <a href="http://lists.sisudoc.org/listinfo/sisu" >
- http://lists.sisudoc.org/listinfo/sisu
+ <a href="https://lists.sisudoc.org/listinfo/sisu" >
+ https://lists.sisudoc.org/listinfo/sisu
</a>
<br />
<a href="mailto:sisu@lists.sisudoc.org" >
@@ -637,27 +631,27 @@ def tail
<!-- widget way better -->
<tr><td valign="top" width="10%">
<p class="tiny_left"><font color="#666666" size="2">
- <a href="http://www.gnu.org/licenses/gpl.html">
+ <a href="https://www.gnu.org/licenses/gpl.html">
.:
</a>
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
SiSU is released under
- <a href="http://www.gnu.org/licenses/gpl.html">GPL&nbsp;v3</a>
+ <a href="https://www.gnu.org/licenses/gpl.html">GPL&nbsp;v3</a>
or later,
- <a href="http://www.gnu.org/licenses/gpl.html">
- http://www.gnu.org/licenses/gpl.html
+ <a href="https://www.gnu.org/licenses/gpl.html">
+ https://www.gnu.org/licenses/gpl.html
</a>
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
SiSU, developed using
- <a href="http://www.ruby-lang.org/en/">
+ <a href="https://www.ruby-lang.org/en/">
Ruby
</a>
on
- <a href="http://www.debian.org/">
+ <a href="https://www.debian.org/">
Debian/Gnu/Linux
</a>
software infrastructure,
diff --git a/org/util_spine_markup_conversion_from_sisu.org b/org/util_spine_markup_conversion_from_sisu.org
index 4204560..d4a0600 100644
--- a/org/util_spine_markup_conversion_from_sisu.org
+++ b/org/util_spine_markup_conversion_from_sisu.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:info:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
diff --git a/org/util_spine_syntax_highlighting_emacs.org b/org/util_spine_syntax_highlighting_emacs.org
index e161b8f..05adeaa 100644
--- a/org/util_spine_syntax_highlighting_emacs.org
+++ b/org/util_spine_syntax_highlighting_emacs.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:info:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -32,7 +32,7 @@
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
(autoload 'sisu-spine-mode "sisu-spine-mode" "\
Major mode for editing SiSU (spine) markup files.
-SiSU (http://www.sisudoc.org/) document structuring, publishing
+SiSU (https://www.sisudoc.org/) document structuring, publishing
and search.
\(fn)" t nil)
@@ -46,17 +46,17 @@ and search.
#+BEGIN_SRC elisp :tangle "../misc/editor-syntax-etc/emacs/sisu-spine-mode.el"
;;; sisu-spine-mode.el --- Major mode for SiSU (spine parser) markup text
-;; Copyright (C) 2011, 2020 Free Software Foundation, Inc.
+;; Copyright (C) 2011, 2021 Free Software Foundation, Inc.
;; Author: Ralph Amissah & Ambrose Kofi Laing
;; Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
;; Keywords: text, syntax, processes, tools
;; Version: 8.0.0
-;; URL: http://www.sisudoc.org/
+;; URL: https://www.sisudoc.org/
;; originally looked at (based on) doc-mode, with kind permission of the author
;; Author: SUN, Tong <suntong001@users.sf.net>, (c)2001-6, all right reserved
;; Version: $Date: 2006/01/19 03:13:41 $ $Revision: 1.14 $
-;; Home URL: http://xpt.sourceforge.net/
+;; Home URL: https://xpt.sourceforge.net/
;; with contributions from Kevin Ryde and Stefan Monnier
;; This program is free software; you can redistribute it and/or modify
@@ -70,7 +70,7 @@ and search.
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;; Viva Software Libre!
;; Support the free software movement!
@@ -78,7 +78,7 @@ and search.
;;; Commentary:
-;; SiSU (http://www.sisudoc.org/) is a document structuring and
+;; SiSU (https://www.sisudoc.org/) is a document structuring and
;; publishing framework. This package provides an Emacs major mode
;; for SiSU markup, as used by the spine parser (in D) which has a different
;; header (based on yaml) from the original sisu parser (in Ruby) which has
@@ -501,7 +501,7 @@ and search.
(define-derived-mode sisu-spine-mode text-mode "SiSU"
"Major mode for editing SiSU files.
SiSU document structuring, publishing in multiple formats and search.
-URL `http://www.sisudoc.org/'"
+URL `https://www.sisudoc.org/'"
(modify-syntax-entry ?\' ".")
;;(flyspell-mode nil)
diff --git a/org/util_spine_syntax_highlighting_vim.org b/org/util_spine_syntax_highlighting_vim.org
index 2c4f131..2888ee3 100644
--- a/org/util_spine_syntax_highlighting_vim.org
+++ b/org/util_spine_syntax_highlighting_vim.org
@@ -4,7 +4,7 @@
#+FILETAGS: :spine:info:
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
-#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
+#+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
@@ -49,7 +49,7 @@ files:
" Name: def
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-14
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def.vim;hb=HEAD>
" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
" (with occasional other colors selected from 256 color palate)
" .Xdefaults tweaking to make identical to def (256) provided,
@@ -182,8 +182,8 @@ endif
:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
" -------
"256 color .Xdefaults vim: cterm giu
-"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
-"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+"<https://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<https://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
" -------
" 256 color .Xdefaults vim: cterm giu def
" -------
@@ -277,10 +277,10 @@ endif
" Name: Slate
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-09
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim;hb=HEAD>
" Notes: cterm now uses frugal-sisu 8 colors for term
" (for gui originally looked at desert Hans Fugal <hans@fugal.net>
-" <http://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
+" <https://hans.fugal.net/vim/colors/desert.vim> (April/May 2003))
:set background=dark
:hi clear
if exists("syntax_on")
@@ -357,7 +357,7 @@ endif
" Name: def-sisu
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-14
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/def-sisu.vim;hb=HEAD>
" Note: primarily 16 color cterm improved by tweaking of .Xdefaults
" (with occasional other colors selected from 256 color palate)
" .Xdefaults tweaking to make identical to def (256) provided,
@@ -490,8 +490,8 @@ endif
:hi Error gui=bold guibg=#CC0000 guifg=#D3D3D3
" -------
"256 color .Xdefaults vim: cterm giu
-"<http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
-"<http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
+"<https://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim>
+"<https://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png>
" -------
" 256 color .Xdefaults vim: cterm giu def
" -------
@@ -585,7 +585,7 @@ endif
" Name: frugal-cterm-sisu
" Maintainer: Ralph Amissah <ralph@amissah.com>
" Last Change: 2013-02-09
-" URL: <http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
+" URL: <https://git.sisudoc.org/projects/?p=software/spine.git;a=blob;f=data/sisu/conf/editor-syntax-etc/vim/colors/frugal-cterm-sisu.vim;hb=HEAD>
" Note: 8 color cterm, related colorschemes 8 & sparse
:set background=dark
:hi clear
diff --git a/src/COPYRIGHT b/src/COPYRIGHT
index e6bc060..f4fe0b2 100644
--- a/src/COPYRIGHT
+++ b/src/COPYRIGHT
@@ -5,7 +5,7 @@
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah
+ - Copyright: (C) 2015 - 2021 Ralph Amissah
- code under src/* src/doc_reform/*
- License: AGPL 3 or later:
@@ -26,12 +26,12 @@
for more details.
You should have received a copy of the GNU General Public License along
- with this program. If not, see [http://www.gnu.org/licenses/].
+ with this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
- Spine, Doc Reform (related to SiSU) uses standard:
- docReform markup syntax (based on SiSU markup)
@@ -41,7 +41,7 @@
- standard SiSU document object numbering
- Hompages:
- [http://www.sisudoc.org]
+ [https://www.sisudoc.org]
- Spine, Doc Reform (SiSU) markup samples
Individual document content Copyright (Author) [as stated in document header]
@@ -62,7 +62,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/d2sqlite3]
@@ -80,7 +80,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/D-YAML]
@@ -97,7 +97,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/lgvz/imageformats]
@@ -115,11 +115,11 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/tinyendian]
- [http://code.dlang.org/packages/tinyendian]
+ [https://code.dlang.org/packages/tinyendian]
- Name: cgi.d
- Description:
@@ -127,14 +127,14 @@
- Author:
[Adam D. Ruppe]
- - Copyright: (C) 2008 - 2020 Adam D. Ruppe
+ - Copyright: (C) 2008 - 2021 Adam D. Ruppe
- code: cgi.d (copy in ./misc/ext_lib/src/arsd/)
aria2c https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
(Check the bottom of the file for details)
- Hompages:
diff --git a/src/doc_reform/COPYRIGHT b/src/doc_reform/COPYRIGHT
index e6bc060..f4fe0b2 100644
--- a/src/doc_reform/COPYRIGHT
+++ b/src/doc_reform/COPYRIGHT
@@ -5,7 +5,7 @@
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah
+ - Copyright: (C) 2015 - 2021 Ralph Amissah
- code under src/* src/doc_reform/*
- License: AGPL 3 or later:
@@ -26,12 +26,12 @@
for more details.
You should have received a copy of the GNU General Public License along
- with this program. If not, see [http://www.gnu.org/licenses/].
+ with this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
- Spine, Doc Reform (related to SiSU) uses standard:
- docReform markup syntax (based on SiSU markup)
@@ -41,7 +41,7 @@
- standard SiSU document object numbering
- Hompages:
- [http://www.sisudoc.org]
+ [https://www.sisudoc.org]
- Spine, Doc Reform (SiSU) markup samples
Individual document content Copyright (Author) [as stated in document header]
@@ -62,7 +62,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/d2sqlite3]
@@ -80,7 +80,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/D-YAML]
@@ -97,7 +97,7 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/lgvz/imageformats]
@@ -115,11 +115,11 @@
- code:
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
- Hompages:
[https://github.com/dlang-community/tinyendian]
- [http://code.dlang.org/packages/tinyendian]
+ [https://code.dlang.org/packages/tinyendian]
- Name: cgi.d
- Description:
@@ -127,14 +127,14 @@
- Author:
[Adam D. Ruppe]
- - Copyright: (C) 2008 - 2020 Adam D. Ruppe
+ - Copyright: (C) 2008 - 2021 Adam D. Ruppe
- code: cgi.d (copy in ./misc/ext_lib/src/arsd/)
aria2c https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d
- License: BSL-1.0
Boost Software License 1.0
- [http://www.boost.org/LICENSE_1_0.txt]
+ [https://www.boost.org/LICENSE_1_0.txt]
(Check the bottom of the file for details)
- Hompages:
diff --git a/src/doc_reform/conf/compile_time_info.d b/src/doc_reform/conf/compile_time_info.d
index 0e09edd..daffa76 100644
--- a/src/doc_reform/conf/compile_time_info.d
+++ b/src/doc_reform/conf/compile_time_info.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
compile_time_info
+/
diff --git a/src/doc_reform/io_in/paths_source.d b/src/doc_reform/io_in/paths_source.d
index c504c77..3791df9 100644
--- a/src/doc_reform/io_in/paths_source.d
+++ b/src/doc_reform/io_in/paths_source.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
read configuration files<BR>
- read config files<BR>
diff --git a/src/doc_reform/io_in/read_config_files.d b/src/doc_reform/io_in/read_config_files.d
index 65b5388..44f93ec 100644
--- a/src/doc_reform/io_in/read_config_files.d
+++ b/src/doc_reform/io_in/read_config_files.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
read configuration files<BR>
- read config files<BR>
diff --git a/src/doc_reform/io_in/read_source_files.d b/src/doc_reform/io_in/read_source_files.d
index dfb9b2c..ce744ce 100644
--- a/src/doc_reform/io_in/read_source_files.d
+++ b/src/doc_reform/io_in/read_source_files.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
module source_read_source_files;<BR>
- open markup files<BR>
diff --git a/src/doc_reform/io_out/cgi_sqlite_search_form.d b/src/doc_reform/io_out/cgi_sqlite_search_form.d
index 71e8d5d..362d02c 100644
--- a/src/doc_reform/io_out/cgi_sqlite_search_form.d
+++ b/src/doc_reform/io_out/cgi_sqlite_search_form.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.cgi_sqlite_search_form;
template CGIsearchSQLite() {
void CGIsearchSQLite(E,O,M)(E env, O opt_action, M make_and_meta_struct) {
@@ -520,7 +570,7 @@ void cgi_function_intro(Cgi cgi) {
</title>
<meta name="sourcefile" content="SiSU.sst">
<link rel="generator" href="sisudoc.org">
- <link rel="shortcut icon" href="http://%%s/image_sys/spine.ico">
+ <link rel="shortcut icon" href="https://%%s/image_sys/spine.ico">
<style media = "all">
*{
padding : 0px;
@@ -1686,7 +1736,7 @@ LIMIT %%s OFFSET %%s
_close_para
~ "<hr><div class=\"publication\">"
~ "<p class=\"publication\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ "toc.html"
@@ -1708,7 +1758,7 @@ LIMIT %%s OFFSET %%s
"<div class=\"flex-container\">"
~ "<div class=\"textview_ocn\" style=\"flex: 0 0 1.2em\">"
~ "<p class=\"ocn_is\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -1726,7 +1776,7 @@ LIMIT %%s OFFSET %%s
"<div class=\"flex-container\">"
~ "<div class=\"textview_ocn\" style=\"flex: 0 0 1.2em\">"
~ "<p class=\"ocn_is\"><a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/toc.html"
~ "\">"
@@ -1744,7 +1794,7 @@ LIMIT %%s OFFSET %%s
cgi.write(
_matched_ocn_open
~ "<a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/"
~ row["seg_name"].as!string ~ ".html#" ~ row["ocn"].as!string
@@ -1756,7 +1806,7 @@ LIMIT %%s OFFSET %%s
cgi.write(
_matched_ocn_open
~ "<a href=\""
- ~ "http://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
+ ~ "https://" ~ conf.http_host ~ conf.doc_collection_sub_root ~ "/"
~ row["language_document_char"].as!string ~ "/html/"
~ row["src_filename_base"].as!string ~ "/toc.html"
~ "\">"
@@ -1772,10 +1822,10 @@ LIMIT %%s OFFSET %%s
} else { // offset_not_beyond_limit = false;
cgi.write("select_query_results empty<p>\n");
}
- cgi.write("<br><p class=\"center\"><a href=\"http://sisudoc.org/\" target=\"_top\">
+ cgi.write("<br><p class=\"center\"><a href=\"https://sisudoc.org/\" target=\"_top\">
<label for=\"find\"><b>≅ SiSU spine</b></label>
</a> <label for=\"find\">(generated) search form</label>
-<br><a href=\"http://git.sisudoc.org/\" target=\"_top\">
+<br><a href=\"https://git.sisudoc.org/\" target=\"_top\">
git</a>
</p>
");
@@ -1854,7 +1904,7 @@ mixin GenericMain!cgi_function_intro;
name "spine_cgi_sqlite_search"
description "spine cgi sqlite search"
authors "Ralph Amissah"
-copyright "Copyright © 2020, Ralph Amissah"
+copyright "Copyright © 2021, Ralph Amissah"
license "GPL-3.0+"
dependency "d2sqlite3" version="%s"
dependency "arsd-official:cgi" version="%s"
diff --git a/src/doc_reform/io_out/create_zip_file.d b/src/doc_reform/io_out/create_zip_file.d
index ea7e5f6..ac9628d 100644
--- a/src/doc_reform/io_out/create_zip_file.d
+++ b/src/doc_reform/io_out/create_zip_file.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.create_zip_file;
template createZipFile() {
import
diff --git a/src/doc_reform/io_out/defaults.d b/src/doc_reform/io_out/defaults.d
index eea786a..57ac30e 100644
--- a/src/doc_reform/io_out/defaults.d
+++ b/src/doc_reform/io_out/defaults.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
default settings
+/
diff --git a/src/doc_reform/io_out/epub3.d b/src/doc_reform/io_out/epub3.d
index f435418..21c7e4d 100644
--- a/src/doc_reform/io_out/epub3.d
+++ b/src/doc_reform/io_out/epub3.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.epub3;
template outputEPub3() {
import
@@ -36,9 +86,9 @@ template outputEPub3() {
string content = format(q"┃ <?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="EPB-UUID">
<metadata
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:dcterms="http://purl.org/dc/terms/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
+ xmlns:dcterms="https://purl.org/dc/terms/"
+ xmlns:dc="https://purl.org/dc/elements/1.1/"
unique-identifier="urn:uuid:%s" version="2.0">
<!-- <dc:title id="title">%s</dc:title> -->
<dc:title id="title">%s</dc:title>
@@ -131,7 +181,7 @@ template outputEPub3() {
enum DomTags { none, open, close, close_and_open, open_still, }
auto markup = InlineMarkup();
static auto rgx = RgxO();
- string toc =format("<html xmlns=\"http://www.w3.org/1999/xhtml\"
+ string toc =format("<html xmlns=\"https://www.w3.org/1999/xhtml\"
xmlns:epub=\"http://www.idpf.org/2007/ops\">
<head>
<title>%s</title>
@@ -213,14 +263,13 @@ template outputEPub3() {
static auto rgx = RgxO();
enum DomTags { none, open, close, close_and_open, open_still, }
string toc = format(q"┃<?xml version='1.0' encoding='utf-8'?>
- <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
+ <ncx xmlns="https://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
<!-- four required metadata items (for all NCX documents,
(including the relaxed constraints of OPS 2.0) -->
<title>%s%s</title>
<link rel="stylesheet" href="css/epub.css" type="text/css" id="main-css" />
<meta name="dtb:uid" content="urn:uuid:%s" />
- <!-- <meta name="epub-creator" content="spine http://www.jus.uio.no/sisu (this copy)" /> -->
<meta name="dtb:depth" content="%s" />
<meta name="dtb:totalPageCount" content="0" />
<meta name="dtb:maxPageNumber" content="0" />
@@ -295,7 +344,7 @@ template outputEPub3() {
</ncx>┃");
return toc;
}
-
+
@system void outputEPub3(D,I)(
const D doc_abstraction,
I doc_matters,
@@ -809,5 +858,5 @@ template outputEPub3() {
}
}
}
-
+
}
diff --git a/src/doc_reform/io_out/html.d b/src/doc_reform/io_out/html.d
index e898bb8..ceaf9f9 100644
--- a/src/doc_reform/io_out/html.d
+++ b/src/doc_reform/io_out/html.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.html;
template outputHTML() {
import
@@ -510,7 +560,7 @@ template outputHTML() {
M doc_matters,
) {
{ /+ (copy html images) +/
-
+
auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language);
if (!exists(pth_html.image)) {
pth_html.image.mkdirRecurse;
diff --git a/src/doc_reform/io_out/hub.d b/src/doc_reform/io_out/hub.d
index 729b569..5ece133 100644
--- a/src/doc_reform/io_out/hub.d
+++ b/src/doc_reform/io_out/hub.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
output hub<BR>
check & generate output types requested
diff --git a/src/doc_reform/io_out/latex.d b/src/doc_reform/io_out/latex.d
index 38dd486..bf047f9 100644
--- a/src/doc_reform/io_out/latex.d
+++ b/src/doc_reform/io_out/latex.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.latex;
template outputLaTeX() {
import
@@ -754,9 +804,9 @@ string table(O,M)(
auto paper_type_latex = paperTypeLatex();
string _footer(M)(M doc_matters) {
string _ft = "\\lfoot[\\textrm{\\thepage}]";
- string _ft_1 = format(q"┃{\tiny \href{%s}{%s}}┃", "http://sisudoc.org", "SiSU",);
+ string _ft_1 = format(q"┃{\tiny \href{%s}{%s}}┃", "https://sisudoc.org", "SiSU",);
string _ft_2 = format(q"┃
- \cfoot{\href{%s}{%s}}┃", "http://git.sisudoc.org", "git",);
+ \cfoot{\href{%s}{%s}}┃", "https://git.sisudoc.org", "git",);
if (doc_matters.conf_make_meta.make.footer.length > 0) {
if (doc_matters.conf_make_meta.make.footer.length > 0) {
if (doc_matters.conf_make_meta.make.footer[0].matchAll(rgx.inline_link)) {
diff --git a/src/doc_reform/io_out/metadata.d b/src/doc_reform/io_out/metadata.d
index 1d366b9..d196988 100644
--- a/src/doc_reform/io_out/metadata.d
+++ b/src/doc_reform/io_out/metadata.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.metadata;
template outputMetadata() {
@safe void outputMetadata(T)( T doc_matters) {
@@ -129,7 +179,7 @@ string theme_light_1 = format(q"┃
<meta name="dc.title" content= "metadata harvest, 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" />
<meta name="generator" content="spine" />
-<link rel="generator" href="http://sisudoc.org" />
+<link rel="generator" href="https://sisudoc.org" />
<link href="./css/harvest.css" rel="stylesheet">
<style TYPE="text/css">
/* spine harvest css default stylesheet */%s
diff --git a/src/doc_reform/io_out/odt.d b/src/doc_reform/io_out/odt.d
index eae48f6..e23e409 100644
--- a/src/doc_reform/io_out/odt.d
+++ b/src/doc_reform/io_out/odt.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.odt;
template formatODT() {
import doc_reform.io_out;
@@ -682,7 +732,7 @@ template outputODT() {
</style:style>
┃",);
string _odt_head = format(q"┃<?xml version="1.0" encoding="UTF-8"?>
- <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+ <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="https://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:ooow="https://openoffice.org/2004/writer" xmlns:oooc="https://openoffice.org/2004/calc" xmlns:dom="https://www.w3.org/2001/xml-events" xmlns:xforms="https://www.w3.org/2002/xforms" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="https://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="https://www.w3.org/1999/xhtml" xmlns:grddl="https://www.w3.org/2003/g/data-view#" xmlns:tableooo="https://openoffice.org/2009/table" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="https://www.w3.org/TR/css3-text/" office:version="1.2">
<office:scripts/>
<office:font-face-decls>
<style:font-face style:name="DejaVu Sans Mono" svg:font-family="'DejaVu Sans Mono'" style:font-adornments="Book" style:font-family-generic="modern" style:font-pitch="fixed"/>
@@ -841,7 +891,7 @@ template outputODT() {
}
@safe string odt_tail() {
- string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: &lt;<text:a xl:type="simple" xl:href="http://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="http://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
+ string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: &lt;<text:a xl:type="simple" xl:href="https://www.doc_reform.org">www.doc_reform.org</text:a>&gt; and &lt;<text:a xl:type="simple" xl:href="https://www.sisudoc.org">www.sisudoc.org</text:a>&gt;</text:p>
</office:text></office:body></office:document-content>┃",);
return _odt_tail;
}
@@ -908,7 +958,7 @@ template outputODT() {
) {
/+ (meta_xml includes output time-stamp) +/
string _meta_xml = format(q"┃<?xml version="1.0" encoding="UTF-8"?>
- <office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:grddl="http://www.w3.org/2003/g/data-view#" office:version="1.2">
+ <office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:grddl="https://www.w3.org/2003/g/data-view#" office:version="1.2">
<office:meta>
<meta:generator>%s</meta:generator>
<meta:creation-date>%s</meta:creation-date>
@@ -947,21 +997,21 @@ template outputODT() {
}
@safe string manifest_rdf() {
string _manifest_rdf = format(q"┃<?xml version="1.0" encoding="utf-8"?>
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:RDF xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="styles.xml">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="styles.xml"/>
+ <ns0:hasPart xmlns:ns0="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="styles.xml"/>
</rdf:Description>
<rdf:Description rdf:about="content.xml">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="content.xml"/>
+ <ns0:hasPart xmlns:ns0="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="content.xml"/>
</rdf:Description>
<rdf:Description rdf:about="">
- <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document"/>
+ <rdf:type rdf:resource="https://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document"/>
</rdf:Description>
</rdf:RDF>
┃");
@@ -969,7 +1019,7 @@ template outputODT() {
}
@safe string settings_xml() {
string _settings_xml = format(q"┃<?xml version="1.0" encoding="UTF-8"?>
- <office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.2">
+ <office:document-settings xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="https://openoffice.org/2004/office" office:version="1.2">
<office:settings>
<config:config-item-set config:name="ooo:view-settings">
<config:config-item config:name="ViewAreaTop" config:type="int">0</config:config-item>
@@ -1069,7 +1119,7 @@ template outputODT() {
}
@safe string styles_xml() {
string _styles_xml = format(q"┃<?xml version="1.0" encoding="UTF-8"?>
- <office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
+ <office:document-styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xl="https://www.w3.org/1999/xlink" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="https://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="https://openoffice.org/2004/office" xmlns:ooow="https://openoffice.org/2004/writer" xmlns:oooc="https://openoffice.org/2004/calc" xmlns:dom="https://www.w3.org/2001/xml-events" xmlns:rpt="https://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="https://www.w3.org/1999/xhtml" xmlns:grddl="https://www.w3.org/2003/g/data-view#" xmlns:tableooo="https://openoffice.org/2009/table" xmlns:css3t="https://www.w3.org/TR/css3-text/" office:version="1.2">
<office:font-face-decls>
<style:font-face style:name="DejaVu Sans Mono" svg:font-family="'DejaVu Sans Mono'" style:font-adornments="Book" style:font-family-generic="modern" style:font-pitch="fixed"/>
<style:font-face style:name="Nimbus Sans L" svg:font-family="'Nimbus Sans L'" style:font-pitch="variable"/>
diff --git a/src/doc_reform/io_out/package.d b/src/doc_reform/io_out/package.d
index 6bc66ea..56ff1cf 100644
--- a/src/doc_reform/io_out/package.d
+++ b/src/doc_reform/io_out/package.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out;
public import
std.algorithm,
diff --git a/src/doc_reform/io_out/paths_output.d b/src/doc_reform/io_out/paths_output.d
index 1f08702..bde9fc4 100644
--- a/src/doc_reform/io_out/paths_output.d
+++ b/src/doc_reform/io_out/paths_output.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
default settings
+/
diff --git a/src/doc_reform/io_out/rgx.d b/src/doc_reform/io_out/rgx.d
index 6879b67..63872b1 100644
--- a/src/doc_reform/io_out/rgx.d
+++ b/src/doc_reform/io_out/rgx.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
regex: regular expressions used in sisu document parser
+/
diff --git a/src/doc_reform/io_out/source_pod.d b/src/doc_reform/io_out/source_pod.d
index 36a86e2..c8a8e16 100644
--- a/src/doc_reform/io_out/source_pod.d
+++ b/src/doc_reform/io_out/source_pod.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.source_pod;
template spinePod() {
import doc_reform.io_out;
diff --git a/src/doc_reform/io_out/sqlite.d b/src/doc_reform/io_out/sqlite.d
index d4fac70..a97a39d 100644
--- a/src/doc_reform/io_out/sqlite.d
+++ b/src/doc_reform/io_out/sqlite.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.sqlite;
import doc_reform.io_out;
import
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d
index b4c5e56..abc98d9 100644
--- a/src/doc_reform/io_out/xmls.d
+++ b/src/doc_reform/io_out/xmls.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.io_out.xmls;
template outputXHTMLs() {
import
@@ -139,7 +189,7 @@ template outputXHTMLs() {
.replaceAll(
rgx.br_nl, "");
} else {
- _locations = "<p class=\"tiny_left\"><a href=\"http://www.doc-reform.org\">spine</a></p>\n<p class=\"tiny_left\"><a href=\"http://git.sisudoc.org/software/spine/\">sources / git</a></p>\n<p class=\"tiny_left\"><a href=\"http://www.sisudoc.org\">www.sisudoc.org</a></p>";
+ _locations = "<p class=\"tiny_left\"><a href=\"https://www.doc-reform.org\">spine</a></p>\n<p class=\"tiny_left\"><a href=\"https://git.sisudoc.org/software/spine/\">sources / git</a></p>\n<p class=\"tiny_left\"><a href=\"https://www.sisudoc.org\">www.sisudoc.org</a></p>";
}
string o;
o = format(q"┃<div class="flex-menu-option">
@@ -205,7 +255,7 @@ template outputXHTMLs() {
<!-- metadata -->
%s
<!-- metadata -->
- <link rel="generator" href="http://www.sisudoc.org/" />
+ <link rel="generator" href="https://www.sisudoc.org/" />
<link rel="shortcut icon" href="%s../../image/dr.ico" />
<link href="%s" rel="stylesheet" />
</head>
@@ -241,15 +291,15 @@ template outputXHTMLs() {
);
string html_simple = format(q"┃<!DOCTYPE html>
<html
- xmlns="http://www.w3.org/1999/xhtml"
+ xmlns="https://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops"
lang="%s" xml:lang="%s">┃",
doc_matters.src.language,
doc_matters.src.language,
);
string html_strict = format(q"┃<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"
+ "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="https://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops"
lang="%s" xml:lang="%s">┃",
doc_matters.src.language,
diff --git a/src/doc_reform/io_out/xmls_css.d b/src/doc_reform/io_out/xmls_css.d
index 69c68ad..38a784a 100644
--- a/src/doc_reform/io_out/xmls_css.d
+++ b/src/doc_reform/io_out/xmls_css.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
default css settings
+/
diff --git a/src/doc_reform/meta/conf_make_meta_json.d b/src/doc_reform/meta/conf_make_meta_json.d
index 9befaaa..7c77f65 100644
--- a/src/doc_reform/meta/conf_make_meta_json.d
+++ b/src/doc_reform/meta/conf_make_meta_json.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
json headers<BR>
extract json header return json
diff --git a/src/doc_reform/meta/conf_make_meta_structs.d b/src/doc_reform/meta/conf_make_meta_structs.d
index 3c749df..f0d30b3 100644
--- a/src/doc_reform/meta/conf_make_meta_structs.d
+++ b/src/doc_reform/meta/conf_make_meta_structs.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.conf_make_meta_structs;
import
std.exception,
@@ -47,8 +97,8 @@ struct ConfCompositeMakeStr {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
- ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ string home_button_text = "┥Spine, Doc Reform┝┤https://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤https://www.doc-reform.org├"
~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string italics;
string auto_num_top_at_level;
@@ -130,8 +180,8 @@ struct ConfCompositeMakeInit {
string[] footer;
string[] headings;
string[] home_button_image;
- string home_button_text = "┥Spine, Doc Reform┝┤http://www.doc-reform.org├"
- ~ " ┥www.doc-reform.org┝┤http://www.doc-reform.org├"
+ string home_button_text = "┥Spine, Doc Reform┝┤https://www.doc-reform.org├"
+ ~ " ┥www.doc-reform.org┝┤https://www.doc-reform.org├"
~ " ┥sources / git┝┤https://git.doc-reform.org/software/spine├";
string[] italics;
string auto_num_top_at_level;
diff --git a/src/doc_reform/meta/conf_make_meta_yaml.d b/src/doc_reform/meta/conf_make_meta_yaml.d
index 4d1fdb1..0940f49 100644
--- a/src/doc_reform/meta/conf_make_meta_yaml.d
+++ b/src/doc_reform/meta/conf_make_meta_yaml.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
yaml headers<BR>
extract yaml header return struct
@@ -992,6 +1042,56 @@ template contentYAMLtoSpineStruct() {
return _struct_composite;
}
}
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
template configParseYAMLreturnSpineStruct() {
import dyaml;
import
@@ -1024,6 +1124,56 @@ template configParseYAMLreturnSpineStruct() {
return _make_and_meta_struct;
}
}
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() {
import
std.exception,
diff --git a/src/doc_reform/meta/defaults.d b/src/doc_reform/meta/defaults.d
index 33149bf..4429f80 100644
--- a/src/doc_reform/meta/defaults.d
+++ b/src/doc_reform/meta/defaults.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
default settings
+/
diff --git a/src/doc_reform/meta/doc_debugs.d b/src/doc_reform/meta/doc_debugs.d
index 9ab9ea7..f68240d 100644
--- a/src/doc_reform/meta/doc_debugs.d
+++ b/src/doc_reform/meta/doc_debugs.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
output debugs
+/
@@ -52,399 +102,6 @@ template spineDebugs() {
}
}
}
- debug(dumpdoc) {
- writefln(
- "> %s:%s",
- __FILE__,
- __LINE__,
- );
- }
- debug(section_head) {
- key="head";
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(section_toc) {
- key="toc";
- out_toc(contents, key);
- }
- debug(section_toc) {
- key="toc";
- out_toc(contents, key);
- }
- debug(section_toc) {
- key="toc";
- out_toc(contents, key);
- }
- debug(section_body) {
- key="body";
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(toc_nav_dom) {
- enum DomTags { none, open, close, close_and_open, open_still, }
- foreach (sect; doc_matters.has.keys_seq.seg) {
- foreach (obj; contents[sect]) {
- if (obj.metainfo.is_a == "heading") {
- foreach_reverse (k; 0 .. 7) {
- switch (obj.dom_structure_markedup_tags_status[k]) with (DomTags) {
- case close :
- writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- break;
- case close_and_open :
- writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k),
- "<", k, ">", obj.text,
- " file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
- break;
- case open :
- writeln(markup.indent_by_spaces_provided(k),
- "<", k, ">", obj.text,
- " file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
- break;
- default :
- break;
- }
- }
- }
- }
- }
- writeln("--------------------");
- foreach (sect; doc_matters.has.keys_seq.seg) {
- foreach (obj; contents[sect]) {
- if (obj.metainfo.is_a == "heading") {
- foreach_reverse (k; 0 .. 7) {
- switch (obj.dom_structure_collapsed_tags_status[k]) with (DomTags) {
- case close :
- writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- break;
- case close_and_open :
- writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k),
- "<", k, ">", obj.text,
- " file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
- break;
- case open :
- writeln(markup.indent_by_spaces_provided(k),
- "<", k, ">", obj.text,
- " file: ", obj.segment_anchor_tag_html, ".xhtml#", obj.ocn);
- break;
- default :
- break;
- }
- }
- }
- }
- }
- }
- debug(decendants) {
- foreach (sect; doc_matters.has.keys_seq.scroll) {
- foreach (obj; contents[sect]) {
- if (obj.metainfo.is_a == "heading") {
- writeln(obj.metainfo.ocn, " .. ", obj.metainfo.last_decendant_ocn);
- }
- }
- }
- }
- debug(section_endnotes) {
- key="endnotes";
- out_endnotes(contents, key);
- }
- debug(section_endnotes_seg) {
- key="endnotes";
- out_endnotes(contents, key);
- }
- debug(section_glossary) {
- key="glossary";
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(section_bibliography) {
- key="bibliography";
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(section_bookindex) {
- key="bookindex";
- out_bookindex(contents, key);
- }
- debug(section_bookindex) {
- key="bookindex";
- out_bookindex(contents, key);
- }
- debug(section_bookindex_scroll) {
- key="bookindex_scroll";
- out_bookindex(contents, key);
- }
- debug(blurb_section) {
- key="blurb";
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(objects) {
- writefln(
- "> %s:%s",
- __FILE__,
- __LINE__,
- );
- foreach (obj; contents[key]) {
- if (obj.metainfo.is_of_part != "empty") {
- writefln(
- "* [%s][%s] %s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- debug(headermakejson) {
- writefln(
- "%s\n%s\n%s",
- "document header, metadata & make instructions:",
- doc_matters.conf_make_meta.meta,
- ptr_head_main,
- );
- foreach (main_header; ptr_head_main) {
- switch (main_header) {
- case "make":
- foreach (sub_header; ptr_head_sub_make) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- default:
- break;
- }
- }
- }
- debug(headermetadatajson) {
- writefln(
- "%s\n%s\n%s",
- "document header, metadata & make instructions:",
- doc_matters.conf_make_meta.meta,
- ptr_head_main,
- );
- foreach (main_header; ptr_head_main) {
- switch (main_header) {
- case "creator":
- foreach (sub_header; ptr_head_sub_creator) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full,
- );
- }
- }
- break;
- case "title":
- foreach (sub_header; ptr_head_sub_title) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "rights":
- foreach (sub_header; ptr_head_sub_rights) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "date":
- foreach (sub_header; ptr_head_sub_date) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "original":
- foreach (sub_header; ptr_head_sub_original) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "classify":
- foreach (sub_header; ptr_head_sub_classify) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "identifier":
- foreach (sub_header; ptr_head_sub_identifier) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "notes":
- foreach (sub_header; ptr_head_sub_notes) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- case "publisher":
- foreach (sub_header; ptr_head_sub_publisher) {
- if (doc_matters.conf_make_meta.meta.title_full.to!string.length > 2) {
- writefln(
- "%s:%s: %s",
- main_header,
- sub_header,
- doc_matters.conf_make_meta.meta.title_full
- );
- }
- }
- break;
- default:
- break;
- }
- }
- }
- debug(anchor) {
- writefln(
- "> %s:%s",
- __FILE__,
- __LINE__,
- );
- foreach (k; doc_matters.has.keys_seq.seg) {
- foreach (obj; contents[k]) {
- if (obj.metainfo.is_a == "heading") {
- writefln(
- "%s~ [%s] %s %s",
- obj.marked_up_level,
- obj.object_number,
- obj.anchor_tags,
- obj.text
- );
- }
- }
- }
- }
- debug(heading) { // heading
- foreach (k; doc_matters.has.keys_seq.seg) {
- foreach (o; contents[k]) {
- if (o.metainfo.is_a == "heading") {
- writefln(
- "%s* %s\n (markup level: %s; collapsed level: %s)",
- replicate(" ", o.heading_lev_markup),
- strip(o.text),
- o.heading_lev_markup,
- o.heading_lev_collapsed,
- );
- }
- }
- }
- }
- debug(headings) {
- writefln(
- "> %s:%s",
- __FILE__,
- __LINE__,
- );
- foreach (k; doc_matters.has.keys_seq.seg) {
- foreach (obj; contents[k]) {
- if (obj.metainfo.is_a == "heading") {
- writefln(
- "%s~ [%s] %s",
- obj.marked_up_level,
- obj.object_number,
- obj.text
- );
- }
- }
- }
- }
- debug(summary) {
- string[string] check = [
- "last_object_number" : "NA [debug \"checkdoc\" not run]",
- ];
- }
debug(checkdoc) {
if ((doc_matters.opt.action.debug_do)) {
debug(checkdoc) {
@@ -590,57 +247,6 @@ template spineDebugs() {
}
}
}
- debug(checkdoc) {
- void out_toc(S)(
- const S contents,
- string key,
- ) {
- if (contents[key].length > 1) {
- string indent_spaces;
- foreach (obj; contents[key]) {
- indent_spaces=markup.indent_by_spaces_provided(obj.indent_hang);
- writefln(
- "%s%s",
- indent_spaces,
- obj.text
- );
- }
- }
- }
- }
- debug(checkdoc) {
- void out_endnotes(S)(
- const S contents,
- string key,
- ) {
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s]\n%s",
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- }
- debug(checkdoc) {
- void out_bookindex(S)(
- const S contents,
- string key,
- ) {
- if (contents[key].length > 1) {
- foreach (obj; contents[key]) {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
- }
}
}
}
diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d
index db21087..1113183 100644
--- a/src/doc_reform/meta/metadoc.d
+++ b/src/doc_reform/meta/metadoc.d
@@ -117,7 +117,7 @@ template spineAbstraction() {
);
}
@safe string url_home() {
- return "http://sisudoc.org";
+ return "https://sisudoc.org";
}
@safe string url_git() {
return "https://git.sisudoc.org/software/sisu";
diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d
index c3b82d6..6f735bd 100644
--- a/src/doc_reform/meta/metadoc_from_src.d
+++ b/src/doc_reform/meta/metadoc_from_src.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
document abstraction:
abstraction of sisu markup for downstream processing
diff --git a/src/doc_reform/meta/metadoc_harvest.d b/src/doc_reform/meta/metadoc_harvest.d
index 81f0ef4..3135323 100644
--- a/src/doc_reform/meta/metadoc_harvest.d
+++ b/src/doc_reform/meta/metadoc_harvest.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_harvest;
template spineMetaDocHarvest() {
@safe auto spineMetaDocHarvest(T,H)(
diff --git a/src/doc_reform/meta/metadoc_harvests_authors.d b/src/doc_reform/meta/metadoc_harvests_authors.d
index 5555f9d..6e68766 100644
--- a/src/doc_reform/meta/metadoc_harvests_authors.d
+++ b/src/doc_reform/meta/metadoc_harvests_authors.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_harvests_authors;
import
std.algorithm,
@@ -209,7 +259,7 @@ string theme_light_1 = format(q"┃
<meta name="dc.title" content= "metadata harvest, 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" />
<meta name="generator" content="spine" />
-<link rel="generator" href="http://sisudoc.org" />
+<link rel="generator" href="https://sisudoc.org" />
<link href="./css/harvest.css" rel="stylesheet">
<style TYPE="text/css">
/* spine harvest css default stylesheet */%s
diff --git a/src/doc_reform/meta/metadoc_harvests_topics.d b/src/doc_reform/meta/metadoc_harvests_topics.d
index 5332659..5ac01c9 100644
--- a/src/doc_reform/meta/metadoc_harvests_topics.d
+++ b/src/doc_reform/meta/metadoc_harvests_topics.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_harvests_topics;
import
std.algorithm,
@@ -250,7 +300,7 @@ string theme_light_1 = format(q"┃
<meta name="dc.title" content= "metadata harvest, 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" />
<meta name="generator" content="spine" />
-<link rel="generator" href="http://sisudoc.org" />
+<link rel="generator" href="https://sisudoc.org" />
<link href="./css/harvest.css" rel="stylesheet">
<style TYPE="text/css">
/* spine harvest css default stylesheet */%s
diff --git a/src/doc_reform/meta/metadoc_object_setter.d b/src/doc_reform/meta/metadoc_object_setter.d
index 9a4a5b7..0b208f7 100644
--- a/src/doc_reform/meta/metadoc_object_setter.d
+++ b/src/doc_reform/meta/metadoc_object_setter.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
object setter:
setting of sisu objects for downstream processing
diff --git a/src/doc_reform/meta/metadoc_show_config.d b/src/doc_reform/meta/metadoc_show_config.d
index 057d7ba..759f88b 100644
--- a/src/doc_reform/meta/metadoc_show_config.d
+++ b/src/doc_reform/meta/metadoc_show_config.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_show_config;
template spineShowSiteConfig() {
@safe void spineShowSiteConfig(O,T)(
diff --git a/src/doc_reform/meta/metadoc_show_make.d b/src/doc_reform/meta/metadoc_show_make.d
index ea533d0..14e142b 100644
--- a/src/doc_reform/meta/metadoc_show_make.d
+++ b/src/doc_reform/meta/metadoc_show_make.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_show_make;
template spineShowMake() {
@safe void spineShowMake(T)(
diff --git a/src/doc_reform/meta/metadoc_show_metadata.d b/src/doc_reform/meta/metadoc_show_metadata.d
index f7068c3..5e69256 100644
--- a/src/doc_reform/meta/metadoc_show_metadata.d
+++ b/src/doc_reform/meta/metadoc_show_metadata.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_show_metadata;
template spineShowMetaData() {
@safe void spineShowMetaData(T)(
diff --git a/src/doc_reform/meta/metadoc_show_summary.d b/src/doc_reform/meta/metadoc_show_summary.d
index 2c2202c..ccb58dd 100644
--- a/src/doc_reform/meta/metadoc_show_summary.d
+++ b/src/doc_reform/meta/metadoc_show_summary.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta.metadoc_show_summary;
template spineMetaDocSummary() {
@safe void spineMetaDocSummary(S,T)(
@@ -51,62 +101,6 @@ template spineMetaDocSummary() {
}
}
}
- writefln(
- "%s\n\"%s\", %s\n%s [%s]\n%s\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%40-s%10-d\n%s",
- markup.repeat_character_by_number_provided("-", char_repeat_number),
- doc_matters.conf_make_meta.meta.title_full,
- doc_matters.conf_make_meta.meta.creator_author,
- doc_matters.src.filename,
- doc_matters.src.language,
- markup.repeat_character_by_number_provided("-", char_repeat_number),
- "- toc arr length:",
- to!int(doc_abstraction["toc"].length),
- "- doc_abstraction arr length:",
- to!int(doc_abstraction["body"].length),
- " doc body last obj on.#:",
- to!int(check["last_object_number_body"]),
- " - number of tables:",
- doc_matters.has.tables,
- " - number of codeblocks:",
- doc_matters.has.codeblocks,
- " - number of poems:",
- doc_matters.has.poems,
- " - number of blocks:",
- doc_matters.has.blocks,
- " - number of groups:",
- doc_matters.has.groups,
- " - number of images:",
- doc_matters.has.images,
- "- endnotes length:", // subtract headings
- (doc_abstraction["endnotes"].length > 2)
- ? (to!int(doc_abstraction["endnotes"].length - 2))
- : 0,
- "- glossary length:",
- (doc_abstraction["glossary"].length > 1)
- ? (to!int(doc_abstraction["glossary"].length))
- : 0,
- "- biblio length:",
- (doc_abstraction["bibliography"].length > 1)
- ? (to!int(doc_abstraction["bibliography"].length))
- : 0,
- "- bookindex length:",
- (doc_abstraction["bookindex"].length > 1)
- ? (to!int(doc_abstraction["bookindex"].length))
- : 0,
- " book idx last obj on.#:",
- to!int(check["last_object_number_book_index"]),
- "- blurb length:",
- (doc_abstraction["blurb"].length > 1)
- ? (to!int(doc_abstraction["blurb"].length))
- : 0,
- "* last obj on.#:",
- to!int(check["last_object_number"]),
- "number of segments:",
- (doc_matters.has.segnames_lv4.length > 1)
- ? (to!int(doc_matters.has.segnames_lv4.length))
- : 0,
- markup.repeat_character_by_number_provided("-", min_repeat_number),
- );
}
}
}
diff --git a/src/doc_reform/meta/package.d b/src/doc_reform/meta/package.d
index 89334c0..3238017 100644
--- a/src/doc_reform/meta/package.d
+++ b/src/doc_reform/meta/package.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
module doc_reform.meta;
public import
doc_reform.meta.defaults,
diff --git a/src/doc_reform/meta/rgx.d b/src/doc_reform/meta/rgx.d
index 07ec2d4..0d287fe 100644
--- a/src/doc_reform/meta/rgx.d
+++ b/src/doc_reform/meta/rgx.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
regex: regular expressions used in sisu document parser
+/
diff --git a/src/doc_reform/share/defaults.d b/src/doc_reform/share/defaults.d
index 2c3a098..e834714 100644
--- a/src/doc_reform/share/defaults.d
+++ b/src/doc_reform/share/defaults.d
@@ -1,3 +1,53 @@
+/+
+- Name: Spine, Doc Reform [a part of]
+ - Description: documents, structuring, processing, publishing, search
+ - static content generator
+
+ - Author: Ralph Amissah
+ [ralph.amissah@gmail.com]
+
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
+ Reserved.
+
+ - License: AGPL 3 or later:
+
+ Spine (SiSU), a framework for document structuring, publishing and
+ search
+
+ Copyright (C) Ralph Amissah
+
+ This program is free software: you can redistribute it and/or modify it
+ under the terms of the GNU AFERO General Public License as published by the
+ Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program. If not, see [https://www.gnu.org/licenses/].
+
+ If you have Internet connection, the latest version of the AGPL should be
+ available at these locations:
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
+
+ - Spine (by Doc Reform, related to SiSU) uses standard:
+ - docReform markup syntax
+ - standard SiSU markup syntax with modified headers and minor modifications
+ - docReform object numbering
+ - standard SiSU object citation numbering & system
+
+ - Hompages:
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
+
+ - Git
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+
++/
/++
shared default settings
+/
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d
index cbd7b0e..b62af46 100755
--- a/src/doc_reform/spine.d
+++ b/src/doc_reform/spine.d
@@ -7,7 +7,7 @@
- Author: Ralph Amissah
[ralph.amissah@gmail.com]
- - Copyright: (C) 2015 - 2020 Ralph Amissah, All Rights
+ - Copyright: (C) 2015 - 2021 Ralph Amissah, All Rights
Reserved.
- License: AGPL 3 or later:
@@ -28,12 +28,12 @@
more details.
You should have received a copy of the GNU General Public License along with
- this program. If not, see [http://www.gnu.org/licenses/].
+ this program. If not, see [https://www.gnu.org/licenses/].
If you have Internet connection, the latest version of the AGPL should be
available at these locations:
- [http://www.fsf.org/licensing/licenses/agpl.html]
- [http://www.gnu.org/licenses/agpl.html]
+ [https://www.fsf.org/licensing/licenses/agpl.html]
+ [https://www.gnu.org/licenses/agpl.html]
- Spine (by Doc Reform, related to SiSU) uses standard:
- docReform markup syntax
@@ -42,19 +42,18 @@
- standard SiSU object citation numbering & system
- Hompages:
- [http://www.doc_reform.org]
- [http://www.sisudoc.org]
+ [https://www.doc_reform.org]
+ [https://www.sisudoc.org]
- Git
- [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary]
- [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/html.rb;hb=HEAD]
+ [https://git.sisudoc.org/projects/?p=software/spine.git;a=summary]
+/
module doc_reform.sisu_document_parser;
/++
name "spine"
description "A SiSU inspired document parser writen in D."
-homepage "http://sisudoc.org"
+homepage "https://sisudoc.org"
+/
import
std.algorithm,