diff options
229 files changed, 3384 insertions, 4687 deletions
@@ -1,16 +1,9 @@ -use flake . -#use flake .#default -NIX_ENFORCE_PURITY=1 -NixDirEnvVersion="2.2.1" -if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then -# - https://github.com/nix-community/nix-direnv -# source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000=" - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" +if [ -f .envrc-git-init ]; then + source_env_if_exists .envrc-git-init || source .envrc-git-init fi -watch_file flake.lock -watch_file flake.nix if [ -f .envrc-local ]; then source_env_if_exists .envrc-local || source .envrc-local fi -PATH_add result/bin -#nix flake update && nix flake check --show-trace && nix flake show +if [ -f .envrc-nix ]; then + source_env_if_exists .envrc-nix || source .envrc-nix +fi diff --git a/.envrc-nix b/.envrc-nix new file mode 100644 index 00000000..50551ecc --- /dev/null +++ b/.envrc-nix @@ -0,0 +1,33 @@ +NIX_ENFORCE_PURITY=1 +# - https://github.com/nix-community/nix-direnv +NixDirEnvVersion="3.0.7" +NixDirEnvSHA="sha256-bn8WANE5a91RusFmRI7kS751ApelG02nMcwRekC/qzc=" +if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "${NixDirEnvSHA}" +fi +watch_file flake.lock +watch_file flake.nix +watch_file shell.nix +watch_file makefile +watch_file nixDevEnv.sh +watch_file .envrc-local +watch_file .envrc-nix +PATH_add result/bin +use flake . +echo " +• consider running: + ❯❯ nix flake show + ❯❯ nix flake update && nix flake check && nix flake show + +• for a dev shell (development environment): + + ❯❯ nix develop + ❯❯ nix develop '.#' --print-build-logs -c zsh + ❯❯ nix develop '.#rsh-comprehensive-shell' --print-build-logs -c zsh + +• to build project: + + ❯❯ nix build '.#' --print-build-logs + - (see nix other/additional build options): + ❯❯ nix flake show +" diff --git a/.gitattributes b/.gitattributes index 0c60eb5d..0a42eb22 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ /org export-ignore .gitattributes export-ignore tangle export-ignore -flake.lock export-ignore +#flake.lock export-ignore @@ -3,6 +3,8 @@ # git clean -ix # find . -name "*_" | xargs rm -rf * +!.gitignore +!.gitattributes !nix/** !*.nix !flake.lock @@ -23,6 +25,7 @@ !conf/ !conf/** !*.json +!*.md !*.org !org/ !org/*.org @@ -72,15 +75,29 @@ *.gem *.gemspec !sisu.gemspec -*_.rb -*.rb_ 0???-*.patch *.gz *.xz *_ .* +*_.org +*_.nix +*_.rb +*.rb_ +*_.txt +*_.md +*_ +*.swp +*~ +\#* +*.\#* +#!*/ +#\#* +#*.\#* +tmp/** !.gitignore !.gitattributes !.envrc -!.env -!.env/** +!.envrc-local +!.envrc-nix +!!.envrc-git-init @@ -264,7 +264,7 @@ document, produces multiple output formats including: /plaintext/, /HTML/, /XHTML/, /XML/, /EPUB/, /ODT/ (/OpenDocument/ (/ODF/) text), /LaTeX/, /PDF/, info, and /SQL/ (/PostgreSQL/ and /SQLite/) , which share text object numbers ("object citation numbering") and the same document structure information. For -more see: <https://sisudoc.org> or <https://www.jus.uio.no/sisu> +more see: <https://sisudoc.org> or <https://git.sisudoc.org> DOCUMENT PROCESSING COMMAND FLAGS ................................. @@ -1003,7 +1003,7 @@ ONLINE ...... Online markup examples are available together with the respective outputs -produced from <https://www.jus.uio.no/sisu/SiSU/examples.html> or from +produced from <https://git.sisudoc.org/sisu-markup> or from There is of course this document, which provides a cursory overview of sisu markup and the respective output produced: @@ -2355,7 +2355,7 @@ Configure substitution in _sisu/sisu_document_make [9]: Table from the Wealth of Networks by Yochai Benkler - <https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler> + <https://sisudoc.org/spine/en/html/the_wealth_of_networks.yochai_benkler/toc.html> [10]: for which you may alternatively use the full form author: title: and year: @@ -10,7 +10,7 @@ # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -30,14 +30,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -45,12 +43,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> class Orient require 'singleton' include Singleton diff --git a/bin/sisu-misc-utils b/bin/sisu-misc-utils index 506d5b52..b62d69a9 100755 --- a/bin/sisu-misc-utils +++ b/bin/sisu-misc-utils @@ -10,7 +10,7 @@ # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -30,14 +30,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -45,12 +43,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> begin require 'thor' rescue LoadError diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index a1088f7c..102cc426 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -22,6 +22,9 @@ Reverse Chronological: --- HEAD --- +- sisu_7.3.1.orig.tar.xz (Open commit window: 2023-11-01; Pre-Release) + https://git.sisudoc.org/projects/sisu/tag/?h=sisu_7.3.1 + - sisu_7.3.0.orig.tar.xz (Open commit window: 2023-01-30; Pre-Release) https://git.sisudoc.org/projects/sisu/tag/?h=sisu_7.3.0 diff --git a/data/sisu/version.yml b/data/sisu/version.yml index 5d7fca22..acbc59ec 100644 --- a/data/sisu/version.yml +++ b/data/sisu/version.yml @@ -1,5 +1,5 @@ --- :project: SiSU -:version: 7.3.0_pre_rel -:date_stamp: 2023w05/1 -:date: "2023-01-30" +:version: 7.3.1_pre_rel +:date_stamp: 2023w44/3 +:date: "2023-11-01" @@ -1,27 +1,12 @@ { "nodes": { - "flake-utils": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "nixpkgs": { "locked": { - "lastModified": 1675940568, - "narHash": "sha256-epG6pOT9V0kS+FUqd7R6/CWkgnZx2DMT5Veqo+y6G3c=", + "lastModified": 1755829505, + "narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6ccc4a59c3f1b56d039d93da52696633e641bc71", + "rev": "f937f8ecd1c70efd7e9f90ba13dfb400cf559de4", "type": "github" }, "original": { @@ -33,7 +18,6 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } } @@ -1,253 +1,253 @@ { - description = "sisu parser & document generator"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; # "github:nixos/nixpkgs"; "github:NixOS/nixpkgs/nixpkgs-unstable"; "nixpkgs/nixos-unstable"; "nixpkgs/nixos-21.11"; - inputs.flake-utils.url = "github:numtide/flake-utils"; - outputs = { self, nixpkgs, flake-utils } @inputs: - let - pname = "sisu"; - version = "0.7.3"; - shell = ./shell.nix; # ./default.nix; - devEnv = ./.envrc; # ./shell.nix; # ./default.nix; - supportedSystems = [ "x86_64-linux" ]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; - forAllSystems = nixpkgs.lib.genAttrs supportedSystems; - nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); # nixpkgs instantiated for supported system types. - checkPhase = '' - runHook preCheck - runHook postCheck - ''; - preInstall = '' - mkdir -p $out/lib - mkdir -p $out/bin - ''; - installPhase = '' - runHook preInstall - mkdir -p $out/lib - mkdir -p $out/setup - mkdir -p $out/data - mkdir -p $out/bin - #cp ./lib/sisu.rb $out/lib/sisu.rb - cp -R ./lib/* $out/lib/. - cp -R ./data/* $out/data/. - cp -R ./setup/* $out/setup/. - ln -s $out/setup/sisu_version.rb $out/version - install -m755 ./bin/sisu $out/bin/sisu - runHook postInstall - ''; - postInstall = '' - # echo `ls -la $out/bin/sisu` - ## $out/bin/sisu -v - ''; - in { - packages = forAllSystems (system: - let pkgs = nixpkgsFor.${system}; - in with pkgs; { - default = stdenv.mkDerivation { - inherit pname; - inherit version; - meta.mainProgram = "sisu"; - executable = true; - src = self; - inherit shell; - inherit devEnv; - buildInputs = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - #ruby_2_7 - #rubyPackages_2_7.rake - #rubyPackages_2_7.sqlite3 - #rubyPackages_2_7.thor - sqlite - unzip - xz - zip - openssl - nixFlakes - validatePkgConfig - jq - git - sqlite - ]; - buildPhase = '' - ''; - inherit checkPhase; - inherit installPhase; - inherit postInstall; - }; - #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; - }); - apps = forAllSystems (system: { - default = { - type = "app"; - program = "${self.packages.${system}.default}/bin/sisu"; + description = "sisu parser & document generator"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + outputs = { + self, + nixpkgs, + } @ inputs: let + pname = "sisu"; + version = "7.3.1"; + shell = ./shell.nix; # ./default.nix; + devEnv = ./.envrc; # ./.envrc; # ./shell.nix; # ./default.nix; + supportedSystems = [ "x86_64-linux" ]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); # nixpkgs instantiated for supported system types + checkPhase = '' + runHook preCheck + runHook postCheck + ''; + preInstall = ""; + installPhase = '' + runHook preInstall + mkdir -p $out/lib + mkdir -p $out/setup + mkdir -p $out/data + mkdir -p $out/bin + cp -R ./lib/* $out/lib/. + cp -R ./data/* $out/data/. + cp -R ./setup/* $out/setup/. + ln -s $out/setup/sisu_version.rb $out/version + install -m755 ./bin/sisu $out/bin/sisu + runHook postInstall + ''; + postInstall = ""; + in { + packages = forAllSystems (system: let + pkgs = nixpkgsFor.${system}; + in + with pkgs; { + default = stdenv.mkDerivation { + inherit pname; + inherit version; + meta.mainProgram = "sisu"; + executable = true; + src = self; + inherit shell; + inherit devEnv; + buildPhase = ""; + inherit checkPhase; + inherit installPhase; + inherit postInstall; }; + #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; }); - devShells = forAllSystems (system: - let - pkgs = nixpkgsFor.${system}; - shellHook = '' - export Date=`date "+%Y%m%d"` - export sisuver=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g') - ### set local values in .envrc-local (or modify here if you must) - # export sisuPROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/sisu - # export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/doc-reform-markup/sisu-markup-samples - # export sisuSRC=~/grotto/repo/git.repo/projects/project-sisu/sisu - # export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/susu-markup/sisu-markup-samples/data/samples/current - # export sisuOUT=/srv/www/sisu - # export sisuOUTver=/srv/www/sisu/$sisuVER/www - # export sisu=/srv/www/sisu - # export sisu=/var/www/sqlite - # export sisu=/srv/www/sisu/sqlite - export sisu=$sisuPROJ/src - export sisu=$sisuPROJ/result/lib - export sisu=$sisuDOC/markup/pod - export sisu=$sisuOUT/$sisuVER - export sisu='http://localhost/sisu_search' - # export sisuSearchActionRemote='https://sisudoc.org/sisu_search' - export sisuCGIform='sisu_search' - export sisuSQLdb='sisusearch.db' - export PROG_VER_GIT="`git describe --long --tags | sed -e 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'`" - export PROG_VER_DECLARED="`cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`" - export sisuNixHelp="cat ./.env/nix-commands" - export sisuTest="nix shell .#default --print-build-logs --command sisu --very-verbose --epub --html --html-link-search --html-link-curate --curate --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuHtml="sisu --very-verbose --html --html-link-search --html-link-curate --curate --sqlite-update --sqlite-db-filename=\"sisu.search.db\" --cgi-sqlite-search-filename=\"sisu_search\" --sqlite-db-path=\"\$sisuDBpath\" --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuEpub="sisu --very-verbose --epub --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuLatex="sisu --very-verbose --latex --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuPdf="sisu --very-verbose --pdf --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuSqliteCreateDB="sisu --very-verbose --sqlite-db-recreate --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\"" - export sisuSqlite="sisu --very-verbose --sqlite-discrete --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" - #export sisuSqlite="sisu --very-verbose --sqlite-update --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" - ''; - in with pkgs; { - devShell = mkShell { - name = "sisu dev shell default"; - inherit shell; - inherit devEnv; - packages = [ sqlite ]; - inherit shellHook; - }; - devShell-epub = mkShell { - name = "sisu dev shell for epub output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - libxml2 - html-tidy - xmlstarlet - epubcheck - ebook_tools - libxml2 - html-tidy - xmlstarlet - epubcheck - ebook_tools - epr - sigil - calibre #(suite includes: ebook-viewer) - foliate - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-html = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-latex-pdf = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - source-sans-pro - source-serif-pro - source-code-pro - texlive.combined.scheme-full - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-sqlite = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-i18n = mkShell { - name = "sisu dev shell internationalization, po4a"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - perl534Packages.Po4a - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - }); + apps = forAllSystems (system: { + default = { + type = "app"; + program = "${self.packages.${system}.default}/bin/sisu"; + }; + }); + devShells = forAllSystems (system: let + pkgs = nixpkgsFor.${system}; + shellHook = '' + #${pkgs.nix}/bin/nix build ".#" --print-build-logs; + nix build ".#" --print-build-logs; + echo "" + sisu -v + ''; + in + with pkgs; { + default = mkShell { + name = "sisu dev base shell"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + jq + git + ]; + inherit shellHook; + }; + rsh-epub = mkShell { + name = "sisu dev shell for epub output"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + epr + sigil + calibre #(suite includes: ebook-viewer) + foliate + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-html = mkShell { + name = "sisu dev shell for html output"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-latex-pdf = mkShell { + name = "sisu dev shell for latex & pdf output"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + source-sans-pro + source-serif-pro + source-code-pro + texlive.combined.scheme-full + # texliveFull # texliveTeTeX + noto-fonts + noto-fonts-cjk-sans + takao + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-comprehensive-shell = mkShell { + name = "comprehensive sisu dev shell (for epub & latex & pdf output)"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + openssl + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + epr + sigil + calibre #(suite includes: ebook-viewer) + foliate + validatePkgConfig + jq + source-sans-pro + source-serif-pro + source-code-pro + texlive.combined.scheme-full + # texliveFull # texliveTeTeX + noto-fonts + noto-fonts-cjk-sans + takao + validatePkgConfig + jq + git + ]; + inherit shellHook; + }; + rsh-sqlite = mkShell { + name = "sisu dev shell for sqlite3 output"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-i18n = mkShell { + name = "sisu dev shell internationalization, po4a"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + perl538Packages.Po4a + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + #default = import ./shell.nix { inherit pkgs; }; + }); }; } diff --git a/lib/sisu.rb b/lib/sisu.rb index cf56590d..4729cb51 100644 --- a/lib/sisu.rb +++ b/lib/sisu.rb @@ -9,7 +9,7 @@ # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_libs require_relative 'sisu/hub' # sisu/hub.rb require_relative 'sisu/se' # sisu/se.rb diff --git a/lib/sisu/air.rb b/lib/sisu/air.rb index c8c48dc2..c87d6dca 100644 --- a/lib/sisu/air.rb +++ b/lib/sisu/air.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Air require_relative 'se_hub_particulars' # se_hub_particulars.rb class Source diff --git a/lib/sisu/ao.rb b/lib/sisu/ao.rb index 46e43a34..d5b31150 100644 --- a/lib/sisu/ao.rb +++ b/lib/sisu/ao.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/ao_appendices.rb b/lib/sisu/ao_appendices.rb index 8c3047fb..9f139327 100644 --- a/lib/sisu/ao_appendices.rb +++ b/lib/sisu/ao_appendices.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Appendices class Glossary def initialize(md,data) diff --git a/lib/sisu/ao_character_check.rb b/lib/sisu/ao_character_check.rb index 56754abe..56083814 100644 --- a/lib/sisu/ao_character_check.rb +++ b/lib/sisu/ao_character_check.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_CharacterCheck class Check def initialize(data) diff --git a/lib/sisu/ao_composite.rb b/lib/sisu/ao_composite.rb index 51f561ea..6a2e8914 100644 --- a/lib/sisu/ao_composite.rb +++ b/lib/sisu/ao_composite.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Assemble require_relative 'se' # se.rb require_relative 'utils_composite' # utils_composite.rb diff --git a/lib/sisu/ao_doc_objects.rb b/lib/sisu/ao_doc_objects.rb index 0cf52df9..c5a8d951 100644 --- a/lib/sisu/ao_doc_objects.rb +++ b/lib/sisu/ao_doc_objects.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_DocumentStructure class Extract def extract(h,o) diff --git a/lib/sisu/ao_doc_str.rb b/lib/sisu/ao_doc_str.rb index 9a46cebf..2b926f7a 100644 --- a/lib/sisu/ao_doc_str.rb +++ b/lib/sisu/ao_doc_str.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_DocumentStructureExtract require_relative 'ao_persist' # ao_persist.rb class Instantiate < SiSU_Param::Parameters::Instructions diff --git a/lib/sisu/ao_endnotes.rb b/lib/sisu/ao_endnotes.rb index ad5532da..3f527164 100644 --- a/lib/sisu/ao_endnotes.rb +++ b/lib/sisu/ao_endnotes.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Endnotes class Endnotes def initialize(md,data,endnote_array=nil) diff --git a/lib/sisu/ao_expand_insertions.rb b/lib/sisu/ao_expand_insertions.rb index 2269fea0..9c7e19d7 100644 --- a/lib/sisu/ao_expand_insertions.rb +++ b/lib/sisu/ao_expand_insertions.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Insertions class Insertions def initialize(md,data) diff --git a/lib/sisu/ao_hash_digest.rb b/lib/sisu/ao_hash_digest.rb index fa883da7..739517eb 100644 --- a/lib/sisu/ao_hash_digest.rb +++ b/lib/sisu/ao_hash_digest.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Hash require_relative 'shared_markup_alt.rb' #shared_markup_alt.rb class ObjectDigest @@ -77,7 +75,7 @@ module SiSU_AO_Hash if (t_o.of !=:structure \ && t_o.of !=:comment \ && t_o.of !=:layout) \ - && t_o.ocn.is_a?(Fixnum) + && t_o.ocn.is_a?(Integer) case sha_ when :sha512 for hash_class in [ Digest::SHA512 ] diff --git a/lib/sisu/ao_idx.rb b/lib/sisu/ao_idx.rb index a8a36961..0c7b8eaa 100644 --- a/lib/sisu/ao_idx.rb +++ b/lib/sisu/ao_idx.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_BookIndex class BookIndex def initialize(md,data,env=nil) diff --git a/lib/sisu/ao_images.rb b/lib/sisu/ao_images.rb index 66448e16..34e05d02 100644 --- a/lib/sisu/ao_images.rb +++ b/lib/sisu/ao_images.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Images class Images begin diff --git a/lib/sisu/ao_metadata.rb b/lib/sisu/ao_metadata.rb index b88054c5..3bd7baa1 100644 --- a/lib/sisu/ao_metadata.rb +++ b/lib/sisu/ao_metadata.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Metadata class Metadata def initialize(md,metad) diff --git a/lib/sisu/ao_misc_arrange.rb b/lib/sisu/ao_misc_arrange.rb index 0501d13a..c03761f2 100644 --- a/lib/sisu/ao_misc_arrange.rb +++ b/lib/sisu/ao_misc_arrange.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_MiscArrangeText class SI def initialize(md,data) @@ -177,11 +175,12 @@ module SiSU_AO_MiscArrangeText else para end - para=if para =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m + para=if para.to_s =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m curly_braces(para) else para end + para.to_s end def prepare_text data=@data @@ -193,7 +192,7 @@ module SiSU_AO_MiscArrangeText data[0]=data[0].gsub(/^(SiSU\s*[\d.]*)$/,'% \1'). gsub(/^(sisu-[\d.]+)$/,'% \1') end - data.each.map do |para| + data=data.each.map do |para| para=conditional_headings(para) markup_blocks(para) end.flatten diff --git a/lib/sisu/ao_numbering.rb b/lib/sisu/ao_numbering.rb index 224ee986..11c8cb4c 100644 --- a/lib/sisu/ao_numbering.rb +++ b/lib/sisu/ao_numbering.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Numbering class Numbering attr_accessor :obj,:osp,:ocn,:lv,:name,:index,:comment @@ -401,7 +399,7 @@ module SiSU_AO_Numbering when :extract then Mx[:segname_prefix_auto_num_extract] else '_'*dob.lv.to_i #should not occur end - if possible_seg_name =~/^[0-9]+?\.$/m #!~/[.,:-]+/ + if possible_seg_name.to_s =~/^[0-9]+?\.$/m #!~/[.,:-]+/ possible_seg_name=possible_seg_name. gsub(/\.$/,'') end diff --git a/lib/sisu/ao_persist.rb b/lib/sisu/ao_persist.rb index aef0faf4..16eae00a 100644 --- a/lib/sisu/ao_persist.rb +++ b/lib/sisu/ao_persist.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Persist class Persist @@persistance=nil diff --git a/lib/sisu/ao_syntax.rb b/lib/sisu/ao_syntax.rb index b7b6df87..34c6395d 100644 --- a/lib/sisu/ao_syntax.rb +++ b/lib/sisu/ao_syntax.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# abstraction +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_AO_Syntax class Words def initialize(line,md,mkp) @@ -354,7 +352,7 @@ module SiSU_AO_Syntax dob end def bodymarkup(dob) - # << http://www.jus.uio.no/sisu/sisu_markup_table/markup >> + # << https://git.sisudoc.org/sisu-markup >> # See: data/sisu/sample/document_samples_sisu_markup/ ## fontface # *{emphasis}* e{emphasis}e <strong>emphasis</strong> diff --git a/lib/sisu/cgi.rb b/lib/sisu/cgi.rb index 32b2e2d6..2c9af8cb 100644 --- a/lib/sisu/cgi.rb +++ b/lib/sisu/cgi.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# cgi +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_CGI #% database building documents require_relative 'se' # se.rb require_relative 'cgi_pgsql' # cgi_pgsql.rb diff --git a/lib/sisu/cgi_pgsql.rb b/lib/sisu/cgi_pgsql.rb index 1028540f..d1702ad3 100644 --- a/lib/sisu/cgi_pgsql.rb +++ b/lib/sisu/cgi_pgsql.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# cgi +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_CGI_PgSQL #% database building documents require_relative 'se' # se.rb require_relative 'cgi_sql_common' # cgi_sql_common.rb diff --git a/lib/sisu/cgi_sql_common.rb b/lib/sisu/cgi_sql_common.rb index 688e627c..755aff35 100644 --- a/lib/sisu/cgi_sql_common.rb +++ b/lib/sisu/cgi_sql_common.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# cgi +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_CGI_SQL class CGI_Common def initialize(webserv,opt,image_src,dir) @@ -59,8 +57,8 @@ module SiSU_CGI_SQL <<-'WOK_SQL' * 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/ WOK_SQL end def gpl @@ -97,7 +95,6 @@ module SiSU_CGI_SQL 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> * SiSU uses: * Standard SiSU markup syntax, @@ -105,8 +102,8 @@ module SiSU_CGI_SQL * Standard SiSU object citation numbering and system * Homepages: - [http://www.jus.uio.no/sisu] - [http://www.sisudoc.org] + [https://sisudoc.org] + [https://git.sisudoc.org] * Ralph Amissah [ralph@amissah.com] @@ -145,7 +142,7 @@ module SiSU_CGI_SQL <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="generator" href="https://git.sisudoc.org" /> <link rel="shortcut icon" href="#{@image_src}/rb7.ico" /> <link href="../_sisu/css/html.css" rel="stylesheet"> </head> @@ -542,8 +539,8 @@ module SiSU_CGI_SQL <br> #{v.project} is software for document structuring, publishing and search, <br> - <a href="http://www.jus.uio.no/sisu" > - www.jus.uio.no/sisu + <a href="https://sisudoc.org" > + sisudoc.org </a> and <a href="http://www.sisudoc.org" > diff --git a/lib/sisu/cgi_sqlite.rb b/lib/sisu/cgi_sqlite.rb index 139ff2d8..76fee1ec 100644 --- a/lib/sisu/cgi_sqlite.rb +++ b/lib/sisu/cgi_sqlite.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# cgi +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_CGI_SQLite #% database building documents require_relative 'se' # se.rb require_relative 'cgi_sql_common' # cgi_sql_common.rb diff --git a/lib/sisu/conf.rb b/lib/sisu/conf.rb index eb6345f6..76dfb3e6 100644 --- a/lib/sisu/conf.rb +++ b/lib/sisu/conf.rb @@ -2,14 +2,15 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# config +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, +# All Rights Reserved. # # - License: GPL 3 or later: # @@ -28,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -43,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Initialize require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/constants.rb b/lib/sisu/constants.rb index 57cec119..15e02a18 100644 --- a/lib/sisu/constants.rb +++ b/lib/sisu/constants.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> YEAR='2021' Sfx={ txt: '.txt', diff --git a/lib/sisu/css.rb b/lib/sisu/css.rb index ad5433ea..eb72b119 100644 --- a/lib/sisu/css.rb +++ b/lib/sisu/css.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# css +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Style require_relative 'se' # se.rb require_relative 'html_parts' # html_parts.rb diff --git a/lib/sisu/db_columns.rb b/lib/sisu/db_columns.rb index 517a723c..2fd479e3 100644 --- a/lib/sisu/db_columns.rb +++ b/lib/sisu/db_columns.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbColumns require_relative 'se' # se.rb require_relative 'db_sqltxt' # db_sqltxt.rb diff --git a/lib/sisu/db_create.rb b/lib/sisu/db_create.rb index cf04e8e6..2265f0e0 100644 --- a/lib/sisu/db_create.rb +++ b/lib/sisu/db_create.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbCreate require_relative 'db_columns' # db_columns.rb class Create < SiSU_DbColumns::Columns diff --git a/lib/sisu/db_dbi.rb b/lib/sisu/db_dbi.rb index d944cff7..e76e7790 100644 --- a/lib/sisu/db_dbi.rb +++ b/lib/sisu/db_dbi.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbDBI require_relative 'db_columns' # db_columns.rb require_relative 'db_tests' # db_tests.rb diff --git a/lib/sisu/db_drop.rb b/lib/sisu/db_drop.rb index d760e181..b0476952 100644 --- a/lib/sisu/db_drop.rb +++ b/lib/sisu/db_drop.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbDrop require_relative 'utils_response' # utils_response.rb class Drop diff --git a/lib/sisu/db_import.rb b/lib/sisu/db_import.rb index d93558eb..4df73f96 100644 --- a/lib/sisu/db_import.rb +++ b/lib/sisu/db_import.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbImport require_relative 'db_columns' # db_columns.rb require_relative 'db_load_tuple' # db_load_tuple.rb diff --git a/lib/sisu/db_indexes.rb b/lib/sisu/db_indexes.rb index df98859c..c92cea15 100644 --- a/lib/sisu/db_indexes.rb +++ b/lib/sisu/db_indexes.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbIndex class Index # create documents Indexes def initialize(opt,conn='',sql_type) def initialize(opt,conn,file,sql_type) diff --git a/lib/sisu/db_load_tuple.rb b/lib/sisu/db_load_tuple.rb index 628fa4d0..d189906d 100644 --- a/lib/sisu/db_load_tuple.rb +++ b/lib/sisu/db_load_tuple.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbTuple require_relative 'db_columns' # db_columns.rb class LoadDocuments diff --git a/lib/sisu/db_remove.rb b/lib/sisu/db_remove.rb index 21573a50..6e6540d2 100644 --- a/lib/sisu/db_remove.rb +++ b/lib/sisu/db_remove.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbRemove class Remove include SiSU_DbAction diff --git a/lib/sisu/db_select.rb b/lib/sisu/db_select.rb index 5c550320..e0aeca3a 100644 --- a/lib/sisu/db_select.rb +++ b/lib/sisu/db_select.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbAction def db_action(sdb) @sdb=sdb diff --git a/lib/sisu/db_sqltxt.rb b/lib/sisu/db_sqltxt.rb index f5405cb6..c50c6461 100644 --- a/lib/sisu/db_sqltxt.rb +++ b/lib/sisu/db_sqltxt.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbText class Prepare def special_character_escape(str) diff --git a/lib/sisu/db_tests.rb b/lib/sisu/db_tests.rb index 8ca93a50..e6594dc2 100644 --- a/lib/sisu/db_tests.rb +++ b/lib/sisu/db_tests.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DbTests class Test def initialize(info,opt) diff --git a/lib/sisu/dbi.rb b/lib/sisu/dbi.rb index 90bddfdc..4d450744 100644 --- a/lib/sisu/dbi.rb +++ b/lib/sisu/dbi.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DBI #% database building require_relative 'se' # se.rb include SiSU_Env; include SiSU_Screen diff --git a/lib/sisu/dbi_discrete.rb b/lib/sisu/dbi_discrete.rb index 1c55824d..2c561a7a 100644 --- a/lib/sisu/dbi_discrete.rb +++ b/lib/sisu/dbi_discrete.rb @@ -48,8 +48,8 @@ # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DBI_Discrete #% database building require_relative 'se' # se.rb include SiSU_Env; include SiSU_Screen diff --git a/lib/sisu/digests.rb b/lib/sisu/digests.rb index e3b34d74..7a44c5a3 100644 --- a/lib/sisu/digests.rb +++ b/lib/sisu/digests.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# digests +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_DigestView require_relative 'se_hub_particulars' # se_hub_particulars.rb require_relative 'prog_text_translation' # prog_text_translation.rb diff --git a/lib/sisu/dp.rb b/lib/sisu/dp.rb index 68d93001..d7167a3c 100644 --- a/lib/sisu/dp.rb +++ b/lib/sisu/dp.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# param +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Param begin require 'uri' @@ -1006,7 +1004,6 @@ module SiSU_Param @dir_out="#{@env.path.output}/#{@fnb}" @dir_tex=@env.processing_path.tex @dir_lout=@env.processing_path.lout - @@publisher='SiSU http://www.jus.uio.no/sisu' end @txt_path=@txt_path ||= @env.path.output @stmp=%{#{@fns}}[/^(.+?)\..*/m,1] diff --git a/lib/sisu/dp_identify_markup.rb b/lib/sisu/dp_identify_markup.rb index 9216b6bb..3ce0a821 100644 --- a/lib/sisu/dp_identify_markup.rb +++ b/lib/sisu/dp_identify_markup.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# param +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_MarkupType class MarkupIdentify @@version={} diff --git a/lib/sisu/dp_make.rb b/lib/sisu/dp_make.rb index bf26863b..eaccf5d0 100644 --- a/lib/sisu/dp_make.rb +++ b/lib/sisu/dp_make.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# param +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Param_Make class MdMake def initialize(str,opt,env) diff --git a/lib/sisu/embedded.rb b/lib/sisu/embedded.rb index 46530486..8d06593b 100644 --- a/lib/sisu/embedded.rb +++ b/lib/sisu/embedded.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Embedded require_relative 'dp' # dp.rb include SiSU_Param diff --git a/lib/sisu/errors.rb b/lib/sisu/errors.rb index 42e40a2d..b0f8f170 100644 --- a/lib/sisu/errors.rb +++ b/lib/sisu/errors.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Errors require_relative 'se' # se.rb include SiSU_Env; include SiSU_Screen diff --git a/lib/sisu/generic_parts.rb b/lib/sisu/generic_parts.rb index 7d53f34d..d510820a 100644 --- a/lib/sisu/generic_parts.rb +++ b/lib/sisu/generic_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_Generic def the_url def urify(uri) diff --git a/lib/sisu/git.rb b/lib/sisu/git.rb index abd4e326..641e35d6 100644 --- a/lib/sisu/git.rb +++ b/lib/sisu/git.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Git require_relative 'dp' # dp.rb require_relative 'se' # se.rb diff --git a/lib/sisu/html.rb b/lib/sisu/html.rb index 4e95ab7c..930202e1 100644 --- a/lib/sisu/html.rb +++ b/lib/sisu/html.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML begin require 'pstore' diff --git a/lib/sisu/html_concordance.rb b/lib/sisu/html_concordance.rb index 36c3db88..43f86863 100644 --- a/lib/sisu/html_concordance.rb +++ b/lib/sisu/html_concordance.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Concordance require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars @@ -123,7 +121,7 @@ module SiSU_Concordance @data=SiSU_HTML::Source::HTML_Environment.new(particulars).tuned_file_instructions @file=SiSU_Env::FileOp.new(@md) @fnb=@md.fnb - @lex_button=%{<a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" height="44" width="144" valign="center" src="#{@file.path_rel_links.html_seg_2}_sisu/image/sisu.png" alt="SiSU home -->"></a>} + @lex_button=%{<a href="https://git.sisudoc.org/" target="_top"><img border="0" height="44" width="144" valign="center" src="#{@file.path_rel_links.html_seg_2}_sisu/image/sisu.png" alt="SiSU home -->"></a>} @doc_details =<<WOK <table summary="links to text related to this rudimentary index" width="96%" border="0" cellpadding="0" align="center"><tr><td width="2%" align="right"> </td><td width="94%" valign="top" align="justify"><h1 class="small"><a href="#{@md.file.base_filename.html_segtoc}"><b>#{@md.title.full}</b></a></h1><p class="bold">#{@md.author}</p></td></tr></table> WOK @@ -156,7 +154,7 @@ WOK <meta name="Description" content=" SiSU created"> <meta name="keywords" content="word index for #{@md.title.full}"> <meta name="generator" content="SiSU (Linux & Ruby!)"> - <link rel="generator" href="http://www.jus.uio.no/sisu" /> + <link rel="generator" href="https://git.sisudoc.org/" /> <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> #{stylesheet.css_head_seg} </head> diff --git a/lib/sisu/html_format.rb b/lib/sisu/html_format.rb index 1e084fd3..94e367ce 100644 --- a/lib/sisu/html_format.rb +++ b/lib/sisu/html_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Format require_relative 'html_parts' # html_parts.rb class ParagraphNumber diff --git a/lib/sisu/html_harvest.rb b/lib/sisu/html_harvest.rb index 1f679318..78d2a3b8 100644 --- a/lib/sisu/html_harvest.rb +++ b/lib/sisu/html_harvest.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# harvest +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Harvest @@the_idx_topics,@@the_idx_authors={},{} class Source diff --git a/lib/sisu/html_harvest_author_format.rb b/lib/sisu/html_harvest_author_format.rb index 2a20cc58..5c01303b 100644 --- a/lib/sisu/html_harvest_author_format.rb +++ b/lib/sisu/html_harvest_author_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# harvest +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_FormatAuthor class Author def initialize(author_param) diff --git a/lib/sisu/html_harvest_authors.rb b/lib/sisu/html_harvest_authors.rb index ebfa4435..ce100722 100644 --- a/lib/sisu/html_harvest_authors.rb +++ b/lib/sisu/html_harvest_authors.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# harvest +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HarvestAuthors require_relative 'html_harvest_author_format' # html_harvest_author_format.rb require_relative 'html_parts' # html_parts.rb @@ -319,7 +317,7 @@ module SiSU_HarvestAuthors <meta name="dc.title" content= "SiSU metadata harvest, Authors - SiSU 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="#{sv.project} #{sv.version} of #{sv.date_stamp} (n*x and Ruby!)" /> -<link rel="generator" href="http://www.jus.uio.no/sisu/SiSU" /> +<link rel="generator" href="https://git.sisudoc.org/sisu" /> <link href="#{css_path}" rel="stylesheet" > <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> </head> diff --git a/lib/sisu/html_harvest_topics.rb b/lib/sisu/html_harvest_topics.rb index 7c38086c..88e7074f 100644 --- a/lib/sisu/html_harvest_topics.rb +++ b/lib/sisu/html_harvest_topics.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# harvest +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HarvestTopics require_relative 'html_harvest_author_format' # html_harvest_author_format.rb require_relative 'html_parts' # html_parts.rb @@ -685,7 +683,7 @@ module SiSU_HarvestTopics <meta name="dc.title" content= "SiSU metadata harvest, Topics - SiSU 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="#{sv.project} #{sv.version} of #{sv.date_stamp} (n*x and Ruby!)" /> -<link rel="generator" href="http://www.jus.uio.no/sisu/SiSU" /> +<link rel="generator" href="https://git.sisudoc.org/sisu" /> <link href="#{css_path}" rel="stylesheet"> <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> </head> diff --git a/lib/sisu/html_lite_shared.rb b/lib/sisu/html_lite_shared.rb index 42fef151..898a416a 100644 --- a/lib/sisu/html_lite_shared.rb +++ b/lib/sisu/html_lite_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_FormatShared require_relative 'html_parts' # html_parts.rb class CSS_Format diff --git a/lib/sisu/html_manifest.rb b/lib/sisu/html_manifest.rb index 1f0a0fb9..4d757be6 100644 --- a/lib/sisu/html_manifest.rb +++ b/lib/sisu/html_manifest.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Manifest require_relative 'se' # se.rb include SiSU_Env @@ -896,7 +894,7 @@ SiSU manifest: #{@md.title.full} </title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="sourcefile" content="#{@md.fns}" /> -<link rel="generator" href="http://www.jus.uio.no/sisu" /> +<link rel="generator" href="https://git.sisudoc.org/" /> <link rel="shortcut icon" href="#{@f.path_rel_links.html_scroll_css}_sisu/image_sys/rb7.ico" /> #{@stylesheet.css_head} </head> diff --git a/lib/sisu/html_minitoc.rb b/lib/sisu/html_minitoc.rb index bd3ab758..e3a164d6 100644 --- a/lib/sisu/html_minitoc.rb +++ b/lib/sisu/html_minitoc.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_MiniToc require_relative 'html_tune' # html_tune.rb include SiSU_HTML_Tune diff --git a/lib/sisu/html_parts.rb b/lib/sisu/html_parts.rb index 53bbbf08..8a78d1b7 100644 --- a/lib/sisu/html_parts.rb +++ b/lib/sisu/html_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_HTML require_relative 'generic_parts' # generic_parts.rb include SiSU_Parts_Generic @@ -374,14 +372,12 @@ WOK [<a href="http://sisudoc.org/sisu_manual/en/html/sisu/toc.html">Manual</a>] </p> <p> -[<a href="http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary">Source</a>] -[<a href="http://lists.sisudoc.org/listinfo/sisu">List Info (sisu@lists.sisudoc.org)</a>] +[<a href="http://git.sisudoc.org/projects/sisu">Source</a>] </p> <h1>SiSU Markup Samples</h1> <p> -[<a href="http://git.sisudoc.org/gitweb/?p=doc/sisu-markup-samples.git;a=summary">Source</a>] -[<a href="http://sisudoc.org/sisu_markup_samples.html">Output</a>] +[<a href="http://git.sisudoc.org/projects/sisu-markup-samples">Source</a>] </p> <hr /> @@ -393,8 +389,8 @@ WOK <www.sisudoc.org> </a> or - <a href="http://www.jus.uio.no/sisu/" target="_top"> - <www.jus.uio.no/sisu/> + <a href="https://git.sisudoc.org" target="_top"> + <git.sisudoc.org/> </a> software for electronic texts, document collections, books, digital libraries & search, with "atomic search" & text locating system (shared object citation numbering: "<i>ocn</i>"). Outputs include: plaintext, HTML, EPUB, ODT (OpenDocumentText), (XHTML, XML,) LaTeX, PDF, SQL (PostgreSQL and SQLite). diff --git a/lib/sisu/html_persist.rb b/lib/sisu/html_persist.rb index d2f0cb82..a3efa9ba 100644 --- a/lib/sisu/html_persist.rb +++ b/lib/sisu/html_persist.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Persist class Persist @@persist=nil diff --git a/lib/sisu/html_promo.rb b/lib/sisu/html_promo.rb index 73d45824..d41b4a1d 100644 --- a/lib/sisu/html_promo.rb +++ b/lib/sisu/html_promo.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Promo require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/html_scroll.rb b/lib/sisu/html_scroll.rb index c1b59750..367c22cd 100644 --- a/lib/sisu/html_scroll.rb +++ b/lib/sisu/html_scroll.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Scroll require_relative 'html_shared' # html_shared.rb require_relative 'html' # html.rb diff --git a/lib/sisu/html_segments.rb b/lib/sisu/html_segments.rb index 4f3953dc..1acbb5d7 100644 --- a/lib/sisu/html_segments.rb +++ b/lib/sisu/html_segments.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Seg require_relative 'html_shared' # html_shared.rb require_relative 'html' # html.rb diff --git a/lib/sisu/html_shared.rb b/lib/sisu/html_shared.rb index 1cadb563..51a36a28 100644 --- a/lib/sisu/html_shared.rb +++ b/lib/sisu/html_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Shared require_relative 'html_table' # html_table.rb class TableHTML < SiSU_HTML_Table::TableHTML diff --git a/lib/sisu/html_table.rb b/lib/sisu/html_table.rb index f59055c1..a2d82f68 100644 --- a/lib/sisu/html_table.rb +++ b/lib/sisu/html_table.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_HTML_Table require_relative 'xhtml_table' # xhtml_table.rb require_relative 'html_parts' # html_parts.rb diff --git a/lib/sisu/html_tune.rb b/lib/sisu/html_tune.rb index b4b5d9f5..1483f49e 100644 --- a/lib/sisu/html_tune.rb +++ b/lib/sisu/html_tune.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# html +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> require_relative 'dp' # dp.rb module SiSU_HTML_Tune require_relative 'se' # se.rb diff --git a/lib/sisu/hub.rb b/lib/sisu/hub.rb index 2a9d4a01..5392bc0c 100644 --- a/lib/sisu/hub.rb +++ b/lib/sisu/hub.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# hub +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU require_relative 'constants' # constants.rb require_relative 'se' # se.rb diff --git a/lib/sisu/hub_actions.rb b/lib/sisu/hub_actions.rb index 307446ca..a20d1149 100644 --- a/lib/sisu/hub_actions.rb +++ b/lib/sisu/hub_actions.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# hub +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Hub_Actions class HubActions require_relative 'utils_composite' # utils_composite.rb diff --git a/lib/sisu/hub_loop_markup_files.rb b/lib/sisu/hub_loop_markup_files.rb index 4bf5e04d..63b822ca 100644 --- a/lib/sisu/hub_loop_markup_files.rb +++ b/lib/sisu/hub_loop_markup_files.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# hub +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Hub_Loops require_relative 'constants' # constants.rb require_relative 'se' # se.rb diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index a3b70837..8e8aece3 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# hub +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Commandline begin require 'pathname' diff --git a/lib/sisu/i18n.rb b/lib/sisu/i18n.rb index 3b497718..1c67a5a6 100644 --- a/lib/sisu/i18n.rb +++ b/lib/sisu/i18n.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# i18n +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_i18n @@language_table,@@language_list=nil,nil class Languages diff --git a/lib/sisu/json.rb b/lib/sisu/json.rb index 1edef6a3..bacc8644 100644 --- a/lib/sisu/json.rb +++ b/lib/sisu/json.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# json +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_JSON require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/json_format.rb b/lib/sisu/json_format.rb index da8e90ab..7ec26f40 100644 --- a/lib/sisu/json_format.rb +++ b/lib/sisu/json_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# json +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_JSON_Format require_relative 'dp' # dp.rb require_relative 'json_parts' # json_parts.rb diff --git a/lib/sisu/json_parts.rb b/lib/sisu/json_parts.rb index b169aad7..75dcbfc3 100644 --- a/lib/sisu/json_parts.rb +++ b/lib/sisu/json_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# json +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_JSON require_relative 'generic_parts' # generic_parts.rb include SiSU_Parts_Generic diff --git a/lib/sisu/json_persist.rb b/lib/sisu/json_persist.rb index e65cdf46..8e0203fe 100644 --- a/lib/sisu/json_persist.rb +++ b/lib/sisu/json_persist.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# json +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_JSON_Persist class Persist @@persist=nil diff --git a/lib/sisu/json_shared.rb b/lib/sisu/json_shared.rb index ca4c59da..dfab948e 100644 --- a/lib/sisu/json_shared.rb +++ b/lib/sisu/json_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# json +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_JSONutils require_relative 'generic_parts' # generic_parts.rb class Clean @@ -634,7 +632,7 @@ module SiSU_XML_Tags #Format * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org/ --> WOK else @@ -645,7 +643,7 @@ WOK * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org/ --> WOK end diff --git a/lib/sisu/manpage.rb b/lib/sisu/manpage.rb index 7ab45f66..01442357 100644 --- a/lib/sisu/manpage.rb +++ b/lib/sisu/manpage.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# manpage +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Manpage require_relative 'ao' # ao.rb require_relative 'se' # se.rb @@ -173,7 +171,7 @@ GSUB 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://sisudoc.org/> or <https://git.sisudoc.org/> .TP .SH SOURCE <http://git.sisudoc.org/> diff --git a/lib/sisu/manpage_format.rb b/lib/sisu/manpage_format.rb index 8a033a52..bc670abe 100644 --- a/lib/sisu/manpage_format.rb +++ b/lib/sisu/manpage_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# manpage +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_ManpageFormat require_relative 'dp' # dp.rb include SiSU_Param diff --git a/lib/sisu/object_munge.rb b/lib/sisu/object_munge.rb index 1e5cffce..ff44d2f2 100644 --- a/lib/sisu/object_munge.rb +++ b/lib/sisu/object_munge.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# object_munge +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Object_Munge def i_src_o_strip_markup(txtobj) txtobj=txtobj. diff --git a/lib/sisu/prog_text_translation.rb b/lib/sisu/prog_text_translation.rb index bfa96b8a..a8ab9320 100644 --- a/lib/sisu/prog_text_translation.rb +++ b/lib/sisu/prog_text_translation.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# i18n +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Translate require_relative 'se' # se.rb include SiSU_Env; include SiSU_Param diff --git a/lib/sisu/qrcode.rb b/lib/sisu/qrcode.rb index f038f602..669c5068 100644 --- a/lib/sisu/qrcode.rb +++ b/lib/sisu/qrcode.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_QRcode require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/relaxng.rb b/lib/sisu/relaxng.rb index 3283b753..9a184d62 100644 --- a/lib/sisu/relaxng.rb +++ b/lib/sisu/relaxng.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Relaxng require_relative 'se' # se.rb class RelaxNG @@ -89,7 +87,6 @@ module SiSU_Relaxng 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> * SiSU uses: * Standard SiSU markup syntax, @@ -97,8 +94,8 @@ module SiSU_Relaxng * Standard SiSU object citation numbering and system * Homepages: - [http://www.jus.uio.no/sisu] - [http://www.sisudoc.org] + [https://www.sisudoc.org] + [https://git.sisudoc.org] * Ralph Amissah [ralph@amissah.com] diff --git a/lib/sisu/remote.rb b/lib/sisu/remote.rb index 7f72cea6..959be0ae 100644 --- a/lib/sisu/remote.rb +++ b/lib/sisu/remote.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Remote require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/rexml.rb b/lib/sisu/rexml.rb index 9f152e1b..cc948367 100644 --- a/lib/sisu/rexml.rb +++ b/lib/sisu/rexml.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Rexml # load XML file for REXML parsing begin diff --git a/lib/sisu/se.rb b/lib/sisu/se.rb index 7c396854..0f8b8cbe 100644 --- a/lib/sisu/se.rb +++ b/lib/sisu/se.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Env #@@cX=nil require_relative 'constants' # constants.rb diff --git a/lib/sisu/se_cleanoutput.rb b/lib/sisu/se_cleanoutput.rb index 2ee29834..efa30429 100644 --- a/lib/sisu/se_cleanoutput.rb +++ b/lib/sisu/se_cleanoutput.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Clean_Output require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_clear.rb b/lib/sisu/se_clear.rb index 0bf8a0b8..c8689893 100644 --- a/lib/sisu/se_clear.rb +++ b/lib/sisu/se_clear.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Clear require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb @@ -80,7 +78,6 @@ module SiSU_Clear and @md.sfx_src =~/ss[ftsumc]/ @env_out_root=@env.path.output @env_out="#{@env.path.output}/#{@fnb}" - @@publisher='SiSU http://www.jus.uio.no/sisu' @env_pdf="#{@env_out_root}/pdf" end end diff --git a/lib/sisu/se_createsite.rb b/lib/sisu/se_createsite.rb index f998f43d..54cc2696 100644 --- a/lib/sisu/se_createsite.rb +++ b/lib/sisu/se_createsite.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Create_Site require_relative 'constants' # constants.rb require_relative 'html_parts' # html_parts.rb diff --git a/lib/sisu/se_css.rb b/lib/sisu/se_css.rb index 4ea54274..7b89c2bf 100644 --- a/lib/sisu/se_css.rb +++ b/lib/sisu/se_css.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_CSS require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_date.rb b/lib/sisu/se_date.rb index 83a527d6..88a34f5a 100644 --- a/lib/sisu/se_date.rb +++ b/lib/sisu/se_date.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Date require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_db.rb b/lib/sisu/se_db.rb index 16161d6a..ce52ceac 100644 --- a/lib/sisu/se_db.rb +++ b/lib/sisu/se_db.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Db require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb @@ -102,7 +100,7 @@ module SiSU_Info_Db def port #PGPORT ((defined? @rc['db']['postgresql']['port']) \ && ( @rc['db']['postgresql']['port'] =~/\d+/ \ - || @rc['db']['postgresql']['port'].is_a?(Fixnum))) \ + || @rc['db']['postgresql']['port'].is_a?(Integer))) \ ? @rc['db']['postgresql']['port'] : (@defaults[:postgresql_port]) end diff --git a/lib/sisu/se_envcall.rb b/lib/sisu/se_envcall.rb index b93396e5..e7eb9547 100644 --- a/lib/sisu/se_envcall.rb +++ b/lib/sisu/se_envcall.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Env_Call begin require 'singleton' diff --git a/lib/sisu/se_file_op.rb b/lib/sisu/se_file_op.rb index 671da8cc..4c708e0b 100644 --- a/lib/sisu/se_file_op.rb +++ b/lib/sisu/se_file_op.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_File require_relative 'utils' # utils.rb require_relative 'se_info_env' # se_info_env.rb diff --git a/lib/sisu/se_filemap.rb b/lib/sisu/se_filemap.rb index f1ec5200..7e04fad9 100644 --- a/lib/sisu/se_filemap.rb +++ b/lib/sisu/se_filemap.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_File_Map require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_get_init.rb b/lib/sisu/se_get_init.rb index 871aa740..250cf64f 100644 --- a/lib/sisu/se_get_init.rb +++ b/lib/sisu/se_get_init.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Get_Init require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_hub_particulars.rb b/lib/sisu/se_hub_particulars.rb index d32d9215..32e62119 100644 --- a/lib/sisu/se_hub_particulars.rb +++ b/lib/sisu/se_hub_particulars.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Particulars begin require 'singleton' diff --git a/lib/sisu/se_info_env.rb b/lib/sisu/se_info_env.rb index df0b9c95..7b9041d1 100644 --- a/lib/sisu/se_info_env.rb +++ b/lib/sisu/se_info_env.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Env @@current_document=Dir.pwd #nil #'' require_relative 'se_envcall' # se_envcall.rb @@ -1490,10 +1488,10 @@ WOK : "#{md.opt.sisu_data_dir?}/sisu/image" images=%W[bullet_09.png arrow_next_red.png arrow_prev_red.png arrow_up_red.png] images.each do |i| #move to avoid repeated tests - if FileTest.file?("#{src}/#{i}") + if Pathname#exist?("#{src}/#{i}") FileUtils::cp("#{src}/#{i}","#{pth}/#{i}") \ - unless FileTest.file?("#{pth}/#{i}") - else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}]} + unless Pathname#exist?("#{pth}/#{i}") + else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}] [#{src}/#{i}]} end end pth diff --git a/lib/sisu/se_info_port.rb b/lib/sisu/se_info_port.rb index 860d5bf5..49c7cb09 100644 --- a/lib/sisu/se_info_port.rb +++ b/lib/sisu/se_info_port.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Port require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_info_system.rb b/lib/sisu/se_info_system.rb index 4ebacb83..1ce32ba5 100644 --- a/lib/sisu/se_info_system.rb +++ b/lib/sisu/se_info_system.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Sys_Gen require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_load.rb b/lib/sisu/se_load.rb index a81ca29a..be60c719 100644 --- a/lib/sisu/se_load.rb +++ b/lib/sisu/se_load.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Load require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_processing.rb b/lib/sisu/se_processing.rb index 9b96a9da..abd1154d 100644 --- a/lib/sisu/se_processing.rb +++ b/lib/sisu/se_processing.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Processing_Settings require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_programs.rb b/lib/sisu/se_programs.rb index ea696107..9e62cea3 100644 --- a/lib/sisu/se_programs.rb +++ b/lib/sisu/se_programs.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Sys_Call begin require 'singleton' @@ -304,6 +302,7 @@ module SiSU_Sys_Call when /pdflatex/ "#{texpdf} -interaction=#{mode} #{@input} #{tell}\n" end + #puts texpdf_cmd system(texpdf_cmd) else STDERR.puts "\t*WARN* none of the following programs are installed: #{@texpdf}" end diff --git a/lib/sisu/se_remotes.rb b/lib/sisu/se_remotes.rb index d12ebd8d..8349712f 100644 --- a/lib/sisu/se_remotes.rb +++ b/lib/sisu/se_remotes.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Remote_Host require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb diff --git a/lib/sisu/se_standardise_lang.rb b/lib/sisu/se_standardise_lang.rb index c8128262..0020f97f 100644 --- a/lib/sisu/se_standardise_lang.rb +++ b/lib/sisu/se_standardise_lang.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Standardise_Lang @@lang_info=nil class StandardiseLanguage diff --git a/lib/sisu/se_version.rb b/lib/sisu/se_version.rb index d06120f2..a83379f6 100644 --- a/lib/sisu/se_version.rb +++ b/lib/sisu/se_version.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# se +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Info_Version require_relative 'constants' # constants.rb require_relative 'utils' # utils.rb @@ -165,7 +163,7 @@ module SiSU_Info_About sisu --txt --html --epub --odt --pdf --sqlite --manpage --texinfo --concordance --qrcode --verbose sisu.ssm cd - See output produced, or see man pages: man sisu - <http://www.sisudoc.org/> <http://www.jus.uio.no/sisu/> + <https://sisudoc.org> <https://git.sisudoc.org/sisu> WOK end end diff --git a/lib/sisu/shared_images.rb b/lib/sisu/shared_images.rb index e2eecdda..bccf77bd 100644 --- a/lib/sisu/shared_images.rb +++ b/lib/sisu/shared_images.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Images require_relative 'se_hub_particulars' # se_hub_particulars.rb class Source @@ -73,19 +71,21 @@ module SiSU_Images def images_set @pwd=(/(\S+?)(?:\/(?:#{Px[:lng_lst_rgx]}))?$/).match(Dir.pwd)[1] def copy(src_path,dest_path,images=nil) - if FileTest.directory?(src_path) + require 'pathname' + src_path = Pathname.new(src_path) + dest_path = Pathname.new(dest_path) + if src_path.directory? FileUtils::cd(src_path) unless images images=Dir.glob("*.{png,jpg,gif,ico}") end - unless FileTest.directory?(dest_path) \ - or FileTest.symlink?(dest_path) + unless dest_path.directory? FileUtils::mkdir_p(dest_path) FileUtils::chmod(0755,dest_path) end if images.length > 0 images.each do |i| - if FileTest.file?(i) + if Pathname#exist?(i) FileUtils::cp_r(i,"#{dest_path}/#{i}") FileUtils::chmod(0644,"#{dest_path}/#{i}") else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}]} diff --git a/lib/sisu/shared_markup_alt.rb b/lib/sisu/shared_markup_alt.rb index 1cbc7dd9..871ef21b 100644 --- a/lib/sisu/shared_markup_alt.rb +++ b/lib/sisu/shared_markup_alt.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TextRepresentation class Alter def initialize(x) diff --git a/lib/sisu/shared_metadata.rb b/lib/sisu/shared_metadata.rb index b5c01982..fce4d434 100644 --- a/lib/sisu/shared_metadata.rb +++ b/lib/sisu/shared_metadata.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Metadata require_relative 'xml_parts' # xml_parts.rb require_relative 'xml_shared' # xml_shared.rb @@ -881,7 +879,7 @@ WOK #{Ax[:tab]*2}#{inf_xml} #{Ax[:tab]}</#{@attrib}> #{Ax[:tab]}</metadata> - <br /> + <br /> WOK end def metadata diff --git a/lib/sisu/shared_sem.rb b/lib/sisu/shared_sem.rb index d33252af..931794d9 100644 --- a/lib/sisu/shared_sem.rb +++ b/lib/sisu/shared_sem.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# shared +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Sem require_relative 'dp' # dp.rb class Tags diff --git a/lib/sisu/sisu_thor_lib.rb b/lib/sisu/sisu_thor_lib.rb index b27601a0..f776c140 100644 --- a/lib/sisu/sisu_thor_lib.rb +++ b/lib/sisu/sisu_thor_lib.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sisu build +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -36,8 +36,6 @@ # <https://www.fsf.org/licensing/licenses/gpl.html> # <https://www.gnu.org/licenses/gpl.html> # -# <https://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> -# # - SiSU uses: # - Standard SiSU markup syntax, # - Standard SiSU meta-markup syntax, and the diff --git a/lib/sisu/sitemaps.rb b/lib/sisu/sitemaps.rb index 8bb20bf6..391955e1 100644 --- a/lib/sisu/sitemaps.rb +++ b/lib/sisu/sitemaps.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Sitemaps require_relative 'dp' # dp.rb include SiSU_Param @@ -216,5 +214,5 @@ __END__ * Ruby version: ruby 1.8.5 (2006-08-25) [i486-linux] * * Last Generated on: Sat Nov 18 15:28:08 +0000 2006 - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org --> diff --git a/lib/sisu/src_kdissert_share.rb b/lib/sisu/src_kdissert_share.rb index 144ca483..cb179cae 100644 --- a/lib/sisu/src_kdissert_share.rb +++ b/lib/sisu/src_kdissert_share.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_KdiSource require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/src_po4a_share.rb b/lib/sisu/src_po4a_share.rb index 5adb94f0..8f7b04f7 100644 --- a/lib/sisu/src_po4a_share.rb +++ b/lib/sisu/src_po4a_share.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Languages_Selected require_relative 'utils_response' # utils_response.rb def language diff --git a/lib/sisu/src_po4a_shelf.rb b/lib/sisu/src_po4a_shelf.rb index a3136dff..38ddc84c 100644 --- a/lib/sisu/src_po4a_shelf.rb +++ b/lib/sisu/src_po4a_shelf.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Po4a require_relative 'ao' # ao.rb require_relative 'se' # se.rb @@ -948,15 +946,15 @@ GSUB end end if ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn == data_trn[t].ocn) @m_s,@m_t=s,t elsif ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn != data_trn[t].ocn) p '--- OCN ---' p 'mis-match' diff --git a/lib/sisu/src_po4a_shelf_set.rb b/lib/sisu/src_po4a_shelf_set.rb index 90cc280b..a6038c76 100644 --- a/lib/sisu/src_po4a_shelf_set.rb +++ b/lib/sisu/src_po4a_shelf_set.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Po4aUtils class Wrap def initialize(md,orig='',trans='',is_desc='',n_char_max=76,n_indent=0,n_hang=nil) diff --git a/lib/sisu/src_po4a_sst_ao_sst.rb b/lib/sisu/src_po4a_sst_ao_sst.rb index 0079ef5a..4dd84b9b 100644 --- a/lib/sisu/src_po4a_sst_ao_sst.rb +++ b/lib/sisu/src_po4a_sst_ao_sst.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_SStm_AO_SStm require_relative 'ao' # ao.rb require_relative 'se' # se.rb @@ -703,15 +701,15 @@ GSUB end end if ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn == data_trn[t].ocn) @m_s,@m_t=s,t elsif ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn != data_trn[t].ocn) p '--- OCN ---' p 'mis-match' diff --git a/lib/sisu/src_po4a_sst_ao_sst_set.rb b/lib/sisu/src_po4a_sst_ao_sst_set.rb index 7a59ad3f..4a93452d 100644 --- a/lib/sisu/src_po4a_sst_ao_sst_set.rb +++ b/lib/sisu/src_po4a_sst_ao_sst_set.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Po4aUtils class Wrap def initialize(md,orig='',trans='',n_char_max=76,n_indent=0,n_hang=nil) diff --git a/lib/sisu/src_po4a_sstm.rb b/lib/sisu/src_po4a_sstm.rb index 063283ef..fe33743f 100644 --- a/lib/sisu/src_po4a_sstm.rb +++ b/lib/sisu/src_po4a_sstm.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Markup require_relative 'src_shared' # src_shared.rb include SiSU_Source diff --git a/lib/sisu/src_shared.rb b/lib/sisu/src_shared.rb index b1b4e37f..fea6e61a 100644 --- a/lib/sisu/src_shared.rb +++ b/lib/sisu/src_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Source include SiSU_Env class SiSUpodSource diff --git a/lib/sisu/src_sisupod_make.rb b/lib/sisu/src_sisupod_make.rb index c558a3b8..0f1f57fb 100644 --- a/lib/sisu/src_sisupod_make.rb +++ b/lib/sisu/src_sisupod_make.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Doc require_relative 'src_shared' # scr_shared.rb include SiSU_Source diff --git a/lib/sisu/src_sisupod_sstm.rb b/lib/sisu/src_sisupod_sstm.rb index a3cacbd9..ee22984d 100644 --- a/lib/sisu/src_sisupod_sstm.rb +++ b/lib/sisu/src_sisupod_sstm.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# src +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Markup require_relative 'src_shared' # src_shared.rb include SiSU_Source diff --git a/lib/sisu/sst_convert_markup.rb b/lib/sisu/sst_convert_markup.rb index b839bf26..9350a215 100644 --- a/lib/sisu/sst_convert_markup.rb +++ b/lib/sisu/sst_convert_markup.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sst +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Modify require_relative 'sst_identify_markup' # sst_identify_markup.rb require_relative 'sst_from_xml' # sst_from_xml.rb diff --git a/lib/sisu/sst_do_inline_footnotes.rb b/lib/sisu/sst_do_inline_footnotes.rb index b5610375..f55dd45d 100644 --- a/lib/sisu/sst_do_inline_footnotes.rb +++ b/lib/sisu/sst_do_inline_footnotes.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sst +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_ConvertFootnotes require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/sst_from_xml.rb b/lib/sisu/sst_from_xml.rb index d699b2fa..04af18b2 100644 --- a/lib/sisu/sst_from_xml.rb +++ b/lib/sisu/sst_from_xml.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sst +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_sstFromXML require_relative 'se' # se.rb class Convert diff --git a/lib/sisu/sst_identify_markup.rb b/lib/sisu/sst_identify_markup.rb index 77b0daad..f51a61ee 100644 --- a/lib/sisu/sst_identify_markup.rb +++ b/lib/sisu/sst_identify_markup.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sst +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Markup class MarkupInform attr_accessor :version diff --git a/lib/sisu/sst_to_s_xml_sax.rb b/lib/sisu/sst_to_s_xml_sax.rb index 796d5f4b..08921ace 100644 --- a/lib/sisu/sst_to_s_xml_sax.rb +++ b/lib/sisu/sst_to_s_xml_sax.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# sst +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_SimpleXML_ModelSax require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/termsheet.rb b/lib/sisu/termsheet.rb index 80a182e6..90e37624 100644 --- a/lib/sisu/termsheet.rb +++ b/lib/sisu/termsheet.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> require_relative 'se' # se.rb require_relative 'dp' # dp.rb include SiSU_Param diff --git a/lib/sisu/texinfo.rb b/lib/sisu/texinfo.rb index e99fb84f..985ddf0c 100644 --- a/lib/sisu/texinfo.rb +++ b/lib/sisu/texinfo.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# texinfo +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TexInfo require_relative 'html' # html.rb require_relative 'dp' # dp.rb @@ -345,7 +343,7 @@ module SiSU_TexInfo else if dob.is==:para \ && (dob.obj !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/) - dob.obj=dob.ocn.is_a?(Fixnum) \ + dob.obj=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}\n\n" : "#{dob.obj}\n\n" end end diff --git a/lib/sisu/texinfo_format.rb b/lib/sisu/texinfo_format.rb index e33086fc..d9ff1f40 100644 --- a/lib/sisu/texinfo_format.rb +++ b/lib/sisu/texinfo_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# texinfo +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TexInfoFormat @@table_pg_break_counter=1 require_relative 'dp' # dp.rb @@ -271,7 +269,7 @@ WOK def clean(dob) if dob.is==:heading \ and dob.obj !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/ - dob.obj=dob.ocn.is_a?(Fixnum) \ + dob.obj=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj end dob.obj=dob.obj.gsub(/\n/m,' '). @@ -514,7 +512,7 @@ WOK def clean(dob,txt) if dob.is==:heading \ and txt !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/ - txt=dob.ocn.is_a?(Fixnum) \ + txt=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj end txt.strip diff --git a/lib/sisu/texpdf.rb b/lib/sisu/texpdf.rb index b8d58523..e6f04f1c 100644 --- a/lib/sisu/texpdf.rb +++ b/lib/sisu/texpdf.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# texpdf +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TeX begin require 'pstore' @@ -68,7 +66,7 @@ module SiSU_TeX @@tabular="{tabular}" @@column_instruct=@@squigle_close=@@tex_line_mode=@@tex_word_mode=@@line_mode='' @@tex_debug_counter=@@table_pagebreak_counter=@@tex_footnote_call_counter=@@tex_table_flag=@@tex_counter=@@tex_column=@@tex_columns=@@tex_columns=@@counting=0 - @@tex_pattern_margin_number=/\\\\begin\\\{tiny\\\}\\\\hspace\\\{0mm\\\}\\\\end\\\{tiny\\\}\\\{\\\\marginpar.+?\s+/ + @@tex_pattern_margin_number=/\\\\ocn\\\{[0-9]+\\\}/ @@n=@@tableheader=@@rights=nil @@date ||=SiSU_Env::InfoDate.new class Source @@ -739,65 +737,6 @@ module SiSU_TeX end dob end - def tex_box_listings - <<-WOK -\\definecolor{listinggray}{gray}{0.9} -\\definecolor{lbcolor}{rgb}{0.9,0.9,0.9} -\\lstset{ - backgroundcolor=\\color{lbcolor}, - tabsize=4, - rulecolor=, - language=, - basicstyle=\\scriptsize, - upquote=true, - aboveskip={1.5\\baselineskip}, - columns=fixed, - showstringspaces=false, - extendedchars=true, - breaklines=true, - prebreak = \\raisebox{0ex}[0ex][0ex]{\\ensuremath{\\hookleftarrow}}, - frame=single, - showtabs=false, - showspaces=false, - showstringspaces=false, - identifierstyle=\\ttfamily, - keywordstyle=\\color[rgb]{0,0,1}, - commentstyle=\\color[rgb]{0.133,0.545,0.133}, - stringstyle=\\color[rgb]{0.627,0.126,0.941}, -} - WOK - end - def tex_box_boites - <<-WOK -\\def\\codeblockboitebox{% - \\def\\bkvz@before@breakbox{\\ifhmode\\par\\fi\\vskip\\breakboxskip\\relax}% - \\def\\bkvz@set@linewidth{\\advance\\linewidth -2\\fboxrule - \\advance\\linewidth -2\\fboxsep} % - \\def\\bk@line{\\hbox to \\linewidth{% - \\ifbkcount\\smash{\\llap{\\the\\bk@lcnt\\ }}\\fi - \\psframebox*[framesep=0pt,linewidth=0pt]{% - \\vrule\\@width\\fboxrule \\hskip\\fboxsep - \\box\\bk@bxa - \\hskip\\fboxsep \\vrule\\@width\\fboxrule - }% - }}% - %\\def\\bkvz@top{\\hrule\\@height\\fboxrule} - \\def\\bkvz@top{\\hrule height .6pt}% - \\def\\bkvz@bottom{\\hrule\\@height\\fboxrule}% - \\breakbox} -\\def\\endcodeblockboitebox{\\endbreakbox} - WOK - end - def tex_codeblock - codeblock_box=if @codeblock_box=='listings' - tex_box_listings - elsif @codeblock_box=='boites' - tex_box_boites - else - tex_box_boites - end - codeblock_box - end def markup(data) @tex_file=[] home=the_text.txt_home.gsub(/#{Mx[:br_line]}|#{Mx[:br_nl]}|#{Mx[:br_paragraph]}|\\\\/,' - ') #no line splitting in heading neither html nor latex @@ -816,31 +755,6 @@ module SiSU_TeX end @tex_file << <<-WOK #{@tex_ml.header}#{@tex_ml.footer} -\\tolerance=300 -\\clubpenalty=300 -\\widowpenalty=300 -\\makeatother -\\makeatother -\\chardef\\txtbullet="2022 -\\chardef\\tilde="7E -%\\chardef\\asterisk="2A -\\def\\asterisk{{\\rm \\char42} } -\\definecolor{Light}{gray}{.92} -\\newcommand{\\Codeblock}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} -\\newcommand{\\monosp}[1]{\\normaltext\\ttfamily\\texbackslash#1} -\\newcommand{\\parasep}{\\\\ \\begin{center}*\\hspace{2em}*\\hspace{2em}*\\end{center} \\\\} -\\newcommand{\\hardspace}{{~}} -%\\newcommand{\\hardspace}{\\hspace{.5em}} -\\newcommand{\\caret}{{\\^{~}}} -\\newcommand{\\pipe}{{\\textbar}} -\\newcommand{\\curlyopen}{\{} -\\newcommand{\\curlyclose}{\}} -\\newcommand{\\lt}{{\UseTextSymbol{OML}{<}}} -\\newcommand{\\gt}{{\UseTextSymbol{OML}{>}}} -\\newcommand{\\slash}{{/}} -\\newcommand{\\underscore}{\\_} -\\newcommand{\\exclaim}{\\Verbatim{!}} -#{tex_codeblock} % (tilde hash amp affected by http) % \\sloppy \\begin{document} @@ -898,8 +812,12 @@ module SiSU_TeX x={} if (@make.build.toc?) toc=<<-WOK +\\clearpage +\\pagenumbering{roman} +\\setcounter{page}{1} \\renewcommand{\\contentsname}{#{@translate.contents}} \\tableofcontents +\\clearpage WOK toc_pb={ l: @tex_ml.newpage(:landscape), p: @tex_ml.newpage(:portrait) } else @@ -912,6 +830,9 @@ module SiSU_TeX \\pagestyle{fancy} #{toc}#{toc_pb[:l]} \\pagenumbering{arabic} +\\clearpage +\\setcounter{page}{2} +\\clearpage #{@tex_ml.paraskip_normal} #{@tex_ml.newpage(:landscape)} WOK @@ -923,6 +844,9 @@ module SiSU_TeX #{toc}#{toc_pb[:p]} #{@tex_ml.newpage(:portrait)} \\pagenumbering{arabic} +\\clearpage +\\setcounter{page}{2} +\\clearpage #{@tex_ml.paraskip_normal} #{@tex_ml.newpage(:portrait)} WOK @@ -988,7 +912,7 @@ module SiSU_TeX # tags=tags +"\\hspace{0mm}\\hypertarget{#{t}}{\\hspace{0mm}}" # end #end - "\\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#{dob.ocn}}{#{dob.ocn}}#{tags}\\end{tiny}}}" #ocn object citation numbering + "\\ocn{#{dob.ocn}}" #ocn object citation numbering else '' end dob.tmp = paranumber_display + dob.tmp diff --git a/lib/sisu/texpdf_format.rb b/lib/sisu/texpdf_format.rb index 569f4187..8c520731 100644 --- a/lib/sisu/texpdf_format.rb +++ b/lib/sisu/texpdf_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# texpdf +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TeX_Pdf require_relative 'texpdf_parts' # texpdf_parts.rb @@table_pg_break_counter=1 @@ -77,7 +75,7 @@ module SiSU_TeX_Pdf include SiSU_Parts_TeXpdf attr_accessor :string,:string1,:orientation,:url,:dir,:tex @@sys=SiSU_Env::SystemCall.new - @@tex_pattern_margin_number=/\\begin\{tiny\}\\hspace\{0mm\}\\end\{tiny\}\{\\marginpar.+?\}\}\}/ + @@tex_pattern_margin_number=/\\ocn\{[0-9]+\}/ @@tableheader={ 'a4' => { p: 0, l: 0 }, 'a5' => { p: 0, l: 0 }, @@ -103,7 +101,7 @@ module SiSU_TeX_Pdf show_ocn=(@make.build.ocn?) \ ? dob.ocn : '' - "\\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#{dob.ocn}}{#{show_ocn}}\\end{tiny}}}" #ocn object citation numbering + "\\ocn{#{dob.ocn}}" #ocn object citation numbering end def table_special_characters(r) r=r.gsub(/#{Mx[:tc_p]}/mu,'&'). @@ -275,7 +273,7 @@ module SiSU_TeX_Pdf dob.tmp=dob.tmp.gsub(/\\begin\{(bfseries|itshape)\}(.+?)\\end\{\1\}/m,'\2'). gsub(/#{Mx[:url_o]}|#{Mx[:url_c]}/,'') cont_ln=dob.tmp.dup - cont_ln=cont_ln.gsub(/\\begin\{(monosp)\}(.+?)\\end\{\1\}/m,'\2'). + cont_ln=cont_ln.gsub(/\\ocn\{[0-9]*\}/m,''). gsub(@@tex_pattern_margin_number,''). gsub(/#{Tex[:backslash]*2}/,"#{Tex[:backslash]*4}"). # added w42 gsub(/\\footnote\[\d+\]\{%.+?\\end\{scriptsize\}\s*\}/m,''). #arbitrary bugfix, revisit should not be necessary, eg. wta.1994 2004w22 @@ -349,9 +347,9 @@ module SiSU_TeX_Pdf when /9/ then '8.0em' else '-1.0em' end - "\\begin{Bullet}{#{indent}}$\\txtbullet$\\hspace{\\enspace}#{@dob.tmp}\\end{Bullet}" + "\\begin{Bullet}{#{indent}}#{@dob.tmp}\\end{Bullet}" else - "\\begin{Bullet}{-5mm}$\\txtbullet$\\hspace{\\enspace}#{@dob.tmp}\\end{Bullet}" + "\\begin{Bullet}{-5mm}#{@dob.tmp}\\end{Bullet}" end blt end @@ -720,52 +718,72 @@ module SiSU_TeX_Pdf case @tex2pdf when /xe/ if @md.opt.lng =~/(?:zh|ja|ko)/ - <<-WOK -\\usepackage{ucs, fontspec, xltxtra, xunicode, xeCJK} -\\setmainCJKlanguage{#{tex_head_lang[:mainlang]}} -\\setCJKmainfont{#{texpdf_fontface_cjk}} -\\XeTeXlinebreaklocale "#{tex_head_lang[:mainlang]}" -\\XeTeXlinebreakskip = 0pt plus 1pt -\\setotherlanguage{#{tex_head_lang[:otherlang]}} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} - WOK + if @md.opt.lng =~/zh/ + <<-WOK +\\setCJKmainfont{Noto} +\\setCJKmainfont{Noto Sans CJK TC} +\\setCJKsansfont{Noto Sans CJK TC} +\\setCJKmonofont{Noto Sans Mono CJK TC} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + elsif @md.opt.lng =~/ja/ + <<-WOK +\\setCJKmainfont{TakaoMincho} +\\setCJKsansfont{TakaoMincho Sans} +\\setCJKmonofont{TakaoMincho Sans Mono CJK JP} +%\\setCJKmainfont{Noto Serif CJK JP} +%\\setCJKsansfont{Noto Sans CJK JP} +%\\setCJKmonofont{Noto Sans Mono CJK JP} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + elsif @md.opt.lng =~/ko/ + <<-WOK +\\setCJKmainfont{Noto} +\\setCJKmainfont{Noto Sans CJK KR} +\\setCJKsansfont{Noto Sans CJK KR} +\\setCJKmonofont{Noto Sans Mono CJK KR} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + else puts "lang error" + end elsif (tex_head_lang[:mainlang] == "english" \ && (tex_head_lang[:otherlang] == "english" \ || tex_head_lang[:otherlang] == "" \ || tex_head_lang[:otherlang].length == 0)) <<-WOK -\\usepackage{polyglossia, ucs, fontspec, xltxtra, xunicode} -\\setmainlanguage{#{tex_head_lang[:mainlang]}} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} -% \\setsansfont{#{texpdf_fontface_sans}} -% \\setromanfont{#{texpdf_fontface_serif}} +% \\setmainlanguage{#{tex_head_lang[:mainlang]}} +% \\setmainfont{#{texpdf_fontface}} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} WOK else <<-WOK -\\usepackage{polyglossia, ucs, fontspec, xltxtra, xunicode} -\\setmainlanguage{#{tex_head_lang[:mainlang]}} -\\setotherlanguage{english} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} -% \\setsansfont{#{texpdf_fontface_sans}} -% \\setromanfont{#{texpdf_fontface_serif}} +% \\setmainlanguage{#{tex_head_lang[:mainlang]}} +% \\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface}} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} WOK end when /pdf/ - if @md.file_encoding =~ /iso-?8859/i #% iso8859 - <<-WOK -% \\usepackage[latin1]{inputenc} -\\usepackage{fontspec} - WOK - else #% utf-8 assumed <<-WOK -\\usepackage{babel} +\\usepackage[#{tex_head_lang[:mainlang]},#{tex_head_lang[:otherlang]}]{babel} \\usepackage{ucs} -\\usepackage[utf8x]{inputenc} - WOK - end +\\usepackage[utf8x]{inputenc} % + WOK end end def tex_head_info @@ -778,36 +796,336 @@ module SiSU_TeX_Pdf %% #{rubyv} %% LaTeX output %% #{lastdone} -%% SiSU http://www.jus.uio.no/sisu +%% SiSU https://git.sisudoc.org/ + WOK + end + def tex_head_paper_characters + if @md.opt.lng =~/(?:zh|ja|ko)/ + <<-WOK +\\renewcommand*\\familydefault{\\sfdefault} +\\usepackage[UTF8, fontset=TakaoMincho]{ctex} +%\\usepackage[UTF8, fontset=Takao明朝]{ctex} +%\\usepackage[UTF8, fontset=none]{ctex} +\\usepackage{ctexhook} +\\usepackage[T1]{fontenc} +\\usepackage{newunicodechar} +\\usepackage[utf8]{inputenc} + WOK + else + <<-WOK +% \\usepackage[scaled]{dejavu} +\\renewcommand*\\familydefault{\\sfdefault} +%\\usepackage{inconsolata} +\\usepackage[T1]{fontenc} +\\usepackage{newunicodechar} +\\usepackage[utf8]{inputenc} + WOK + end + end + def tex_head_paper_shared + <<-WOK +\\usepackage{alltt} +\\usepackage[ + unicode=true, + pdfusetitle, + pdfsubject={}, + pdfkeywords={}, % keywords list {} {} {}, + pdftoolbar=true, + pdfmenubar=true, + pdfwindowui=true, + pdffitwindow=false, % window fit to page when opened + pdfstartview={FitH}, % fits the width of the page to the window + pdfnewwindow=true, % links in new window + pdfborder={0 0 1}, + plainpages=false, % was true + bookmarks=true, + bookmarksopen=false, + bookmarksnumbered=false, + backref=false, + breaklinks=false, + colorlinks=true, + urlcolor=black, + filecolor=black, + linkcolor=black, + citecolor=black, % links_mono_or_color_set +]{hyperref} +\\PassOptionsToPackage{hyphens}{url}\\usepackage{hyperref} +\\usepackage[usenames]{color} +\\definecolor{myblack}{rgb}{0,0,0} +\\definecolor{myred}{rgb}{0.75,0,0} +\\definecolor{mygreen}{rgb}{0,0.5,0} +\\definecolor{myblue}{rgb}{0,0,0.5} +\\definecolor{mywhite}{rgb}{1,1,1} +\\usepackage{textcomp} +\\usepackage[parfill]{parskip} +\\usepackage[normalem]{ulem} +\\usepackage{soul} +\\usepackage{longtable} +\\usepackage{graphicx} +\\usepackage[tc]{titlepic} +\\usepackage{amssymb} +\\usepackage{amsmath} +\\usepackage[cm]{sfmath} +\\usepackage{underscore} +\\usepackage{listings} +\\setcounter{secnumdepth}{2} +\\setcounter{tocdepth}{4} +\\usepackage{bookmark} +\\usepackage{microtype} +\\makeatletter +\\usepackage[multiple,ragged]{footmisc} +\\setlength\\footnotemargin{12pt} +\\usepackage[para]{manyfoot} +\\DeclareNewFootnote{A} +\\makeatother +\\chardef\\txtbullet="2022 +\\chardef\\tilde="7E +\\def\\asterisk{{\\rm \\char42} } +\\definecolor{Light}{gray}{.92} +\\definecolor{listinggray}{gray}{0.9} +\\definecolor{lbcolor}{rgb}{0.9,0.9,0.9} +\\lstset{% + backgroundcolor=\\color{lbcolor}, + tabsize=4, + rulecolor=, + language=, + basicstyle={\\ttfamily\\scriptsize}, + upquote=true, + columns=fixed, + showstringspaces=false, + extendedchars=true, + breaklines=true, + prebreak = \\raisebox{0ex}[0ex][0ex]{\\ensuremath{\\hookleftarrow}}, + frame=single, + showtabs=false, + showspaces=false, + showstringspaces=false, + identifierstyle=\\ttfamily, + keywordstyle=\\color[rgb]{0,0,1}, + commentstyle=\\color[rgb]{0.133,0.545,0.133}, + stringstyle=\\color[rgb]{0.627,0.126,0.941}, +} +\\DeclareTOCStyleEntry[numwidth+=8pt]{part}{part} +\\DeclareTOCStyleEntry[numwidth+=4pt]{section}{section} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{paragraph} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{subparagraph} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{subsection} +\\DeclareTOCStyleEntries[indent+=4pt]{section}{section,subsection,subsubsection} +\\DeclareTOCStyleEntries[numwidth+=3pt]{section}{paragraph,subparagraph} +\\usepackage{ltxcmds} + WOK + end + def tex_head_paper_newenv_newcmd + <<-WOK +\\newenvironment{ParagraphIndent}[1]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] +} {\\end{list}} +\\newenvironment{ParagraphHang}[2]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\itemindent=#2 + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] +} {\\end{list}} +\\newenvironment{Bullet}[1]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\itemindent=-1em + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] + $\\txtbullet$\\hspace{\\enspace} +} {\\end{list}} +\\newcommand{\\monosp}[1]{\\normaltext\\ttfamily\\texbackslash#1} +\\newcommand{\\br}{\\hfill\\break} +\\newcommand{\\brl}[1]{% + \\ifx&% + \\hfill\\break + \\else + \\vspace{#1ex} + \\fi +} +\\newcommand{\\brln}{\\hspace*{\\fill}\\linebreak} +\\newcommand{\\objBlockOpen}{% + \\setlength{\\parskip}{0.5ex plus0.2ex minus0.1ex}\\raggedright + \\begin{footnotesize} +} +\\newcommand{\\objBlockClose}{% + \\end{footnotesize} + \\setlength{\\parskip}{1ex plus0.5ex minus0.2ex} +} +\\newcommand{\\objGroupOpen}{% + \\setlength{\\parskip}{0.5ex plus0.2ex minus0.1ex} + \\begin{footnotesize} +} +\\newcommand{\\objGroupClose}{% + \\end{footnotesize} +} +\\newcommand{\\objPoemVerseOpen}{% + \\setlength{\\parskip}{0.1ex plus0.1ex minus0.1ex} + \\begin{footnotesize} + +} +\\newcommand{\\objPoemVerseClose}{% + + \\end{footnotesize} + \\setlength{\\parskip}{1ex plus0.5ex minus0.2ex} + \\linebreak +} +\\newcommand{\\parasep}{% + \\smallskip \\begin{center}*\\hspace{2em}*\\hspace{2em}*\\end{center} \\br +} +\\newcommand{\\spaces}[1]{{\\hspace*{#1ex}}} +\\newcommand{\\s}{\\hspace*{1ex}} +\\newcommand{\\hardspace}{\\hspace*{1ex}} +\\newcommand{\\-}{\\hspace*{1ex}} +\\newcommand{\\caret}{{\\^{~}}} +\\newcommand{\\pipe}{{\\textbar}} +\\newcommand{\\curlyOpen}{{} +\\newcommand{\\curlyClose}{}} +\\newcommand{\\lt}{{UseTextSymbol{OML}{<}}} +\\newcommand{\\gt}{{UseTextSymbol{OML}{>}}} +\\newcommand{\\slash}{{/}} +\\newcommand{\\underscore}{\\_} +\\newcommand{\\exclaim}{\\Verbatim{!}} +\\newcommand{\\linktext}[2]{% + {\\href{#1} + {\\;\\ulcorner\\,\\textup{{#2}}\\,\\lrcorner}} +} +\\newcommand{\\linkurl}[2]{% + \\;{\\href{#1} + {\\;\\scriptsize\\ttfamily\\ulcorner\\,\\textup{{#2}}\\,\\lrcorner}} +} +\\newcommand{\\link}[2]{% + {\\begin{scriptsize}\\color{black}\\urlstyle{tt}\\href{#1} + {\\;\\ulcorner\\,{#2}\\,\\lrcorner}\\end{scriptsize}} +} +\\newcommand{\\objCodeBlock}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} +\\newcommand{\\objCodeOpen}{% + \\normaltext\\raggedright\\small\\ttfamily\\texbackslash + \\begin{lstlisting} +} +\\newcommand{\\objCodeClose}{% + \\end{lstlisting} +} +\\newcommand{\\ocn}[1]{% + \\setlength{\\parindent}{0em} + \\ifx&% #1 is empty + \\hspace{-0.5ex}{\\marginpar{\\begin{tiny}\\end{tiny}}} + \\else% #1 is nonempty + \\hspace{-0.5ex}{\\marginpar{\\begin{tiny}\\hspace{0em}\\hypertarget{#1}{#1}\\end{tiny}}} + \\fi +} +\\newcommand{\\ocnhold}[1]{% + \\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#1}{#1}\\end{tiny}}} +} +\\newcommand{\\objCodeBlockHold}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} +\\newcommand{\\objTableOpen}[1]{% + \\setlength{\\LTleft}{0pt} + \\setlength{\\LTright}{\\fill} + \\begin{tiny} + \\begin{longtable}{#1} +} +\\newcommand{\\objTableClose}{% + \\end{longtable} + \\end{tiny} +} + WOK + end + def tex_head_paper_orient(orientation) + colorlinks = <<-WOK + colorlinks=true, % myblack + urlcolor=myblue, % \\href{...}{...} external url + filecolor=mygreen, % \\href{...} local file + linkcolor=myred, % \\href{...} and \\pageref{...} + WOK + colorlinks = (orientation == "landscape") ? colorlinks : "" + <<-WOK +\\usepackage[#{tex_head_lang[:mainlang]},#{tex_head_lang[:otherlang]}]{babel} +\\usepackage[autostyle, english = american]{csquotes} +% \\MakeOuterQuote{"} % not required, using '' as quote delimiter +\\selectlanguage{#{tex_head_lang[:mainlang]}} +\\hypersetup{ + pdftitle={#{@md.title.short}}, + pdfauthor={#{@md.creator.author}}, + pdfsubject={}, +#{colorlinks} +} +\\usepackage{fancyhdr} +\\lhead[ ]{ } +\\chead[ \\fancyplain{} \\bfseries \\footnotesize \\leftmark ]{ \\fancyplain{} \\bfseries \\footnotesize \\rightmark } +\\rhead[ ]{ } +\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{https://sisudoc.org}{SiSU}} + \\cfoot{\\href{https://git.sisudoc.org}{git}} +\\rfoot[\\tiny \\href{}{}]{\\textrm{\\thepage}} +\\begin{document} +\\thispagestyle{empty} +\\title{#{@md.title.full}} +\\author{ \\textnormal{#{@md.creator.author}}} +\\date{\\begin{tiny}2015-08-23\\end{tiny}} +\\maketitle +\\addcontentsline{toc}{part}{#{@md.title.full}} +\\newpage +\\pagestyle{fancy} +\\pagenumbering{alph} +\\setcounter{page}{1} WOK end def tex_head_paper_portrait(d) multicol=(@md.book_idx ? '\usepackage{multicol}' : '') <<-WOK #{tex_head_info} +\\documentclass[11pt,a4paper,titlepage,makeidx]{scrartcl} +\\usepackage{fontspec} +% \\usepackage{lmodern} %%issue remove for now (consider later) \\usepackage{geometry} -\\documentclass[#{d[:fontsize]},#{d[:papertype]},titlepage]{scrartcl} %with titlepage -\\setlength{\\textheight}{#{d[:textheight]}mm} \\setlength{\\textwidth}{#{d[:textwidth]}mm} -\\setlength{\\oddsidemargin}{#{d[:oddsidemargin]}} \\setlength{\\evensidemargin}{#{d[:evensidemargin]}} -\\setlength{\\topmargin}{#{d[:topmargin]}} \\setlength{\\headheight}{#{d[:headheight]}} -\\setlength{\\headsep}{#{d[:headsep]}} +\\geometry{% + #{d[:papertype]}, + portrait, + left=#{d[:left]}, + right=#{d[:right]}, + top=#{d[:top]}, + bottom=#{d[:bottom]}, +} +% \\ProvidesPackage{./sty/spineShared} +\\usepackage{multicol} \\setlength{\\marginparsep}{#{d[:marginparsep]}} \\setlength{\\marginparwidth}{#{d[:marginparwidth]}} +#{tex_head_paper_characters} +#{tex_head_paper_shared} +#{tex_head_paper_newenv_newcmd} +#{tex_head_paper_orient("portrait")} #{multicol} WOK end def tex_head_paper_landscape(d) <<-WOK #{tex_head_info} +\\documentclass[11pt,a4paper,landscape,titlepage,twocolumn,makeidx]{scrartcl} \\usepackage{geometry} -\\documentclass[#{d[:fontsize]},#{d[:papertype]},landscape,titlepage,twocolumn]{scrartcl} %with titlepage -\\setlength{\\textheight}{#{d[:textheight]}mm} \\setlength{\\textwidth}{#{d[:textwidth]}mm} -\\setlength{\\oddsidemargin}{#{d[:oddsidemargin]}} \\setlength{\\evensidemargin}{#{d[:evensidemargin]}} -\\setlength{\\topmargin}{#{d[:topmargin]}} \\setlength{\\headheight}{#{d[:headheight]}} -\\setlength{\\headsep}{#{d[:headsep]}} -\\setlength{\\columnsep}{#{d[:columnsep]}} +\\geometry{% + #{d[:papertype]}, + landscape, + left=#{d[:left]}, + right=#{d[:right]}, + top=#{d[:top]}, + bottom=#{d[:bottom]}, +} +\\usepackage{multicol} \\setlength{\\marginparsep}{#{d[:marginparsep]}} \\setlength{\\marginparwidth}{#{d[:marginparwidth]}} +#{tex_head_paper_characters} +#{tex_head_paper_shared} +#{tex_head_paper_newenv_newcmd} +#{tex_head_paper_orient("landscape")} WOK end def tex_head_paper_portrait_dvi(d) @@ -833,6 +1151,8 @@ module SiSU_TeX_Pdf when :portrait fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a4paper',fontsize + d[:left],d[:right]='30mm','20mm' + d[:top],d[:bottom]='30mm','30mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='0mm','0mm','-12pt' d[:headheight],d[:headsep],d[:columnsep]='12pt','35pt','' d[:marginparsep],d[:marginparwidth]='4mm','8mm' @@ -852,12 +1172,16 @@ module SiSU_TeX_Pdf when /book|b5/i #book default - larger fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='b5paper',fontsize + d[:left],d[:right]='20mm','20mm' + d[:top],d[:bottom]='20mm','20mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt' d[:headheight],d[:headsep],d[:columnsep]='12pt','20pt','' d[:textheight],d[:textwidth]=@tx.b5.portrait.h,@tx.b5.portrait.w when /a5/i fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a5paper',fontsize + d[:left],d[:right]='20mm','20mm' + d[:top],d[:bottom]='20mm','20mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt' d[:headheight],d[:headsep],d[:columnsep]='11pt','12pt','' d[:marginparsep],d[:marginparwidth]='4mm','6mm' @@ -870,6 +1194,8 @@ module SiSU_TeX_Pdf when :landscape fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a4paper',fontsize + d[:left],d[:right]='30mm','20mm' + d[:top],d[:bottom]='30mm','30mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='6mm','6mm','-12mm' d[:headheight],d[:headsep],d[:columnsep]='12pt','20pt','40pt' d[:marginparsep],d[:marginparwidth]='4mm','8mm' @@ -889,10 +1215,14 @@ module SiSU_TeX_Pdf when /book|b5/i #book default - larger fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize],d[:columnsep]='b5paper',fontsize,'35pt' + d[:left],d[:right]='25mm','25mm' + d[:top],d[:bottom]='20mm','20mm' d[:textheight],d[:textwidth]=@tx.b5.landscape.h,@tx.b5.landscape.w when /a5/i fontsize=(fontsize_set==:na) ? '10pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize],d[:columnsep]='a5paper',fontsize,'32pt' + d[:left],d[:right]='25mm','25mm' + d[:top],d[:bottom]='20mm','20mm' d[:textheight],d[:textwidth]=@tx.a5.landscape.h,@tx.a5.landscape.w else #default currently A4 fontsize=(fontsize_set==:na) ? '12pt' : (fontsize_set + 'pt') @@ -955,53 +1285,14 @@ module SiSU_TeX_Pdf else '' end <<-WOK -\\usepackage{alltt} -\\usepackage{thumbpdf} -\\usepackage[#{@tex2pdf}, - #{hyperlinks_color?.strip} - pdftitle={#{@txt}}, - pdfauthor={#{author}}, - pdfsubject={#{@subject}}, - pdfkeywords={#{@keywords}}, - pageanchor=true, - plainpages=true, - pdfpagelabels=true, - pagebackref, - bookmarks=true, - bookmarksopen=true, - pdfmenubar=true, - pdfpagemode=UseOutline, - pdffitwindow=true, - pdfwindowui=true, - plainpages=false, -% pdfusetitle=true, -% pdfpagelayout=SinglePage, -% pdfpagelayout=TwoColumnRight, -% pdfpagelayout=TwoColumnLeft, -% pdfstartpage=3, - pdfstartview=FitH -] -{hyperref} -%% trace lost characters -% \\tracinglostchars = 1 -% \\tracingonline = 1 -\\usepackage[usenames]{color} -\\definecolor{myblack}{rgb}{0,0,0} -\\definecolor{myred}{rgb}{0.75,0,0} -\\definecolor{mygreen}{rgb}{0,0.5,0} -\\definecolor{myblue}{rgb}{0,0,0.5} -\\definecolor{mywhite}{rgb}{1,1,1} -\\usepackage{url} -\\urlstyle{sf} -%\\usepackage{breakurl} WOK end def tex_head_codeblock(codeblock_box_type) codeblock_box=if codeblock_box_type=='listings' <<-WOK -\\usepackage{listings} -\\usepackage{color} -\\usepackage{textcomp} +% \\usepackage{listings} +% \\usepackage{color} +% \\usepackage{textcomp} WOK elsif codeblock_box_type=='boites' "\\usepackage{boites}" @@ -1010,22 +1301,6 @@ module SiSU_TeX_Pdf end codeblock_box end - def tex_head_misc - <<-WOK -\\usepackage{textcomp} -\\usepackage[parfill]{parskip} -\\usepackage[normalem]{ulem} -\\usepackage{soul} -\\usepackage{longtable} -\\usepackage[tc]{titlepic} -\\usepackage{graphicx} -\\makeatletter -\\parindent0pt -%\\usepackage{mathptmx} -\\usepackage{amssymb} -% amssymb used for backslash - WOK - end def document_head_with_orientation(codeblock_box_type) endnotes=("\\usepackage{endnotes}" if @txt =~/endnotes?/) || '' #not implemented see also def endnotes @lang.list[@md.i18n[0]][:xlp] @@ -1033,79 +1308,8 @@ module SiSU_TeX_Pdf #{tex_head_paper} #{tex_head_encode} #{tex_head_pdftex} -#{tex_head_misc} #{tex_head_codeblock(codeblock_box_type)} -\\setcounter{secnumdepth}{2} -\\setcounter{tocdepth}{4} -\\makeatletter -#{endnotes} -\\usepackage[multiple,ragged]{footmisc} -\\setlength\\footnotemargin{12pt} -\\usepackage[para]{manyfoot} -\\DeclareNewFootnote{A} -%\\DeclareNewFootnote[para]{A} -\\newenvironment{ParagraphIndent}[1]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} - -\\newenvironment{ParagraphHang}[2]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\itemindent=#2 -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} - -\\newenvironment{Bullet}[1]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\itemindent=-1em -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} -\\usepackage{fancyhdr} -\\lhead{} -\\renewcommand{\\part}{\\\@startsection - {part}{1}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\section}{\\\@startsection - {section}{2}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\subsection}{\\\@startsection - {subsection}{3}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\subsubsection}{\\\@startsection - {subsubsection}{4}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\bfseries\\raggedright}} -\\renewcommand{\\paragraph}{\\\@startsection - {paragraph}{5}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\itshape\\raggedright}} -\\renewcommand{\\subparagraph}{\\\@startsection - {subparagraph}%{6}%{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\itshape\\raggedright}} -% \\makeatother -\\selectlanguage{#{@lang.list[@md.i18n[0]][:xlp]}} +% \\selectlanguage{#{tex_head_lang[:mainlang]}} WOK end def a4generic @@ -1397,9 +1601,7 @@ module SiSU_TeX_Pdf "\n" end def header - "\\lhead[ ]{ }\n" + - "\\chead[ \\fancyplain{} \\bfseries \\footnotesize \\leftmark ]{ \\fancyplain{} \\bfseries \\footnotesize \\rightmark }\n" + - "\\rhead[ ]{ }\n" + "" end def footer "\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{#{@md.footer_links[:left][:url]}}{#{@md.footer_links[:left][:say]}}}\n" + @@ -1441,7 +1643,7 @@ module SiSU_TeX_Pdf <<-WOK \\\\ ~ {\\begin{footnotesize}#{base_prog_txt} -\\\\ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU} \\begin{tiny}[ #{v.project} #{v.version} of #{v.date_stamp} ]\\end{tiny} \\href{http://www.jus.uio.no/sisu}{www.jus.uio.no/sisu} +\\\\ Generated by \\href{https://git.sisudoc.org/}{SiSU} \\begin{tiny}[ #{v.project} #{v.version} of #{v.date_stamp} ]\\end{tiny} \\href{https://git.sisudoc.org/}{git.sisudoc.org} \\\\ Copyright #{@copymark} 1997, current #{@date.year_static} Ralph Amissah, All Rights Reserved. \\\\ SiSU is software for document structuring, publishing and search (with object citation numbering), \\href{http://www.sisudoc.org}{www.sisudoc.org} \\\\ SiSU is released under \\href{http://www.fsf.org/licenses/gpl.html}{GPL 3 } or later, #{url_brace.tex_open}\\href{http://www.fsf.org/licenses/gpl.html}{http://www.fsf.org/licenses/gpl.html}#{url_brace.tex_close}. @@ -1451,11 +1653,11 @@ module SiSU_TeX_Pdf end def doc_sc_info_footnote_full <<-WOK -\\footnote{%\nGenerated by \\href{http://www.jus.uio.no/sisu}{SiSU \\ www.jus.uio.no/sisu }\\ \\newline \\scriptsize{Document version information: \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}}}} +\\footnote{%\nGenerated by \\href{https://git.sisudoc.org/}{SiSU \\ git.sisudoc.org }\\ \\newline \\scriptsize{Document version information: \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}}}} WOK end def doc_sc_info_footnote_brief - " \\footnote{%\nGenerated by \\href{http://www.jus.uio.no/sisu}{SiSU} \\ \\href{http://www.jus.uio.no/sisu}{www.jus.uio.no/sisu} \\newline \\href{http://www.sisudoc.org}{www.sisudoc.org} \\\n}" + " \\footnote{%\nGenerated by \\href{https://git.sisudoc.org/}{SiSU} \\ \\href{https://git.sisudoc.org/}{git.sisudoc.org} \\newline \\href{https://sisudoc.org}{sisudoc.org} \\\n}" end def doc_sc_info v=SiSU_Env::InfoVersion.instance.get_version @@ -1464,7 +1666,7 @@ module SiSU_TeX_Pdf {\\begin{footnotesize} Document version information: \\\\ \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}} \\\\ -Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu }\\- version information: \\\\ +Generated by \\href{https://git.sisudoc.org/}{SiSU git.sisudoc.org }\\- version information: \\\\ \\uline{ #{v.project} #{v.version} of #{v.date_stamp}} \\end{footnotesize}}& WOK @@ -1476,7 +1678,7 @@ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu }\\- ve {\\begin{small} Document information: \\\\ \\emph{sourcefile} \\uline{#{@md.fnstex}} \\\\ -Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu } \\\\ version information: \\ +Generated by \\href{https://git.sisudoc.org/}{SiSU https://git.sisudoc.org/ } \\\\ version information: \\ \\uline{ #{v.project} #{v.version} of #{v.date_stamp}} \\end{small}}& @@ -1493,10 +1695,10 @@ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu } \\\\ end end __END__ -ag usepackage texpdf* -ag usepackage texpdf* | ag '\{.+?\}' +rg usepackage texpdf* +rg usepackage texpdf* | rg '\{.+?\}' # texpdf_format.rb -ag usepackage texpdf* | ag --only-matching '\{.+?\}' +rg usepackage texpdf* | rg --only-matching '\{.+?\}' |sort|uniq * sort & make unique @tex2pdf @@ -1598,6 +1800,7 @@ xunicode.sty texlive-base: amssymb.sty + texlive-latex-base: alltt.sty babel.sty @@ -1610,6 +1813,7 @@ texlive-latex-base: multicol.sty textcomp.sty url.sty + texlive-latex-extra: boites.sty breakurl.sty @@ -1619,6 +1823,7 @@ texlive-latex-extra: soul.sty titlepic.sty ucs.sty + texlive-latex-recommended: fontspec.sty listings.sty @@ -1627,8 +1832,10 @@ texlive-latex-recommended: thumbpdf.sty xltxtra.sty xunicode.sty + texlive-plain-generic: ulem.sty + texlive-xetex: xeCJK.sty diff --git a/lib/sisu/texpdf_parts.rb b/lib/sisu/texpdf_parts.rb index 96df1bfb..bc0f71fb 100644 --- a/lib/sisu/texpdf_parts.rb +++ b/lib/sisu/texpdf_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# texpdf +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_TeXpdf require_relative 'generic_parts' # generic_parts.rb include SiSU_Parts_Generic diff --git a/lib/sisu/txt_asciidoc.rb b/lib/sisu/txt_asciidoc.rb index 5fbf6746..f00efabf 100644 --- a/lib/sisu/txt_asciidoc.rb +++ b/lib/sisu/txt_asciidoc.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_AsciiDoc require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/txt_asciidoc_decorate.rb b/lib/sisu/txt_asciidoc_decorate.rb index 82403fba..9416cec7 100644 --- a/lib/sisu/txt_asciidoc_decorate.rb +++ b/lib/sisu/txt_asciidoc_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_AsciiDoc def decorate def heading diff --git a/lib/sisu/txt_markdown.rb b/lib/sisu/txt_markdown.rb index 1f6a876c..799deefb 100644 --- a/lib/sisu/txt_markdown.rb +++ b/lib/sisu/txt_markdown.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_Markdown require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/txt_markdown_decorate.rb b/lib/sisu/txt_markdown_decorate.rb index e5aa9b02..bcc3c9ba 100644 --- a/lib/sisu/txt_markdown_decorate.rb +++ b/lib/sisu/txt_markdown_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_Markdown def decorate def heading diff --git a/lib/sisu/txt_orgmode.rb b/lib/sisu/txt_orgmode.rb index 01941ce4..6c34cbff 100644 --- a/lib/sisu/txt_orgmode.rb +++ b/lib/sisu/txt_orgmode.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_OrgMode require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/txt_orgmode_decorate.rb b/lib/sisu/txt_orgmode_decorate.rb index 1a0a458b..6953ff74 100644 --- a/lib/sisu/txt_orgmode_decorate.rb +++ b/lib/sisu/txt_orgmode_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_OrgMode def decorate def heading diff --git a/lib/sisu/txt_output.rb b/lib/sisu/txt_output.rb index 4b2a791a..1c1dfb1c 100644 --- a/lib/sisu/txt_output.rb +++ b/lib/sisu/txt_output.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module Txt_Output class Output include SiSU_Param diff --git a/lib/sisu/txt_plain.rb b/lib/sisu/txt_plain.rb index e8c68e0b..9c6a3aae 100644 --- a/lib/sisu/txt_plain.rb +++ b/lib/sisu/txt_plain.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_Plain require_relative 'ao' # ao.rb require_relative 'se' # se.rb @@ -253,7 +251,7 @@ WOK make=SiSU_Env::ProcessingSettings.new(@md) if make.build.plaintext_ocn? if defined? dob.ocn \ - and dob.ocn.is_a?(Fixnum) + and dob.ocn.is_a?(Integer) (defined? dob.ocn) \ ? "\n#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" \ : '' diff --git a/lib/sisu/txt_plain_decorate.rb b/lib/sisu/txt_plain_decorate.rb index 4174308b..7af04c82 100644 --- a/lib/sisu/txt_plain_decorate.rb +++ b/lib/sisu/txt_plain_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_Plain def decorate def heading_underscore diff --git a/lib/sisu/txt_read.rb b/lib/sisu/txt_read.rb index d15581f1..96a7e2b2 100644 --- a/lib/sisu/txt_read.rb +++ b/lib/sisu/txt_read.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_Read require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/txt_rst.rb b/lib/sisu/txt_rst.rb index 5af15613..41b2c4e9 100644 --- a/lib/sisu/txt_rst.rb +++ b/lib/sisu/txt_rst.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_rST require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/txt_rst_decorate.rb b/lib/sisu/txt_rst_decorate.rb index fe33aa41..3585a750 100644 --- a/lib/sisu/txt_rst_decorate.rb +++ b/lib/sisu/txt_rst_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_rST def decorate def heading diff --git a/lib/sisu/txt_shared.rb b/lib/sisu/txt_shared.rb index 7236726d..bef7cddc 100644 --- a/lib/sisu/txt_shared.rb +++ b/lib/sisu/txt_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_TextUtils require_relative 'generic_parts' # generic_parts.rb class Wrap diff --git a/lib/sisu/txt_textile.rb b/lib/sisu/txt_textile.rb index 03e7bdff..ef5c9b5d 100644 --- a/lib/sisu/txt_textile.rb +++ b/lib/sisu/txt_textile.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Txt_Textile require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/txt_textile_decorate.rb b/lib/sisu/txt_textile_decorate.rb index 54a7d7e0..57a538b0 100644 --- a/lib/sisu/txt_textile_decorate.rb +++ b/lib/sisu/txt_textile_decorate.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# txt +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Decorate_Txt_Textile def decorate def heading diff --git a/lib/sisu/update.rb b/lib/sisu/update.rb index 7a26b34f..a03097ed 100644 --- a/lib/sisu/update.rb +++ b/lib/sisu/update.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_UpdateControlFlag require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/urls.rb b/lib/sisu/urls.rb index 16e0f77d..eeef0c60 100644 --- a/lib/sisu/urls.rb +++ b/lib/sisu/urls.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Urls require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/utils.rb b/lib/sisu/utils.rb index d291bde0..08387523 100644 --- a/lib/sisu/utils.rb +++ b/lib/sisu/utils.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# utils +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Utils class CodeMarker def initialize(line,file,color=:red) diff --git a/lib/sisu/utils_composite.rb b/lib/sisu/utils_composite.rb index dedd09e2..84f3f4df 100644 --- a/lib/sisu/utils_composite.rb +++ b/lib/sisu/utils_composite.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# utils +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Composite_Doc_Utils def inserts_array(loadfilename) IO.readlines(loadfilename,'') diff --git a/lib/sisu/utils_response.rb b/lib/sisu/utils_response.rb index 3e6cd1e4..3624e547 100644 --- a/lib/sisu/utils_response.rb +++ b/lib/sisu/utils_response.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# utils +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Response def available_selections_ %{'yes', 'no', 'quit' or 'exit'; [ynqx]} diff --git a/lib/sisu/utils_screen_text_color.rb b/lib/sisu/utils_screen_text_color.rb index d814a407..5426b17e 100644 --- a/lib/sisu/utils_screen_text_color.rb +++ b/lib/sisu/utils_screen_text_color.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# utils +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Screen class Color attr_accessor :off,:marker,:bold,:underline,:invert,:darkgrey_hi,:grey_hi,:pink_hi,:fuchsia_hi,:red_hi,:orange_hi,:yellow_hi,:brown_hi,:lightgreen_hi,:green_hi,:cyan_hi,:blue_hi,:navy_hi,:white,:white_bold,:grey,:pink,:fuchsia,:ruby,:red,:orange,:yellow,:brown,:green,:darkgreen,:cyan,:blue,:navy,:black diff --git a/lib/sisu/utils_spell.rb b/lib/sisu/utils_spell.rb index 6440a7f7..87c89930 100644 --- a/lib/sisu/utils_spell.rb +++ b/lib/sisu/utils_spell.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# utils +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_SpellUtility class Spell def initialize(input,filesrc,flg) diff --git a/lib/sisu/webrick.rb b/lib/sisu/webrick.rb index d5e04b97..f910418e 100644 --- a/lib/sisu/webrick.rb +++ b/lib/sisu/webrick.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Webserv class WebrickStart begin diff --git a/lib/sisu/wikispeak.rb b/lib/sisu/wikispeak.rb index d2854a3f..05bd184f 100644 --- a/lib/sisu/wikispeak.rb +++ b/lib/sisu/wikispeak.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Wikispeak require_relative 'ao' # ao.rb require_relative 'se' # se.rb diff --git a/lib/sisu/xhtml.rb b/lib/sisu/xhtml.rb index 4f0b62bb..1a542fe7 100644 --- a/lib/sisu/xhtml.rb +++ b/lib/sisu/xhtml.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xhtml_epub2.rb b/lib/sisu/xhtml_epub2.rb index 8f6ef05a..5ba80da0 100644 --- a/lib/sisu/xhtml_epub2.rb +++ b/lib/sisu/xhtml_epub2.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_EPUB2 begin require 'pstore' @@ -786,10 +784,11 @@ module SiSU_XHTML_EPUB2 end end def images -#puts @md.env.path.image_source_include -#puts @md.env.processing_path.epub -#puts @md.env.path.image_source_include_local -puts @md.file.output_path.epub.rel_image +#REMOVE +#puts @md.env.path.image_source_include + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.env.processing_path.epub + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.env.path.image_source_include_local + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.file.output_path.epub.rel_image + ' : ' + __FILE__ + ':' + __LINE__.to_s #img_pth=$sisu_base_data + '/image' img_pth=@md.env.path.image_source_include img_src_pth=unless @md.opt.f_pth[:pth] =~/\/\S+?\/sisupod\/\S+?\/sisupod\/doc/ diff --git a/lib/sisu/xhtml_epub2_concordance.rb b/lib/sisu/xhtml_epub2_concordance.rb index e482830c..d9cceec4 100644 --- a/lib/sisu/xhtml_epub2_concordance.rb +++ b/lib/sisu/xhtml_epub2_concordance.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_EPUB2_Concordance require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars @@ -98,7 +96,7 @@ module SiSU_XHTML_EPUB2_Concordance @particulars,@md=particulars,particulars.md @data=SiSU_XHTML_EPUB2::Source::XHTML_Environment.new(particulars).tuned_file_instructions @fnb=@md.fnb - @lex_button=%{<a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" height="44" width="144" valign="center" src="../_sisu/image/sisu.png" alt="SiSU home"></a>} + @lex_button=%{<a href="https://sisudoc.org" target="_top"><img border="0" height="44" width="144" valign="center" src="../_sisu/image/sisu.png" alt="SiSU home"></a>} @doc_details =<<WOK <table summary="links to text related to this rudimentary index" width="96%" border="0" bgcolor="white" cellpadding="0" align="center"><tr><td width="2%" align="right">#{$ep[:hsp]}</td><td width="94%" valign="top" align="justify"><h1 class="small"><a href="#{@md.file.base_filename.epub}"><b>#{@md.title.full}</b></a></h1><p class="bold">#{@md.creator.author}</p></td></tr></table> WOK diff --git a/lib/sisu/xhtml_epub2_format.rb b/lib/sisu/xhtml_epub2_format.rb index 8c8330ac..6368ee89 100644 --- a/lib/sisu/xhtml_epub2_format.rb +++ b/lib/sisu/xhtml_epub2_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_EPUB2_Format class ParagraphNumber def initialize(md,ocn) diff --git a/lib/sisu/xhtml_epub2_persist.rb b/lib/sisu/xhtml_epub2_persist.rb index 6e5a4fe9..00224d5a 100644 --- a/lib/sisu/xhtml_epub2_persist.rb +++ b/lib/sisu/xhtml_epub2_persist.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_EPUB2_Persist class Persist @@persist=nil diff --git a/lib/sisu/xhtml_epub2_segments.rb b/lib/sisu/xhtml_epub2_segments.rb index 477559b4..d81d0931 100644 --- a/lib/sisu/xhtml_epub2_segments.rb +++ b/lib/sisu/xhtml_epub2_segments.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_EPUB2_Seg require_relative 'xhtml_shared' # xhtml_shared.rb require_relative 'xhtml_epub2' # xhtml_epub2.rb diff --git a/lib/sisu/xhtml_epub2_tune.rb b/lib/sisu/xhtml_epub2_tune.rb index bad65ae7..df829424 100644 --- a/lib/sisu/xhtml_epub2_tune.rb +++ b/lib/sisu/xhtml_epub2_tune.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> require_relative 'dp' # dp.rb module SiSU_XHTML_EPUB2_Tune require_relative 'se' # se.rb diff --git a/lib/sisu/xhtml_parts.rb b/lib/sisu/xhtml_parts.rb index 5a6d0194..c1e66875 100644 --- a/lib/sisu/xhtml_parts.rb +++ b/lib/sisu/xhtml_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_XHTML require_relative 'generic_parts' # generic_parts.rb include SiSU_Parts_Generic diff --git a/lib/sisu/xhtml_shared.rb b/lib/sisu/xhtml_shared.rb index f2bd8a40..ddb40544 100644 --- a/lib/sisu/xhtml_shared.rb +++ b/lib/sisu/xhtml_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_Shared require_relative 'xhtml_table' # xhtml_table.rb class TableXHTML < SiSU_XHTML_Table::TableXHTML diff --git a/lib/sisu/xhtml_table.rb b/lib/sisu/xhtml_table.rb index d21223d3..c8747bd3 100644 --- a/lib/sisu/xhtml_table.rb +++ b/lib/sisu/xhtml_table.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xhtml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XHTML_Table require_relative 'xhtml_parts' # xhtml_parts.rb class TableXHTML diff --git a/lib/sisu/xml_docbook5.rb b/lib/sisu/xml_docbook5.rb index f0ccd3fd..d6fd0e05 100644 --- a/lib/sisu/xml_docbook5.rb +++ b/lib/sisu/xml_docbook5.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Docbook_Book require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_dom.rb b/lib/sisu/xml_dom.rb index a47e58fb..80be403b 100644 --- a/lib/sisu/xml_dom.rb +++ b/lib/sisu/xml_dom.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_DOM require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_fictionbook2.rb b/lib/sisu/xml_fictionbook2.rb index 5ede1258..90211839 100644 --- a/lib/sisu/xml_fictionbook2.rb +++ b/lib/sisu/xml_fictionbook2.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Fictionbook require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_format.rb b/lib/sisu/xml_format.rb index 4a461ed3..bdc18793 100644 --- a/lib/sisu/xml_format.rb +++ b/lib/sisu/xml_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Format require_relative 'dp' # dp.rb require_relative 'xml_parts' # xml_parts.rb @@ -83,7 +81,7 @@ module SiSU_XML_Format @full_title=@subtitle=@author=@subject=@description=@publisher=@contributor=@date=@type=@format=@identifier=@source=@language=@relation=@coverage=@rights=@copyright=@owner=@keywords='' @md=@@md # DublinCore 1 - title - @rdfurl=%{ rdf:about="http://www.jus.uio.no/lm/toc"\n} + @rdfurl=%{ rdf:about="https://sisudoc.org"\n} if defined? @md.title.full \ and @md.title.full # DublinCore 1 - title @rdf_title=%{ dc.title="#{seg_name}#{@md.title.full}"\n} diff --git a/lib/sisu/xml_md_oai_pmh_dc.rb b/lib/sisu/xml_md_oai_pmh_dc.rb index 6205ba68..3a657d79 100644 --- a/lib/sisu/xml_md_oai_pmh_dc.rb +++ b/lib/sisu/xml_md_oai_pmh_dc.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Metadata require_relative 'se' # se.rb include SiSU_Env diff --git a/lib/sisu/xml_odf_odt.rb b/lib/sisu/xml_odf_odt.rb index fb9c9cde..c3ce38fa 100644 --- a/lib/sisu/xml_odf_odt.rb +++ b/lib/sisu/xml_odf_odt.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_ODF_ODT require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_odf_odt_format.rb b/lib/sisu/xml_odf_odt_format.rb index 524b6408..3d021c3b 100644 --- a/lib/sisu/xml_odf_odt_format.rb +++ b/lib/sisu/xml_odf_odt_format.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_ODF_ODT_Format require_relative 'dp' # dp.rb include SiSU_Param diff --git a/lib/sisu/xml_parts.rb b/lib/sisu/xml_parts.rb index 1c9b86da..115374f3 100644 --- a/lib/sisu/xml_parts.rb +++ b/lib/sisu/xml_parts.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Parts_XML require_relative 'generic_parts' # generic_parts.rb include SiSU_Parts_Generic diff --git a/lib/sisu/xml_persist.rb b/lib/sisu/xml_persist.rb index d8a277b4..2d94722d 100644 --- a/lib/sisu/xml_persist.rb +++ b/lib/sisu/xml_persist.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Persist class Persist @@persist=nil diff --git a/lib/sisu/xml_sax.rb b/lib/sisu/xml_sax.rb index 0bcedfc0..e6bf2706 100644 --- a/lib/sisu/xml_sax.rb +++ b/lib/sisu/xml_sax.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_SAX require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_scaffold_structure_collapsed.rb b/lib/sisu/xml_scaffold_structure_collapsed.rb index 33ce3b2e..d77e2c29 100644 --- a/lib/sisu/xml_scaffold_structure_collapsed.rb +++ b/lib/sisu/xml_scaffold_structure_collapsed.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Scaffold_Structure_Collapse require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_scaffold_structure_sisu.rb b/lib/sisu/xml_scaffold_structure_sisu.rb index d2559fa9..9e157a99 100644 --- a/lib/sisu/xml_scaffold_structure_sisu.rb +++ b/lib/sisu/xml_scaffold_structure_sisu.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Scaffold_Structure_Sisu require_relative 'se_hub_particulars' # se_hub_particulars.rb include SiSU_Particulars diff --git a/lib/sisu/xml_shared.rb b/lib/sisu/xml_shared.rb index 85a960d9..b8915859 100644 --- a/lib/sisu/xml_shared.rb +++ b/lib/sisu/xml_shared.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_XML_Munge require_relative 'xml_parts' # xml_parts.rb class Trans @@ -468,7 +466,7 @@ module SiSU_XML_Tags #Format def initialize(md='',seg_name=[],tracker=0) @full_title=@subtitle=@author=@subject=@description=@publisher=@contributor=@date=@date_created=@date_issued=@date_available=@date_valid=@date_modified=@type=@format=@identifier=@source=@language=@relation=@coverage=@rights=@copyright=@owner=@keywords='' @md=md - @rdfurl=%{ rdf:about="http://www.jus.uio.no/lm/toc"\n} + @rdfurl=%{ rdf:about="https://sisudoc.org/spine/topics.html"\n} if defined? @md.title.full \ and @md.title.full # DublinCore 1 - title @rdf_title=%{ dc.title="#{seg_name}#{@md.title.full}"\n} @@ -614,7 +612,7 @@ module SiSU_XML_Tags #Format * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://sisudoc.org --> WOK else @@ -625,7 +623,7 @@ WOK * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://sisudoc.org --> WOK end diff --git a/lib/sisu/xml_tables.rb b/lib/sisu/xml_tables.rb index 33f45f6b..54d7cfeb 100644 --- a/lib/sisu/xml_tables.rb +++ b/lib/sisu/xml_tables.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# xml +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Tables class Table #_xml @@tablehead=0 diff --git a/lib/sisu/zap.rb b/lib/sisu/zap.rb index 104c69d6..460810f8 100644 --- a/lib/sisu/zap.rb +++ b/lib/sisu/zap.rb @@ -2,14 +2,14 @@ #- Name: SiSU # # - Description: documents, structuring, processing, publishing, search -# misc +# sisu # # - Author: Ralph Amissah # <ralph.amissah@gmail.com> # # - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, -# 2020, 2021, Ralph Amissah, +# 2020, 2021, 2024, 2025 Ralph Amissah, # All Rights Reserved. # # - License: GPL 3 or later: @@ -29,14 +29,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/licensing/licenses/gpl.html> -# <http://www.gnu.org/licenses/gpl.html> -# -# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> +# <https://www.fsf.org/licensing/licenses/gpl.html> +# <https://www.gnu.org/licenses/gpl.html> # # - SiSU uses: # - Standard SiSU markup syntax, @@ -44,12 +42,12 @@ # - Standard SiSU object citation numbering and system # # - Homepages: -# <http://www.sisudoc.org> +# <https://www.sisudoc.org> # # - Git # <https://git.sisudoc.org/projects/> -# <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> -# <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +# <https://git.sisudoc.org/projects/sisu> +# <https://git.sisudoc.org/projects/sisu-markup> module SiSU_Zap require_relative 'se' # se.rb include SiSU_Env diff --git a/nix/pkglst/packages_ruby_2_6.nix b/nix/pkglst/packages_ruby_2_6.nix deleted file mode 100644 index f8f27323..00000000 --- a/nix/pkglst/packages_ruby_2_6.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - ruby_2_6 - rubyPackages_2_6.rake - rubyPackages_2_6.sqlite3 - rubyPackages_2_6.thor - sqlite - unzip - xz - zip - openssl - #texlive-combined-full - nixFlakes - validatePkgConfig - jq - git -] diff --git a/nix/pkglst/packages_ruby_3_0.nix b/nix/pkglst/packages_ruby_3_0.nix deleted file mode 100644 index 66c9e0ba..00000000 --- a/nix/pkglst/packages_ruby_3_0.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - ruby_3_0 - rubyPackages_3_0.rake - rubyPackages_3_0.sqlite3 - rubyPackages_3_0.thor - sqlite - unzip - xz - zip - openssl - #texlive-combined-full - nixFlakes - validatePkgConfig - jq - git -] diff --git a/nix/pkglst/packages_ruby_3_1.nix b/nix/pkglst/packages_ruby_3_1.nix deleted file mode 100644 index ca9ced14..00000000 --- a/nix/pkglst/packages_ruby_3_1.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - unzip - xz - zip - openssl - #texlive-combined-full - nixFlakes - validatePkgConfig - jq - git -] diff --git a/org/abstraction.org b/org/abstraction.org index c31f36b6..8f885e88 100644 --- a/org/abstraction.org +++ b/org/abstraction.org @@ -4957,7 +4957,7 @@ module SiSU_AO_Hash if (t_o.of !=:structure \ && t_o.of !=:comment \ && t_o.of !=:layout) \ - && t_o.ocn.is_a?(Fixnum) + && t_o.ocn.is_a?(Integer) case sha_ when :sha512 for hash_class in [ Digest::SHA512 ] @@ -5730,11 +5730,12 @@ module SiSU_AO_MiscArrangeText else para end - para=if para =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m + para=if para.to_s =~/^(?:code(?:\.[a-z][0-9a-z_]+)?|box(?:\.[a-z_]+)?|poem|alt|group|block|table)\{|^\}(?:code|box|poem|alt|group|block|table)/m curly_braces(para) else para end + para.to_s end def prepare_text data=@data @@ -5746,7 +5747,7 @@ module SiSU_AO_MiscArrangeText data[0]=data[0].gsub(/^(SiSU\s*[\d.]*)$/,'% \1'). gsub(/^(sisu-[\d.]+)$/,'% \1') end - data.each.map do |para| + data=data.each.map do |para| para=conditional_headings(para) markup_blocks(para) end.flatten @@ -6112,7 +6113,7 @@ module SiSU_AO_Numbering when :extract then Mx[:segname_prefix_auto_num_extract] else '_'*dob.lv.to_i #should not occur end - if possible_seg_name =~/^[0-9]+?\.$/m #!~/[.,:-]+/ + if possible_seg_name.to_s =~/^[0-9]+?\.$/m #!~/[.,:-]+/ possible_seg_name=possible_seg_name. gsub(/\.$/,'') end @@ -6881,7 +6882,7 @@ module SiSU_AO_Syntax dob end def bodymarkup(dob) - # << http://www.jus.uio.no/sisu/sisu_markup_table/markup >> + # << https://git.sisudoc.org/sisu-markup >> # See: data/sisu/sample/document_samples_sisu_markup/ ## fontface # *{emphasis}* e{emphasis}e <strong>emphasis</strong> @@ -7253,57 +7254,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - abstraction - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/cgi.org b/org/cgi.org index a1504a02..422beaaf 100644 --- a/org/cgi.org +++ b/org/cgi.org @@ -163,7 +163,7 @@ module SiSU_CGI_SQLite #% database building doc #!/usr/bin/env ruby =begin #{about} - * Description: generates naive cgi search form for search of sisu database (sqlite) + ,* Description: generates naive cgi search form for search of sisu database (sqlite) #{gpl} =end begin @@ -482,8 +482,8 @@ module SiSU_CGI_SQL <<-'WOK_SQL' * 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/ WOK_SQL end def gpl @@ -520,7 +520,6 @@ module SiSU_CGI_SQL 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> * SiSU uses: * Standard SiSU markup syntax, @@ -528,8 +527,8 @@ module SiSU_CGI_SQL * Standard SiSU object citation numbering and system * Homepages: - [http://www.jus.uio.no/sisu] - [http://www.sisudoc.org] + [https://sisudoc.org] + [https://git.sisudoc.org] * Ralph Amissah [ralph@amissah.com] @@ -568,7 +567,7 @@ module SiSU_CGI_SQL <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="generator" href="https://git.sisudoc.org" /> <link rel="shortcut icon" href="#{@image_src}/rb7.ico" /> <link href="../_sisu/css/html.css" rel="stylesheet"> </head> @@ -965,8 +964,8 @@ module SiSU_CGI_SQL <br> #{v.project} is software for document structuring, publishing and search, <br> - <a href="http://www.jus.uio.no/sisu" > - www.jus.uio.no/sisu + <a href="https://sisudoc.org" > + sisudoc.org </a> and <a href="http://www.sisudoc.org" > @@ -1408,57 +1407,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - cgi - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/config.org b/org/config.org index c14d7510..c08ec191 100644 --- a/org/config.org +++ b/org/config.org @@ -257,56 +257,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - config - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/config_build.org b/org/config_build.org index def24caf..5d94a828 100644 --- a/org/config_build.org +++ b/org/config_build.org @@ -59,7 +59,7 @@ git log --pretty=format:"%h %ad - %s%d [%an]" --graph --date=short --no-merges > #+BEGIN_SRC ruby #% constants module SiSUversion - SiSU_version = '7.3.0' + SiSU_version = '<<sisu_project_version>>' end module Dev GPGpubKey = '1BB4B289' @@ -1955,9 +1955,9 @@ task :note_sources do <https://sisudoc.org> sisu source code is available at: <https://git.sisudoc.org> - <https://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary> + <https://git.sisudoc.org/projects/sisu> sisu markup samples are provided/packaged separately as sisu-markup-samples: - <https://git.sisudoc.org/gitweb/?p=doc/sisu-markup-samples.git;a=summary> + <https://git.sisudoc.org/projects/sisu-markup> WOK end task :note_installation do @@ -2788,7 +2788,7 @@ document, produces multiple output formats including: /plaintext/, /HTML/, /XHTML/, /XML/, /EPUB/, /ODT/ (/OpenDocument/ (/ODF/) text), /LaTeX/, /PDF/, info, and /SQL/ (/PostgreSQL/ and /SQLite/) , which share text object numbers ("object citation numbering") and the same document structure information. For -more see: <https://sisudoc.org> or <https://www.jus.uio.no/sisu> +more see: <https://sisudoc.org> or <https://git.sisudoc.org> DOCUMENT PROCESSING COMMAND FLAGS ................................. @@ -3527,7 +3527,7 @@ ONLINE ...... Online markup examples are available together with the respective outputs -produced from <https://www.jus.uio.no/sisu/SiSU/examples.html> or from +produced from <https://git.sisudoc.org/sisu-markup> or from There is of course this document, which provides a cursory overview of sisu markup and the respective output produced: @@ -4879,7 +4879,7 @@ Configure substitution in _sisu/sisu_document_make [9]: Table from the Wealth of Networks by Yochai Benkler - <https://www.jus.uio.no/sisu/the_wealth_of_networks.yochai_benkler> + <https://sisudoc.org/spine/en/html/the_wealth_of_networks.yochai_benkler/toc.html> [10]: for which you may alternatively use the full form author: title: and year: @@ -5200,7 +5200,7 @@ Configure substitution in _sisu/sisu_document_make **** Summary SiSU information Structuring Universe Structured information, Serialized Units <www.sisudoc.org> or - <www.jus.uio.no/sisu/> software for electronic texts, document collections, + <git.sisudoc.org/> software for electronic texts, document collections, books, digital libraries, and search, with "atomic search" and text positioning system (shared text citation numbering: "ocn") outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), EPUB, LaTeX, @@ -5775,169 +5775,19 @@ Configure substitution in _sisu/sisu_document_make data/sisu/conf/editor-syntax-etc/emacs/ data/sisu/conf/editor-syntax-etc/emacs/sisu-mode.el -** git -*** gitignore +*** todo + sisu_todo.org -#+HEADER: :tangle ../.gitignore -#+BEGIN_SRC sh -# git ls-files --others --exclude-from=.git/info/exclude -* -!README -!COPYRIGHT -!CHANGELOG -!CHANGELOGS/ -!CHANGELOGS/CHANGELOG -!CHANGELOGS/CHANGELOG_v* -!makefile -!Rakefile -!Rantfile -!qi -!setup/ -!setup/* -!version -!version.txt -!conf/ -!conf/** -!*.json -!*.org -!*.rb -!*.txt -!*.yml -!*.nix -!nix/ -!nix/** -!org/ -!bin -!bin/sisu -!bin/sisu-* -!bin/sisugem -!lib -!lib/** -!man -!man/** -!data -!data/doc -!data/doc/** -!data/sisu -!data/sisu/** -!*.sst -!*.ssm -!**/*.sst -!**/*.ssm -!debian/ -!debian/changelog -!debian/compat -!debian/control -!debian/copyright -!debian/gbp.conf -!debian/sisu*.manpages -!debian/sisu*.install -!debian/manpages/ -!debian/manpages/sisu*.7 -!debian/rules -!debian/sisu\.* -!debian/source/ -!debian/source/format -!debian/watch -*~ -*_ -\#* -*.\#* -*.tmp -*_tmp -*.gem -*.gemspec -!sisu.gemspec -*_.rb -*.rb_ -0???-*.patch -*.gz -*.xz -*_ -.* -!.gitignore -!.envrc -#+END_SRC +* sisu version SET VERSION :version:set:project: -##+HEADER: :tangle ../.gitignore -#+BEGIN_SRC sh -# git ls-files --others --exclude-from=.git/info/exclude -,*~ -,*_ -\#* -,*.\#* -,*.tmp -,*_tmp -.* -,*.gem -,*.gemspec -!.gitignore -!.envrc -,*_.rb -,*.rb_ -.pc -0???-*.patch -,*.gz -,*.xz +#+NAME: sisu_project_version +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_project_version()>> #+END_SRC -*** todo - sisu_todo.org - * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - sisu build - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 GPL should be - available at these locations: - <https://www.fsf.org/licensing/licenses/gpl.html> - <https://www.gnu.org/licenses/gpl.html> - - <https://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <https://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/sisu> - <https://git.sisudoc.org/projects/sisu-markup> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/config_env.org b/org/config_env.org new file mode 100644 index 00000000..5fcf7a53 --- /dev/null +++ b/org/config_env.org @@ -0,0 +1,229 @@ +-*- mode: org -*- +#+TITLE: configuration env +#+DESCRIPTION: env envrc used by make & nix +#+FILETAGS: :sisu:build:tools: +#+AUTHOR: Ralph Amissah +#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] +#+COPYRIGHT: Copyright (C) 2015 - 2025 Ralph Amissah +#+LANGUAGE: en +#+STARTUP: content hideblocks hidestars noindent entitiespretty +#+PROPERTY: header-args :exports code +#+PROPERTY: header-args+ :noweb yes +#+PROPERTY: header-args+ :results no +#+PROPERTY: header-args+ :cache no +#+PROPERTY: header-args+ :padline no +#+PROPERTY: header-args+ :mkdirp yes +#+OPTIONS: H:3 num:nil toc:t \n:t ::t |:t ^:nil -:t f:t *:t + +- [[./doc-reform.org][doc-reform.org]] [[../org/][org/]] +- [[./config_nix.org][config_nix.org]] +- [[./config_make.org][config_make.org]] + +* envrc +** nixDevEnv envrc :envrc: + +#+HEADER: :tangle ../nixDevEnv.sh +#+BEGIN_SRC shell +if [ -f .envrc ]; then + source_env_if_exists .envrc || source .envrc +fi +#+END_SRC + +* envrc :envrc: + +- https://github.com/nix-community/nix-direnv + - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000=" + +** .envrc + +#+NAME: envrc +#+HEADER: :tangle ../.envrc +#+BEGIN_SRC shell +if [ -f .envrc-git-init ]; then + source_env_if_exists .envrc-git-init || source .envrc-git-init +fi +if [ -f .envrc-local ]; then + source_env_if_exists .envrc-local || source .envrc-local +fi +if [ -f .envrc-nix ]; then + source_env_if_exists .envrc-nix || source .envrc-nix +fi +#+END_SRC + +** .envrc-nix + +- https://github.com/nix-community/nix-direnv + - source_url + - direnv fetchurl "https://raw.githubusercontent.com/nix-community/nix-direnv/<<direnv-version>>/direnvrc" "<<direnv-sha>>" + - ${NixDirEnvVersion} + +#+HEADER: :tangle ../.envrc-nix +#+BEGIN_SRC shell +NIX_ENFORCE_PURITY=1 +# - https://github.com/nix-community/nix-direnv +NixDirEnvVersion="<<direnv-version>>" +NixDirEnvSHA="<<direnv-sha>>" +if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then + source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "${NixDirEnvSHA}" +fi +watch_file flake.lock +watch_file flake.nix +watch_file shell.nix +watch_file makefile +watch_file nixDevEnv.sh +watch_file .envrc-local +watch_file .envrc-nix +PATH_add result/bin +use flake . +echo " +• consider running: + ❯❯ nix flake show + ❯❯ nix flake update && nix flake check && nix flake show + +• for a dev shell (development environment): + + ❯❯ nix develop + ❯❯ nix develop '.#' --print-build-logs -c zsh + ❯❯ nix develop '.#rsh-comprehensive-shell' --print-build-logs -c zsh + +• to build project: + + ❯❯ nix build '.#' --print-build-logs + - (see nix other/additional build options): + ❯❯ nix flake show +" +#+END_SRC + +*** 3.0.7 + +#+NAME: direnv-version +#+BEGIN_SRC shell +3.0.7 +#+END_SRC + +#+NAME: direnv-sha +#+BEGIN_SRC shell +sha256-bn8WANE5a91RusFmRI7kS751ApelG02nMcwRekC/qzc= +#+END_SRC + +*** 3.0.6 + +#+BEGIN_SRC shell +3.0.6 +#+END_SRC + +#+BEGIN_SRC shell +sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM= +#+END_SRC + +*** 3.0.4 + +#+BEGIN_SRC shell +3.0.4 +#+END_SRC + +#+BEGIN_SRC shell +sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4= +#+END_SRC + +*** 3.0.0 + +#+BEGIN_SRC shell +3.0.0 +#+END_SRC + +#+BEGIN_SRC shell +sha256-21TMnI2xWX7HkSTjFFri2UaohXVj854mgvWapWrxRXg= +#+END_SRC + +*** 2.4.0 + +#+BEGIN_SRC shell +2.4.0 +#+END_SRC + +#+BEGIN_SRC shell +sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U= +#+END_SRC + +#+BEGIN_SRC shell +2.3.0 +#+END_SRC + +#+BEGIN_SRC shell +sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8= +#+END_SRC + +*** empty + +#+NAME: direnv-sha_ +#+BEGIN_SRC shell +sha256-0000000000000000000000000000000000000000000= +#+END_SRC + +#+BEGIN_SRC shell +- https://github.com/nix-community/nix-direnv +NixDirEnvSHA="sha256-0000000000000000000000000000000000000000000=" +direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc +#+END_SRC + +** .envrc-git-init + +#+HEADER: :tangle ../.envrc-git-init +#+HEADER: :noweb yes +#+BEGIN_SRC shell +if [[ ! -d ./.git ]]; then + git init + git add . +fi +#+END_SRC + +** .envrc-local CHECK MODIFY + +- bespoke modify appropriately and generate if needed + +#+HEADER: :tangle ../.envrc-local_ +#+HEADER: :noweb yes +#+BEGIN_SRC shell +export SisuVER=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g') +PATH_add result/bin +#export sisuBIN=bin +#export sisuBIN=result/bin +export sisuSRC=~/grotto/repo/git.repo/projects/project-sisu/sisu +export sisuPROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/sisu +export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/susu-markup/sisu-markup-samples/data/samples/current +export sisuOUT=/srv/www/sisu +#export sisuOUT=/var/www +#export sisuOUTver=/tmp/sisu/$sisuVER/www +export sisuCGIbin=/var/www/cgi/cgi-bin +export sisuSearchActionLocal='http://localhost/sisu_search' +export sisuSearchActionRemote='https://sisudoc.org/sisu_search' +export sisuCGIform='sisu_search' +export sisuSQLdb='spine.search.db' +export sisuDBpath=/var/www/sqlite +#export sisuDBpath=/srv/www/sisu/sqlite +export RUBYLIB+=`pwd`/lib +#+END_SRC + +export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos + +*** .envrc-local CHECK MODIFY + +- bespoke modify appropriately and generate if needed + +#+HEADER: :noweb yes +#+BEGIN_SRC shell + export Date=`date "+%Y%m%d"` + export sisuver=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g') + export PROG_VER_GIT="`git describe --long --tags | sed -e 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'`" + #export PROG_VER_DECLARED="`cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`" + export sisuNixHelp="cat ./.env/nix-commands" + export sisuTest="nix shell .#default --print-build-logs --command sisu --very-verbose --epub --html --html-link-search --html-link-curate --curate --output=\"\$sisuOUT\" $sisuPOD/*" + export sisuHtml="sisu --very-verbose --html --html-link-search --html-link-curate --curate --sqlite-update --sqlite-db-filename=\"sisu.search.db\" --cgi-sqlite-search-filename=\"sisu_search\" --sqlite-db-path=\"\$sisuDBpath\" --output=\"\$sisuOUT\" $sisuPOD/*" + export sisuEpub="sisu --very-verbose --epub --output=\"\$sisuOUT\" $sisuPOD/*" + export sisuLatex="sisu --very-verbose --latex --output=\"\$sisuOUT\" $sisuPOD/*" + export sisuPdf="sisu --very-verbose --pdf --output=\"\$sisuOUT\" $sisuPOD/*" + export sisuSqliteCreateDB="sisu --very-verbose --sqlite-db-recreate --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\"" + export sisuSqlite="sisu --very-verbose --sqlite-discrete --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" + #export sisuSqlite="sisu --very-verbose --sqlite-update --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" +#+END_SRC diff --git a/org/config_git.org b/org/config_git.org index 88eae7f5..eb3d596e 100644 --- a/org/config_git.org +++ b/org/config_git.org @@ -25,6 +25,8 @@ # git clean -ix # find . -name "*_" | xargs rm -rf ,* +!.gitignore +!.gitattributes !nix/** !*.nix !flake.lock @@ -45,6 +47,7 @@ !conf/ !conf/** !*.json +!*.md !*.org !org/ !org/*.org @@ -94,18 +97,32 @@ ,*.gem ,*.gemspec !sisu.gemspec -,*_.rb -,*.rb_ 0???-*.patch ,*.gz ,*.xz ,*_ .* +,*_.org +,*_.nix +,*_.rb +,*.rb_ +,*_.txt +,*_.md +,*_ +,*.swp +,*~ +\#* +,*.\#* +#!*/ +#\#* +#*.\#* +tmp/** !.gitignore !.gitattributes !.envrc -!.env -!.env/** +!.envrc-local +!.envrc-nix +!!.envrc-git-init #+END_SRC ** .gitattributes :gitattributes: @@ -115,5 +132,5 @@ /org export-ignore .gitattributes export-ignore tangle export-ignore -flake.lock export-ignore +#flake.lock export-ignore #+END_SRC diff --git a/org/config_nix.org b/org/config_nix.org index 8dbfd4e0..b7085e73 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -1,10 +1,10 @@ -*- mode: org -*- #+TITLE: configuration nix -#+DESCRIPTION: makefile for spine +#+DESCRIPTION: configuration nix #+FILETAGS: :sisu:build:tools: #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] -#+COPYRIGHT: Copyright (C) 2015 - 2023 Ralph Amissah +#+COPYRIGHT: Copyright (C) 2015 - 2025 Ralph Amissah #+LANGUAGE: en #+STARTUP: content hideblocks hidestars noindent entitiespretty #+PROPERTY: header-args :exports code @@ -15,429 +15,357 @@ #+PROPERTY: header-args+ :mkdirp yes #+OPTIONS: H:3 num:nil toc:t \n:t ::t |:t ^:nil -:t f:t *:t -* nix :nix: - -#+NAME: nixpkgs_local -#+BEGIN_SRC sh -/srv/nix/nixpkgs -#+END_SRC - -- default.nix -- shell.nix - -** envrc :envrc: -*** .envrc - -- https://github.com/nix-community/nix-direnv - - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000=" - -#+HEADER: :tangle ../.envrc -#+BEGIN_SRC sh -use flake . -#use flake .#default -NIX_ENFORCE_PURITY=1 -NixDirEnvVersion="2.2.1" -if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then -# - https://github.com/nix-community/nix-direnv -# source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000=" - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" -fi -watch_file flake.lock -watch_file flake.nix -if [ -f .envrc-local ]; then - source_env_if_exists .envrc-local || source .envrc-local -fi -PATH_add result/bin -#nix flake update && nix flake check --show-trace && nix flake show -#+END_SRC - -*** .envrc-local CHECK MODIFY - -- bespoke modify appropriately and generate if needed - -#+HEADER: :tangle ../.envrc-local_ -#+HEADER: :noweb yes -#+BEGIN_SRC sh -export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos -#export NIX_PATH=nixpkgs=/nixpkgs-ra/nixpkgs -## reload when these files change -use flake -watch_file flake.nix -#eval "$(nix print-dev-env)" -export sisuVER=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g') -#export sisuBIN=bin -export sisuSRC=~/grotto/repo/git.repo/projects/project-sisu/sisu -export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/susu-markup/sisu-markup-samples/data/samples/current -export sisuOUT=/var/www -export sisuOUTver=/tmp/sisu/$sisuVER/www -export RUBYLIB+=`pwd`/lib -#+END_SRC - -** flake :flake: -*** flake -**** flake.nix +* sisu +** flake.nix :flake: #+HEADER: :tangle ../flake.nix #+HEADER: :noweb yes #+BEGIN_SRC nix { - description = "sisu parser & document generator"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; # "github:nixos/nixpkgs"; "github:NixOS/nixpkgs/nixpkgs-unstable"; "nixpkgs/nixos-unstable"; "nixpkgs/nixos-21.11"; - inputs.flake-utils.url = "github:numtide/flake-utils"; - outputs = { self, nixpkgs, flake-utils } @inputs: - let - pname = "sisu"; - version = "<<sisu_version_set>>"; - shell = ./shell.nix; # ./default.nix; - devEnv = ./.envrc; # ./shell.nix; # ./default.nix; - supportedSystems = [ "x86_64-linux" ]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; - forAllSystems = nixpkgs.lib.genAttrs supportedSystems; - nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); # nixpkgs instantiated for supported system types. - checkPhase = '' - runHook preCheck - runHook postCheck - ''; - preInstall = '' - mkdir -p $out/lib - mkdir -p $out/bin - ''; - installPhase = '' - runHook preInstall - mkdir -p $out/lib - mkdir -p $out/setup - mkdir -p $out/data - mkdir -p $out/bin - #cp ./lib/sisu.rb $out/lib/sisu.rb - cp -R ./lib/* $out/lib/. - cp -R ./data/* $out/data/. - cp -R ./setup/* $out/setup/. - ln -s $out/setup/sisu_version.rb $out/version - install -m755 ./bin/sisu $out/bin/sisu - runHook postInstall - ''; - postInstall = '' - # echo `ls -la $out/bin/sisu` - ## $out/bin/sisu -v - ''; - in { - packages = forAllSystems (system: - let pkgs = nixpkgsFor.${system}; - in with pkgs; { - default = stdenv.mkDerivation { - inherit pname; - inherit version; - meta.mainProgram = "sisu"; - executable = true; - src = self; - inherit shell; - inherit devEnv; - buildInputs = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - #ruby_2_7 - #rubyPackages_2_7.rake - #rubyPackages_2_7.sqlite3 - #rubyPackages_2_7.thor - sqlite - unzip - xz - zip - openssl - nixFlakes - validatePkgConfig - jq - git - sqlite - ]; - buildPhase = '' - ''; - inherit checkPhase; - inherit installPhase; - inherit postInstall; - }; - #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; - }); - apps = forAllSystems (system: { - default = { - type = "app"; - program = "${self.packages.${system}.default}/bin/sisu"; + description = "sisu parser & document generator"; + inputs.nixpkgs.url = "<<nixpkgs_url>>"; + outputs = { + self, + nixpkgs, + } @ inputs: let + pname = "sisu"; + version = "<<sisu_project_version>>"; + shell = ./shell.nix; # ./default.nix; + devEnv = ./.envrc; # ./.envrc; # ./shell.nix; # ./default.nix; + supportedSystems = [ "x86_64-linux" ]; # [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); # nixpkgs instantiated for supported system types + checkPhase = '' + runHook preCheck + runHook postCheck + ''; + preInstall = ""; + installPhase = '' + runHook preInstall + mkdir -p $out/lib + mkdir -p $out/setup + mkdir -p $out/data + mkdir -p $out/bin + cp -R ./lib/* $out/lib/. + cp -R ./data/* $out/data/. + cp -R ./setup/* $out/setup/. + ln -s $out/setup/sisu_version.rb $out/version + install -m755 ./bin/sisu $out/bin/sisu + runHook postInstall + ''; + postInstall = ""; + in { + packages = forAllSystems (system: let + pkgs = nixpkgsFor.${system}; + in + with pkgs; { + default = stdenv.mkDerivation { + inherit pname; + inherit version; + meta.mainProgram = "sisu"; + executable = true; + src = self; + inherit shell; + inherit devEnv; + buildPhase = ""; + inherit checkPhase; + inherit installPhase; + inherit postInstall; }; + #vendorSha256 = "sha256-0Q00000000000000000000000000000000000000000="; }); - devShells = forAllSystems (system: - let - pkgs = nixpkgsFor.${system}; - shellHook = '' - export Date=`date "+%Y%m%d"` - export sisuver=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g') - ### set local values in .envrc-local (or modify here if you must) - # export sisuPROJ=~/grotto/repo/git.repo/projects/doc-reform/code/software/sisu - # export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/doc-reform-markup/sisu-markup-samples - # export sisuSRC=~/grotto/repo/git.repo/projects/project-sisu/sisu - # export sisuDOC=~/grotto/repo/git.repo/projects/project-sisu/susu-markup/sisu-markup-samples/data/samples/current - # export sisuOUT=/srv/www/sisu - # export sisuOUTver=/srv/www/sisu/$sisuVER/www - # export sisu=/srv/www/sisu - # export sisu=/var/www/sqlite - # export sisu=/srv/www/sisu/sqlite - export sisu=$sisuPROJ/src - export sisu=$sisuPROJ/result/lib - export sisu=$sisuDOC/markup/pod - export sisu=$sisuOUT/$sisuVER - export sisu='http://localhost/sisu_search' - # export sisuSearchActionRemote='https://sisudoc.org/sisu_search' - export sisuCGIform='sisu_search' - export sisuSQLdb='sisusearch.db' - export PROG_VER_GIT="`git describe --long --tags | sed -e 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'`" - export PROG_VER_DECLARED="`cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`" - export sisuNixHelp="cat ./.env/nix-commands" - export sisuTest="nix shell .#default --print-build-logs --command sisu --very-verbose --epub --html --html-link-search --html-link-curate --curate --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuHtml="sisu --very-verbose --html --html-link-search --html-link-curate --curate --sqlite-update --sqlite-db-filename=\"sisu.search.db\" --cgi-sqlite-search-filename=\"sisu_search\" --sqlite-db-path=\"\$sisuDBpath\" --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuEpub="sisu --very-verbose --epub --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuLatex="sisu --very-verbose --latex --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuPdf="sisu --very-verbose --pdf --output=\"\$sisuOUT\" $sisuPOD/*" - export sisuSqliteCreateDB="sisu --very-verbose --sqlite-db-recreate --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\"" - export sisuSqlite="sisu --very-verbose --sqlite-discrete --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" - #export sisuSqlite="sisu --very-verbose --sqlite-update --sqlite-db-path=\"$sisuDBpath\" --sqlite-db-filename=\"sisu.search.db\" --output=\"\$sisuOUT\" $sisuPOD/*" - ''; - in with pkgs; { - devShell = mkShell { - name = "sisu dev shell default"; - inherit shell; - inherit devEnv; - packages = [ sqlite ]; - inherit shellHook; - }; - devShell-epub = mkShell { - name = "sisu dev shell for epub output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - libxml2 - html-tidy - xmlstarlet - epubcheck - ebook_tools - libxml2 - html-tidy - xmlstarlet - epubcheck - ebook_tools - epr - sigil - calibre #(suite includes: ebook-viewer) - foliate - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-html = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-latex-pdf = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - source-sans-pro - source-serif-pro - source-code-pro - texlive.combined.scheme-full - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-sqlite = mkShell { - name = "sisu dev shell for latex & pdf output"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - zip - unzip - xz - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - devShell-i18n = mkShell { - name = "sisu dev shell internationalization, po4a"; - inherit shell; - inherit devEnv; - packages = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - perl534Packages.Po4a - #devenv - nixFlakes - validatePkgConfig - jq - git - ]; - inherit shellHook; - }; - }); + apps = forAllSystems (system: { + default = { + type = "app"; + program = "${self.packages.${system}.default}/bin/sisu"; + }; + }); + devShells = forAllSystems (system: let + pkgs = nixpkgsFor.${system}; + shellHook = '' + #${pkgs.nix}/bin/nix build ".#" --print-build-logs; + nix build ".#" --print-build-logs; + echo "" + sisu -v + ''; + in + with pkgs; { + default = mkShell { + name = "sisu dev base shell"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + jq + git + ]; + inherit shellHook; + }; + rsh-epub = mkShell { + name = "sisu dev shell for epub output"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + graphicsmagick + zip + unzip + xz + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + epr + sigil + calibre #(suite includes: ebook-viewer) + foliate + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-html = mkShell { + name = "sisu dev shell for html output"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + graphicsmagick + zip + unzip + xz + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-latex-pdf = mkShell { + name = "sisu dev shell for latex & pdf output"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + graphicsmagick + zip + unzip + xz + source-sans-pro + source-serif-pro + source-code-pro + texlive.combined.scheme-full + # texliveFull # texliveTeTeX + noto-fonts + noto-fonts-cjk-sans + takao + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-comprehensive-shell = mkShell { + name = "comprehensive sisu dev shell (for epub & latex & pdf output)"; + inherit shell; + inherit devEnv; + packages = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + zip + unzip + xz + openssl + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + libxml2 + html-tidy + xmlstarlet + epubcheck + ebook_tools + epr + sigil + calibre #(suite includes: ebook-viewer) + foliate + validatePkgConfig + jq + source-sans-pro + source-serif-pro + source-code-pro + texlive.combined.scheme-full + # texliveFull # texliveTeTeX + noto-fonts + noto-fonts-cjk-sans + takao + validatePkgConfig + jq + git + ]; + inherit shellHook; + }; + rsh-sqlite = mkShell { + name = "sisu dev shell for sqlite3 output"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + graphicsmagick + zip + unzip + xz + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + rsh-i18n = mkShell { + name = "sisu dev shell internationalization, po4a"; + inherit shell; + inherit devEnv; + packages = [ + <<ruby_current>> + sqlite + graphicsmagick + perl538Packages.Po4a + validatePkgConfig + jq + #git + ]; + inherit shellHook; + }; + #default = import ./shell.nix { inherit pkgs; }; + }); }; } #+END_SRC -** shell.nix TODO +** shell.nix :shell: +*** tangle #+HEADER: :tangle ../shell.nix -#+HEADER: :shebang #!/usr/bin/env -S nix-shell --pure #+HEADER: :tangle-mode (identity #o755) +#+HEADER: :shebang "#!/usr/bin/env -S nix-shell --impure\n#!nix-shell -i bash" #+BEGIN_SRC nix { pkgs ? import <nixpkgs> {} }: with pkgs; -mkShell { - buildInputs = [ - <<ruby_current>> - <<packages_project_relevant>> - <<packages_build>> - <<packages_extra>> - ]; - shellHook = '' - if [[ -e ".envrc" ]]; then - source .envrc - fi - eval "$(starship init bash)" - ''; -} + mkShell { + buildInputs = [ + <<ruby_current>> + <<packages_project_relevant>> + <<packages_build>> + <<packages_extra>> + ]; + shellHook = '' + ''; + } #+END_SRC -** packages.nix -*** default +** shared parts +*** nixpkgs url -#+HEADER: :NO-tangle ../packages.nix +#+NAME: nixpkgs_url #+BEGIN_SRC nix -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - <<ruby_current>> - <<packages_project_relevant>> - <<packages_build>> -] +github:NixOS/nixpkgs/nixpkgs-unstable #+END_SRC -*** ruby 3.1 +*** ruby versions +**** ruby package selection +***** ruby next -#+HEADER: :tangle ../nix/pkglst/packages_ruby_3_1.nix +#+NAME: ruby_next #+BEGIN_SRC nix -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - <<ruby_version_3_1>> - <<packages_project_relevant>> - <<packages_build>> -] +ruby<<ruby_version_next>> +rubyPackages<<ruby_version_next>>.rake +rubyPackages<<ruby_version_next>>.sqlite3 +rubyPackages<<ruby_version_next>>.thor #+END_SRC -*** ruby 3.0 +***** ruby current -#+HEADER: :tangle ../nix/pkglst/packages_ruby_3_0.nix +#+NAME: ruby_current #+BEGIN_SRC nix -{ pkgs ? import <nixpkgs> {} }: -with pkgs; [ - <<ruby_version_3_0>> - <<packages_project_relevant>> - <<packages_build>> -] +ruby<<ruby_version_current>> +rubyPackages<<ruby_version_current>>.rake +rubyPackages<<ruby_version_current>>.sqlite3 +rubyPackages<<ruby_version_current>>.thor #+END_SRC -*** ruby legacy +***** ruby legacy #+NAME: ruby_legacy #+BEGIN_SRC nix -<<ruby_version_3_0>> +ruby<<ruby_version_legacy>> +rubyPackages<<ruby_version_legacy>>.rake +rubyPackages<<ruby_version_legacy>>.sqlite3 +rubyPackages<<ruby_version_legacy>>.thor #+END_SRC -*** ruby current +**** SET ruby nix package versions (current, next) +***** SET ruby version next -#+NAME: ruby_current +#+NAME: ruby_version_next #+BEGIN_SRC nix -<<ruby_version_3_1>> +_3_4 #+END_SRC -*** ruby next +***** SET ruby version current -#+NAME: ruby_next +- default to current nix version, which is ruby 3.3 but not provided as a fixed lable/tag, so leave blank and will + follow nix current nix + +#+NAME: ruby_version_current +#+BEGIN_SRC nix +#+END_SRC + +***** SET ruby version legacy + +#+NAME: ruby_version_legacy #+BEGIN_SRC nix -<<ruby_version_3_1>> +_3_2 #+END_SRC -*** ruby 3.0 - ruby_version_3_0 +**** ruby fixed versions +***** ruby 3.4 - ruby_version_3_4 -#+NAME: ruby_version_3_0 +#+NAME: ruby_version_3_4 #+BEGIN_SRC nix -ruby_3_0 -rubyPackages_3_0.rake -rubyPackages_3_0.sqlite3 -rubyPackages_3_0.thor +ruby_3_4 +rubyPackages_3_4.rake +rubyPackages_3_4.sqlite3 +rubyPackages_3_4.thor #+END_SRC -*** ruby 3.1 - ruby_version_3_1 +***** ruby 3.2 - ruby_version_3_2 -#+NAME: ruby_version_3_1 +#+NAME: ruby_version_3_2 #+BEGIN_SRC nix -ruby_3_1 -rubyPackages_3_1.rake -rubyPackages_3_1.sqlite3 -rubyPackages_3_1.thor +ruby_3_2 +rubyPackages_3_2.rake +rubyPackages_3_2.sqlite3 +rubyPackages_3_2.thor #+END_SRC -*** nix related packages +*** packages.nix +**** nix related packages #+NAME: nix_packages #+BEGIN_SRC nix @@ -446,37 +374,46 @@ bundler bundix #+END_SRC -*** project relevant packages +**** project relevant packages #+NAME: packages_project_relevant #+BEGIN_SRC nix sqlite +graphicsmagick unzip xz zip openssl -#texlive-combined-full +#texliveFull # texliveTeTeX #+END_SRC -*** project misc build packages +**** project misc build packages #+NAME: packages_build #+BEGIN_SRC nix nixFlakes validatePkgConfig +nix-output-monitor +nix-tree jq git #+END_SRC #+NAME: packages_extra #+BEGIN_SRC nix -starship +#starship #+END_SRC -** variables -** spine version SET VERSION :version:set:project: +*** sisu version SET VERSION :version:set:project: -#+NAME: sisu_version_set +#+NAME: sisu_project_version +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_project_version()>> +#+END_SRC + +* nix :nix: + +#+NAME: nixpkgs_local #+BEGIN_SRC sh -0.7.3 +/srv/nix/nixpkgs #+END_SRC diff --git a/org/css.org b/org/css.org index 370858c0..d9c9a711 100644 --- a/org/css.org +++ b/org/css.org @@ -3454,57 +3454,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - css - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC @@ -4817,6 +4817,6 @@ encoding: utf-8 - Git <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> + <https://git.sisudoc.org/projects/sisu> + <https://git.sisudoc.org/projects/sisu-markup> #+END_SRC diff --git a/org/digests.org b/org/digests.org index 20831af8..a9088fd5 100644 --- a/org/digests.org +++ b/org/digests.org @@ -276,57 +276,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - digests - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/env.org b/org/env.org index 28df5017..248cf044 100644 --- a/org/env.org +++ b/org/env.org @@ -257,7 +257,6 @@ module SiSU_Clear and @md.sfx_src =~/ss[ftsumc]/ @env_out_root=@env.path.output @env_out="#{@env.path.output}/#{@fnb}" - @@publisher='SiSU http://www.jus.uio.no/sisu' @env_pdf="#{@env_out_root}/pdf" end end @@ -774,7 +773,7 @@ module SiSU_Info_Db def port #PGPORT ((defined? @rc['db']['postgresql']['port']) \ && ( @rc['db']['postgresql']['port'] =~/\d+/ \ - || @rc['db']['postgresql']['port'].is_a?(Fixnum))) \ + || @rc['db']['postgresql']['port'].is_a?(Integer))) \ ? @rc['db']['postgresql']['port'] : (@defaults[:postgresql_port]) end @@ -5944,10 +5943,10 @@ WOK : "#{md.opt.sisu_data_dir?}/sisu/image" images=%W[bullet_09.png arrow_next_red.png arrow_prev_red.png arrow_up_red.png] images.each do |i| #move to avoid repeated tests - if FileTest.file?("#{src}/#{i}") + if Pathname#exist?("#{src}/#{i}") FileUtils::cp("#{src}/#{i}","#{pth}/#{i}") \ - unless FileTest.file?("#{pth}/#{i}") - else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}]} + unless Pathname#exist?("#{pth}/#{i}") + else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}] [#{src}/#{i}]} end end pth @@ -7731,6 +7730,7 @@ module SiSU_Sys_Call when /pdflatex/ "#{texpdf} -interaction=#{mode} #{@input} #{tell}\n" end + #puts texpdf_cmd system(texpdf_cmd) else STDERR.puts "\t*WARN* none of the following programs are installed: #{@texpdf}" end @@ -8568,7 +8568,7 @@ module SiSU_Info_About sisu --txt --html --epub --odt --pdf --sqlite --manpage --texinfo --concordance --qrcode --verbose sisu.ssm cd - See output produced, or see man pages: man sisu - <http://www.sisudoc.org/> <http://www.jus.uio.no/sisu/> + <https://sisudoc.org> <https://git.sisudoc.org/sisu> WOK end end @@ -8579,57 +8579,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - se - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/harvest.org b/org/harvest.org index 4d37bd31..817674cb 100644 --- a/org/harvest.org +++ b/org/harvest.org @@ -717,7 +717,7 @@ module SiSU_HarvestTopics <meta name="dc.title" content= "SiSU metadata harvest, Topics - SiSU 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="#{sv.project} #{sv.version} of #{sv.date_stamp} (n*x and Ruby!)" /> -<link rel="generator" href="http://www.jus.uio.no/sisu/SiSU" /> +<link rel="generator" href="https://git.sisudoc.org/sisu" /> <link href="#{css_path}" rel="stylesheet"> <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> </head> @@ -1195,7 +1195,7 @@ module SiSU_HarvestAuthors <meta name="dc.title" content= "SiSU metadata harvest, Authors - SiSU 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="#{sv.project} #{sv.version} of #{sv.date_stamp} (n*x and Ruby!)" /> -<link rel="generator" href="http://www.jus.uio.no/sisu/SiSU" /> +<link rel="generator" href="https://git.sisudoc.org/sisu" /> <link href="#{css_path}" rel="stylesheet" > <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> </head> @@ -1403,57 +1403,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - harvest - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/html.org b/org/html.org index 15f3a87a..a1453566 100644 --- a/org/html.org +++ b/org/html.org @@ -1073,14 +1073,12 @@ WOK [<a href="http://sisudoc.org/sisu_manual/en/html/sisu/toc.html">Manual</a>] </p> <p> -[<a href="http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary">Source</a>] -[<a href="http://lists.sisudoc.org/listinfo/sisu">List Info (sisu@lists.sisudoc.org)</a>] +[<a href="http://git.sisudoc.org/projects/sisu">Source</a>] </p> <h1>SiSU Markup Samples</h1> <p> -[<a href="http://git.sisudoc.org/gitweb/?p=doc/sisu-markup-samples.git;a=summary">Source</a>] -[<a href="http://sisudoc.org/sisu_markup_samples.html">Output</a>] +[<a href="http://git.sisudoc.org/projects/sisu-markup-samples">Source</a>] </p> <hr /> @@ -1092,8 +1090,8 @@ WOK <www.sisudoc.org> </a> or - <a href="http://www.jus.uio.no/sisu/" target="_top"> - <www.jus.uio.no/sisu/> + <a href="https://git.sisudoc.org" target="_top"> + <git.sisudoc.org/> </a> software for electronic texts, document collections, books, digital libraries & search, with "atomic search" & text locating system (shared object citation numbering: "<i>ocn</i>"). Outputs include: plaintext, HTML, EPUB, ODT (OpenDocumentText), (XHTML, XML,) LaTeX, PDF, SQL (PostgreSQL and SQLite). @@ -4101,7 +4099,7 @@ module SiSU_Concordance @data=SiSU_HTML::Source::HTML_Environment.new(particulars).tuned_file_instructions @file=SiSU_Env::FileOp.new(@md) @fnb=@md.fnb - @lex_button=%{<a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" height="44" width="144" valign="center" src="#{@file.path_rel_links.html_seg_2}_sisu/image/sisu.png" alt="SiSU home -->"></a>} + @lex_button=%{<a href="https://git.sisudoc.org/" target="_top"><img border="0" height="44" width="144" valign="center" src="#{@file.path_rel_links.html_seg_2}_sisu/image/sisu.png" alt="SiSU home -->"></a>} @doc_details =<<WOK <table summary="links to text related to this rudimentary index" width="96%" border="0" cellpadding="0" align="center"><tr><td width="2%" align="right"> </td><td width="94%" valign="top" align="justify"><h1 class="small"><a href="#{@md.file.base_filename.html_segtoc}"><b>#{@md.title.full}</b></a></h1><p class="bold">#{@md.author}</p></td></tr></table> WOK @@ -4134,7 +4132,7 @@ WOK <meta name="Description" content=" SiSU created"> <meta name="keywords" content="word index for #{@md.title.full}"> <meta name="generator" content="SiSU (Linux & Ruby!)"> - <link rel="generator" href="http://www.jus.uio.no/sisu" /> + <link rel="generator" href="https://git.sisudoc.org/" /> <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> #{stylesheet.css_head_seg} </head> @@ -5216,7 +5214,7 @@ SiSU manifest: #{@md.title.full} </title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="sourcefile" content="#{@md.fns}" /> -<link rel="generator" href="http://www.jus.uio.no/sisu" /> +<link rel="generator" href="https://git.sisudoc.org/" /> <link rel="shortcut icon" href="#{@f.path_rel_links.html_scroll_css}_sisu/image_sys/rb7.ico" /> #{@stylesheet.css_head} </head> @@ -5930,57 +5928,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - html - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/hub.org b/org/hub.org index 705bbf21..7e21b012 100644 --- a/org/hub.org +++ b/org/hub.org @@ -3112,57 +3112,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - hub - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/i18n.org b/org/i18n.org index a4c43266..7bc720aa 100644 --- a/org/i18n.org +++ b/org/i18n.org @@ -1950,59 +1950,8 @@ end * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - i18n - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC * NOTES diff --git a/org/json.org b/org/json.org index 3ea186d4..ba9ff0a6 100644 --- a/org/json.org +++ b/org/json.org @@ -1014,7 +1014,7 @@ module SiSU_XML_Tags #Format * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org/ --> WOK else @@ -1025,7 +1025,7 @@ WOK * #{rubyv} * #{sc} * #{lastdone} - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org/ --> WOK end @@ -1570,57 +1570,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - json - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/manpage.org b/org/manpage.org index 2b9f1142..bd4b344c 100644 --- a/org/manpage.org +++ b/org/manpage.org @@ -144,7 +144,7 @@ GSUB 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://sisudoc.org/> or <https://git.sisudoc.org/> .TP .SH SOURCE <http://git.sisudoc.org/> @@ -383,57 +383,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - manpage - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/misc.org b/org/misc.org index abb23cc1..5e9fd259 100644 --- a/org/misc.org +++ b/org/misc.org @@ -1160,7 +1160,6 @@ module SiSU_Relaxng 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> * SiSU uses: * Standard SiSU markup syntax, @@ -1168,8 +1167,8 @@ module SiSU_Relaxng * Standard SiSU object citation numbering and system * Homepages: - [http://www.jus.uio.no/sisu] - [http://www.sisudoc.org] + [https://www.sisudoc.org] + [https://git.sisudoc.org] * Ralph Amissah [ralph@amissah.com] @@ -2687,7 +2686,7 @@ __END__ * Ruby version: ruby 1.8.5 (2006-08-25) [i486-linux] * * Last Generated on: Sat Nov 18 15:28:08 +0000 2006 - * SiSU http://www.jus.uio.no/sisu + * SiSU https://git.sisudoc.org --> #+END_SRC @@ -4067,57 +4066,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - misc - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/object_munge.org b/org/object_munge.org index b950545c..29fcdd73 100644 --- a/org/object_munge.org +++ b/org/object_munge.org @@ -277,57 +277,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - object_munge - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/param.org b/org/param.org index 27a9520e..a46bf083 100644 --- a/org/param.org +++ b/org/param.org @@ -977,7 +977,6 @@ module SiSU_Param @dir_out="#{@env.path.output}/#{@fnb}" @dir_tex=@env.processing_path.tex @dir_lout=@env.processing_path.lout - @@publisher='SiSU http://www.jus.uio.no/sisu' end @txt_path=@txt_path ||= @env.path.output @stmp=%{#{@fns}}[/^(.+?)\..*/m,1] @@ -2311,57 +2310,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - param - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/shared.org b/org/shared.org index 5cadea6e..ced99872 100644 --- a/org/shared.org +++ b/org/shared.org @@ -152,19 +152,21 @@ module SiSU_Images def images_set @pwd=(/(\S+?)(?:\/(?:#{Px[:lng_lst_rgx]}))?$/).match(Dir.pwd)[1] def copy(src_path,dest_path,images=nil) - if FileTest.directory?(src_path) + require 'pathname' + src_path = Pathname.new(src_path) + dest_path = Pathname.new(dest_path) + if src_path.directory? FileUtils::cd(src_path) unless images images=Dir.glob("*.{png,jpg,gif,ico}") end - unless FileTest.directory?(dest_path) \ - or FileTest.symlink?(dest_path) + unless dest_path.directory? FileUtils::mkdir_p(dest_path) FileUtils::chmod(0755,dest_path) end if images.length > 0 images.each do |i| - if FileTest.file?(i) + if Pathname#exist?(i) FileUtils::cp_r(i,"#{dest_path}/#{i}") FileUtils::chmod(0644,"#{dest_path}/#{i}") else STDERR.puts %{\t*WARN* did not find image - "#{i}" [#{__FILE__}:#{__LINE__}]} @@ -1335,7 +1337,7 @@ WOK #{Ax[:tab]*2}#{inf_xml} #{Ax[:tab]}</#{@attrib}> #{Ax[:tab]}</metadata> - <br /> + <br /> WOK end def metadata @@ -2247,57 +2249,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - shared - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/sisu-bin.org b/org/sisu-bin.org index 52ad8ec7..385f118b 100644 --- a/org/sisu-bin.org +++ b/org/sisu-bin.org @@ -711,57 +711,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - sisu - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/sisu.org b/org/sisu.org index 18fb96b1..6e9f396e 100644 --- a/org/sisu.org +++ b/org/sisu.org @@ -74,57 +74,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - sisu - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/sisu_version_info_and_doc_header_including_copyright_and_license.org b/org/sisu_version_info_and_doc_header_including_copyright_and_license.org new file mode 100644 index 00000000..74471f33 --- /dev/null +++ b/org/sisu_version_info_and_doc_header_including_copyright_and_license.org @@ -0,0 +1,81 @@ +-*- mode: org -*- +#+TITLE: spine (doc_reform) object-centric document abstraction +#+DESCRIPTION: documents - structuring, publishing in multiple formats & search +#+FILETAGS: :spine:abstraction: +#+AUTHOR: Ralph Amissah +#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] +#+COPYRIGHT: Copyright (C) 2015 - 2023 Ralph Amissah +#+LANGUAGE: en +#+STARTUP: content hideblocks hidestars noindent entitiespretty +#+PROPERTY: header-args :noweb yes +#+PROPERTY: header-args+ :exports code +#+PROPERTY: header-args+ :results no +#+PROPERTY: header-args+ :cache no +#+PROPERTY: header-args+ :padline no +#+PROPERTY: header-args+ :mkdirp yes +#+OPTIONS: H:3 num:nil toc:t \n:t ::t |:t ^:nil -:t f:t *:t + +- [[./doc-reform.org][doc-reform.org]] [[./][org/]] + +* sisu doc header including copyright & license + +#+NAME: sisu_doc_header_including_copyright_and_license +#+BEGIN_SRC org +encoding: utf-8 +- Name: SiSU + + - Description: documents, structuring, processing, publishing, search + sisu + + - Author: Ralph Amissah + <ralph.amissah@gmail.com> + + - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, + 2020, 2021, 2024, 2025 Ralph Amissah, + All Rights Reserved. + + - License: GPL 3 or later: + + 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 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 GPL should be + available at these locations: + <https://www.fsf.org/licensing/licenses/gpl.html> + <https://www.gnu.org/licenses/gpl.html> + + - SiSU uses: + - Standard SiSU markup syntax, + - Standard SiSU meta-markup syntax, and the + - Standard SiSU object citation numbering and system + + - Homepages: + <https://www.sisudoc.org> + + - Git + <https://git.sisudoc.org/projects/> + <https://git.sisudoc.org/projects/sisu> + <https://git.sisudoc.org/projects/sisu-markup> +#+END_SRC + +* sisu version info SET VERSION + +#+NAME: sisu_project_version +#+BEGIN_SRC org +7.3.1 +#+END_SRC diff --git a/org/src.org b/org/src.org index c8d06d79..6763135f 100644 --- a/org/src.org +++ b/org/src.org @@ -1413,15 +1413,15 @@ GSUB end end if ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn == data_trn[t].ocn) @m_s,@m_t=s,t elsif ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn != data_trn[t].ocn) p '--- OCN ---' p 'mis-match' @@ -2584,15 +2584,15 @@ GSUB end end if ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn == data_trn[t].ocn) @m_s,@m_t=s,t elsif ((defined? data_src[s].ocn) \ - && (data_src[s].ocn.is_a?(Fixnum))) \ + && (data_src[s].ocn.is_a?(Integer))) \ and ((defined? data_trn[t].ocn) \ - && (data_trn[t].ocn.is_a?(Fixnum))) \ + && (data_trn[t].ocn.is_a?(Integer))) \ and (data_src[s].ocn != data_trn[t].ocn) p '--- OCN ---' p 'mis-match' @@ -3392,57 +3392,6 @@ SiSU.ssm * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - src - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/sst.org b/org/sst.org index 93945585..978da8e2 100644 --- a/org/sst.org +++ b/org/sst.org @@ -1663,57 +1663,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - sst - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/texinfo.org b/org/texinfo.org index 37756c51..9cf02e79 100644 --- a/org/texinfo.org +++ b/org/texinfo.org @@ -2,7 +2,6 @@ #+TITLE: sisu texinfo #+DESCRIPTION: documents - structuring, various output representations & search #+FILETAGS: :sisu:texinfo: -:wqa #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] #+COPYRIGHT: Copyright (C) 2015 - 2021 Ralph Amissah @@ -317,7 +316,7 @@ module SiSU_TexInfo else if dob.is==:para \ && (dob.obj !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/) - dob.obj=dob.ocn.is_a?(Fixnum) \ + dob.obj=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}\n\n" : "#{dob.obj}\n\n" end end @@ -624,7 +623,7 @@ WOK def clean(dob) if dob.is==:heading \ and dob.obj !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/ - dob.obj=dob.ocn.is_a?(Fixnum) \ + dob.obj=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj end dob.obj=dob.obj.gsub(/\n/m,' '). @@ -867,7 +866,7 @@ WOK def clean(dob,txt) if dob.is==:heading \ and txt !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/ - txt=dob.ocn.is_a?(Fixnum) \ + txt=dob.ocn.is_a?(Integer) \ ? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj end txt.strip @@ -893,57 +892,6 @@ watch title, might need full_title * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - texinfo - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/texpdf.org b/org/texpdf.org index dd1d2486..bd92b270 100644 --- a/org/texpdf.org +++ b/org/texpdf.org @@ -40,7 +40,7 @@ module SiSU_TeX @@tabular="{tabular}" @@column_instruct=@@squigle_close=@@tex_line_mode=@@tex_word_mode=@@line_mode='' @@tex_debug_counter=@@table_pagebreak_counter=@@tex_footnote_call_counter=@@tex_table_flag=@@tex_counter=@@tex_column=@@tex_columns=@@tex_columns=@@counting=0 - @@tex_pattern_margin_number=/\\\\begin\\\{tiny\\\}\\\\hspace\\\{0mm\\\}\\\\end\\\{tiny\\\}\\\{\\\\marginpar.+?\s+/ + @@tex_pattern_margin_number=/\\\\ocn\\\{[0-9]+\\\}/ @@n=@@tableheader=@@rights=nil @@date ||=SiSU_Env::InfoDate.new class Source @@ -711,65 +711,6 @@ module SiSU_TeX end dob end - def tex_box_listings - <<-WOK -\\definecolor{listinggray}{gray}{0.9} -\\definecolor{lbcolor}{rgb}{0.9,0.9,0.9} -\\lstset{ - backgroundcolor=\\color{lbcolor}, - tabsize=4, - rulecolor=, - language=, - basicstyle=\\scriptsize, - upquote=true, - aboveskip={1.5\\baselineskip}, - columns=fixed, - showstringspaces=false, - extendedchars=true, - breaklines=true, - prebreak = \\raisebox{0ex}[0ex][0ex]{\\ensuremath{\\hookleftarrow}}, - frame=single, - showtabs=false, - showspaces=false, - showstringspaces=false, - identifierstyle=\\ttfamily, - keywordstyle=\\color[rgb]{0,0,1}, - commentstyle=\\color[rgb]{0.133,0.545,0.133}, - stringstyle=\\color[rgb]{0.627,0.126,0.941}, -} - WOK - end - def tex_box_boites - <<-WOK -\\def\\codeblockboitebox{% - \\def\\bkvz@before@breakbox{\\ifhmode\\par\\fi\\vskip\\breakboxskip\\relax}% - \\def\\bkvz@set@linewidth{\\advance\\linewidth -2\\fboxrule - \\advance\\linewidth -2\\fboxsep} % - \\def\\bk@line{\\hbox to \\linewidth{% - \\ifbkcount\\smash{\\llap{\\the\\bk@lcnt\\ }}\\fi - \\psframebox*[framesep=0pt,linewidth=0pt]{% - \\vrule\\@width\\fboxrule \\hskip\\fboxsep - \\box\\bk@bxa - \\hskip\\fboxsep \\vrule\\@width\\fboxrule - }% - }}% - %\\def\\bkvz@top{\\hrule\\@height\\fboxrule} - \\def\\bkvz@top{\\hrule height .6pt}% - \\def\\bkvz@bottom{\\hrule\\@height\\fboxrule}% - \\breakbox} -\\def\\endcodeblockboitebox{\\endbreakbox} - WOK - end - def tex_codeblock - codeblock_box=if @codeblock_box=='listings' - tex_box_listings - elsif @codeblock_box=='boites' - tex_box_boites - else - tex_box_boites - end - codeblock_box - end def markup(data) @tex_file=[] home=the_text.txt_home.gsub(/#{Mx[:br_line]}|#{Mx[:br_nl]}|#{Mx[:br_paragraph]}|\\\\/,' - ') #no line splitting in heading neither html nor latex @@ -788,31 +729,6 @@ module SiSU_TeX end @tex_file << <<-WOK #{@tex_ml.header}#{@tex_ml.footer} -\\tolerance=300 -\\clubpenalty=300 -\\widowpenalty=300 -\\makeatother -\\makeatother -\\chardef\\txtbullet="2022 -\\chardef\\tilde="7E -%\\chardef\\asterisk="2A -\\def\\asterisk{{\\rm \\char42} } -\\definecolor{Light}{gray}{.92} -\\newcommand{\\Codeblock}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} -\\newcommand{\\monosp}[1]{\\normaltext\\ttfamily\\texbackslash#1} -\\newcommand{\\parasep}{\\\\ \\begin{center}*\\hspace{2em}*\\hspace{2em}*\\end{center} \\\\} -\\newcommand{\\hardspace}{{~}} -%\\newcommand{\\hardspace}{\\hspace{.5em}} -\\newcommand{\\caret}{{\\^{~}}} -\\newcommand{\\pipe}{{\\textbar}} -\\newcommand{\\curlyopen}{\{} -\\newcommand{\\curlyclose}{\}} -\\newcommand{\\lt}{{\UseTextSymbol{OML}{<}}} -\\newcommand{\\gt}{{\UseTextSymbol{OML}{>}}} -\\newcommand{\\slash}{{/}} -\\newcommand{\\underscore}{\\_} -\\newcommand{\\exclaim}{\\Verbatim{!}} -#{tex_codeblock} % (tilde hash amp affected by http) % \\sloppy \\begin{document} @@ -870,8 +786,12 @@ module SiSU_TeX x={} if (@make.build.toc?) toc=<<-WOK +\\clearpage +\\pagenumbering{roman} +\\setcounter{page}{1} \\renewcommand{\\contentsname}{#{@translate.contents}} \\tableofcontents +\\clearpage WOK toc_pb={ l: @tex_ml.newpage(:landscape), p: @tex_ml.newpage(:portrait) } else @@ -884,6 +804,9 @@ module SiSU_TeX \\pagestyle{fancy} #{toc}#{toc_pb[:l]} \\pagenumbering{arabic} +\\clearpage +\\setcounter{page}{2} +\\clearpage #{@tex_ml.paraskip_normal} #{@tex_ml.newpage(:landscape)} WOK @@ -895,6 +818,9 @@ module SiSU_TeX #{toc}#{toc_pb[:p]} #{@tex_ml.newpage(:portrait)} \\pagenumbering{arabic} +\\clearpage +\\setcounter{page}{2} +\\clearpage #{@tex_ml.paraskip_normal} #{@tex_ml.newpage(:portrait)} WOK @@ -960,7 +886,7 @@ module SiSU_TeX # tags=tags +"\\hspace{0mm}\\hypertarget{#{t}}{\\hspace{0mm}}" # end #end - "\\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#{dob.ocn}}{#{dob.ocn}}#{tags}\\end{tiny}}}" #ocn object citation numbering + "\\ocn{#{dob.ocn}}" #ocn object citation numbering else '' end dob.tmp = paranumber_display + dob.tmp @@ -1348,7 +1274,7 @@ module SiSU_TeX_Pdf include SiSU_Parts_TeXpdf attr_accessor :string,:string1,:orientation,:url,:dir,:tex @@sys=SiSU_Env::SystemCall.new - @@tex_pattern_margin_number=/\\begin\{tiny\}\\hspace\{0mm\}\\end\{tiny\}\{\\marginpar.+?\}\}\}/ + @@tex_pattern_margin_number=/\\ocn\{[0-9]+\}/ @@tableheader={ 'a4' => { p: 0, l: 0 }, 'a5' => { p: 0, l: 0 }, @@ -1374,7 +1300,7 @@ module SiSU_TeX_Pdf show_ocn=(@make.build.ocn?) \ ? dob.ocn : '' - "\\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#{dob.ocn}}{#{show_ocn}}\\end{tiny}}}" #ocn object citation numbering + "\\ocn{#{dob.ocn}}" #ocn object citation numbering end def table_special_characters(r) r=r.gsub(/#{Mx[:tc_p]}/mu,'&'). @@ -1546,7 +1472,7 @@ module SiSU_TeX_Pdf dob.tmp=dob.tmp.gsub(/\\begin\{(bfseries|itshape)\}(.+?)\\end\{\1\}/m,'\2'). gsub(/#{Mx[:url_o]}|#{Mx[:url_c]}/,'') cont_ln=dob.tmp.dup - cont_ln=cont_ln.gsub(/\\begin\{(monosp)\}(.+?)\\end\{\1\}/m,'\2'). + cont_ln=cont_ln.gsub(/\\ocn\{[0-9]*\}/m,''). gsub(@@tex_pattern_margin_number,''). gsub(/#{Tex[:backslash]*2}/,"#{Tex[:backslash]*4}"). # added w42 gsub(/\\footnote\[\d+\]\{%.+?\\end\{scriptsize\}\s*\}/m,''). #arbitrary bugfix, revisit should not be necessary, eg. wta.1994 2004w22 @@ -1620,9 +1546,9 @@ module SiSU_TeX_Pdf when /9/ then '8.0em' else '-1.0em' end - "\\begin{Bullet}{#{indent}}$\\txtbullet$\\hspace{\\enspace}#{@dob.tmp}\\end{Bullet}" + "\\begin{Bullet}{#{indent}}#{@dob.tmp}\\end{Bullet}" else - "\\begin{Bullet}{-5mm}$\\txtbullet$\\hspace{\\enspace}#{@dob.tmp}\\end{Bullet}" + "\\begin{Bullet}{-5mm}#{@dob.tmp}\\end{Bullet}" end blt end @@ -1991,52 +1917,72 @@ module SiSU_TeX_Pdf case @tex2pdf when /xe/ if @md.opt.lng =~/(?:zh|ja|ko)/ - <<-WOK -\\usepackage{ucs, fontspec, xltxtra, xunicode, xeCJK} -\\setmainCJKlanguage{#{tex_head_lang[:mainlang]}} -\\setCJKmainfont{#{texpdf_fontface_cjk}} -\\XeTeXlinebreaklocale "#{tex_head_lang[:mainlang]}" -\\XeTeXlinebreakskip = 0pt plus 1pt -\\setotherlanguage{#{tex_head_lang[:otherlang]}} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} - WOK + if @md.opt.lng =~/zh/ + <<-WOK +\\setCJKmainfont{Noto} +\\setCJKmainfont{Noto Sans CJK TC} +\\setCJKsansfont{Noto Sans CJK TC} +\\setCJKmonofont{Noto Sans Mono CJK TC} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + elsif @md.opt.lng =~/ja/ + <<-WOK +\\setCJKmainfont{TakaoMincho} +\\setCJKsansfont{TakaoMincho Sans} +\\setCJKmonofont{TakaoMincho Sans Mono CJK JP} +%\\setCJKmainfont{Noto Serif CJK JP} +%\\setCJKsansfont{Noto Sans CJK JP} +%\\setCJKmonofont{Noto Sans Mono CJK JP} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + elsif @md.opt.lng =~/ko/ + <<-WOK +\\setCJKmainfont{Noto} +\\setCJKmainfont{Noto Sans CJK KR} +\\setCJKsansfont{Noto Sans CJK KR} +\\setCJKmonofont{Noto Sans Mono CJK KR} +\\setmainlanguage{#{tex_head_lang[:mainlang]}} +\\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface_cjk}} +% \\setotherfont{#{texpdf_fontface}} +\\setotherfont{Noto Sans} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} + WOK + else puts "lang error" + end elsif (tex_head_lang[:mainlang] == "english" \ && (tex_head_lang[:otherlang] == "english" \ || tex_head_lang[:otherlang] == "" \ || tex_head_lang[:otherlang].length == 0)) <<-WOK -\\usepackage{polyglossia, ucs, fontspec, xltxtra, xunicode} -\\setmainlanguage{#{tex_head_lang[:mainlang]}} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} -% \\setsansfont{#{texpdf_fontface_sans}} -% \\setromanfont{#{texpdf_fontface_serif}} +% \\setmainlanguage{#{tex_head_lang[:mainlang]}} +% \\setmainfont{#{texpdf_fontface}} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} WOK else <<-WOK -\\usepackage{polyglossia, ucs, fontspec, xltxtra, xunicode} -\\setmainlanguage{#{tex_head_lang[:mainlang]}} -\\setotherlanguage{english} -\\setmainfont{#{texpdf_fontface}} -\\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} -% \\setsansfont{#{texpdf_fontface_sans}} -% \\setromanfont{#{texpdf_fontface_serif}} +% \\setmainlanguage{#{tex_head_lang[:mainlang]}} +% \\setotherlanguage{english} +% \\setmainfont{#{texpdf_fontface}} +% \\setmonofont[Scale=0.85]{#{texpdf_fontface_mono}} WOK end when /pdf/ - if @md.file_encoding =~ /iso-?8859/i #% iso8859 - <<-WOK -% \\usepackage[latin1]{inputenc} -\\usepackage{fontspec} - WOK - else #% utf-8 assumed <<-WOK -\\usepackage{babel} +\\usepackage[#{tex_head_lang[:mainlang]},#{tex_head_lang[:otherlang]}]{babel} \\usepackage{ucs} -\\usepackage[utf8x]{inputenc} - WOK - end +\\usepackage[utf8x]{inputenc} % + WOK end end def tex_head_info @@ -2049,36 +1995,336 @@ module SiSU_TeX_Pdf %% #{rubyv} %% LaTeX output %% #{lastdone} -%% SiSU http://www.jus.uio.no/sisu +%% SiSU https://git.sisudoc.org/ + WOK + end + def tex_head_paper_characters + if @md.opt.lng =~/(?:zh|ja|ko)/ + <<-WOK +\\renewcommand*\\familydefault{\\sfdefault} +\\usepackage[UTF8, fontset=TakaoMincho]{ctex} +%\\usepackage[UTF8, fontset=Takao明朝]{ctex} +%\\usepackage[UTF8, fontset=none]{ctex} +\\usepackage{ctexhook} +\\usepackage[T1]{fontenc} +\\usepackage{newunicodechar} +\\usepackage[utf8]{inputenc} + WOK + else + <<-WOK +% \\usepackage[scaled]{dejavu} +\\renewcommand*\\familydefault{\\sfdefault} +%\\usepackage{inconsolata} +\\usepackage[T1]{fontenc} +\\usepackage{newunicodechar} +\\usepackage[utf8]{inputenc} + WOK + end + end + def tex_head_paper_shared + <<-WOK +\\usepackage{alltt} +\\usepackage[ + unicode=true, + pdfusetitle, + pdfsubject={}, + pdfkeywords={}, % keywords list {} {} {}, + pdftoolbar=true, + pdfmenubar=true, + pdfwindowui=true, + pdffitwindow=false, % window fit to page when opened + pdfstartview={FitH}, % fits the width of the page to the window + pdfnewwindow=true, % links in new window + pdfborder={0 0 1}, + plainpages=false, % was true + bookmarks=true, + bookmarksopen=false, + bookmarksnumbered=false, + backref=false, + breaklinks=false, + colorlinks=true, + urlcolor=black, + filecolor=black, + linkcolor=black, + citecolor=black, % links_mono_or_color_set +]{hyperref} +\\PassOptionsToPackage{hyphens}{url}\\usepackage{hyperref} +\\usepackage[usenames]{color} +\\definecolor{myblack}{rgb}{0,0,0} +\\definecolor{myred}{rgb}{0.75,0,0} +\\definecolor{mygreen}{rgb}{0,0.5,0} +\\definecolor{myblue}{rgb}{0,0,0.5} +\\definecolor{mywhite}{rgb}{1,1,1} +\\usepackage{textcomp} +\\usepackage[parfill]{parskip} +\\usepackage[normalem]{ulem} +\\usepackage{soul} +\\usepackage{longtable} +\\usepackage{graphicx} +\\usepackage[tc]{titlepic} +\\usepackage{amssymb} +\\usepackage{amsmath} +\\usepackage[cm]{sfmath} +\\usepackage{underscore} +\\usepackage{listings} +\\setcounter{secnumdepth}{2} +\\setcounter{tocdepth}{4} +\\usepackage{bookmark} +\\usepackage{microtype} +\\makeatletter +\\usepackage[multiple,ragged]{footmisc} +\\setlength\\footnotemargin{12pt} +\\usepackage[para]{manyfoot} +\\DeclareNewFootnote{A} +\\makeatother +\\chardef\\txtbullet="2022 +\\chardef\\tilde="7E +\\def\\asterisk{{\\rm \\char42} } +\\definecolor{Light}{gray}{.92} +\\definecolor{listinggray}{gray}{0.9} +\\definecolor{lbcolor}{rgb}{0.9,0.9,0.9} +\\lstset{% + backgroundcolor=\\color{lbcolor}, + tabsize=4, + rulecolor=, + language=, + basicstyle={\\ttfamily\\scriptsize}, + upquote=true, + columns=fixed, + showstringspaces=false, + extendedchars=true, + breaklines=true, + prebreak = \\raisebox{0ex}[0ex][0ex]{\\ensuremath{\\hookleftarrow}}, + frame=single, + showtabs=false, + showspaces=false, + showstringspaces=false, + identifierstyle=\\ttfamily, + keywordstyle=\\color[rgb]{0,0,1}, + commentstyle=\\color[rgb]{0.133,0.545,0.133}, + stringstyle=\\color[rgb]{0.627,0.126,0.941}, +} +\\DeclareTOCStyleEntry[numwidth+=8pt]{part}{part} +\\DeclareTOCStyleEntry[numwidth+=4pt]{section}{section} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{paragraph} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{subparagraph} +\\DeclareTOCStyleEntry[numwidth+=3pt]{section}{subsection} +\\DeclareTOCStyleEntries[indent+=4pt]{section}{section,subsection,subsubsection} +\\DeclareTOCStyleEntries[numwidth+=3pt]{section}{paragraph,subparagraph} +\\usepackage{ltxcmds} + WOK + end + def tex_head_paper_newenv_newcmd + <<-WOK +\\newenvironment{ParagraphIndent}[1]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] +} {\\end{list}} +\\newenvironment{ParagraphHang}[2]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\itemindent=#2 + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] +} {\\end{list}} +\\newenvironment{Bullet}[1]{% + \\begin{list}{}{% + \\setlength\\topsep{0pt}% + \\addtolength{\\leftmargin}{#1} + \\itemindent=-1em + \\setlength\\parsep{0pt plus 1pt}% + } + \\item[] + $\\txtbullet$\\hspace{\\enspace} +} {\\end{list}} +\\newcommand{\\monosp}[1]{\\normaltext\\ttfamily\\texbackslash#1} +\\newcommand{\\br}{\\hfill\\break} +\\newcommand{\\brl}[1]{% + \\ifx&% + \\hfill\\break + \\else + \\vspace{#1ex} + \\fi +} +\\newcommand{\\brln}{\\hspace*{\\fill}\\linebreak} +\\newcommand{\\objBlockOpen}{% + \\setlength{\\parskip}{0.5ex plus0.2ex minus0.1ex}\\raggedright + \\begin{footnotesize} +} +\\newcommand{\\objBlockClose}{% + \\end{footnotesize} + \\setlength{\\parskip}{1ex plus0.5ex minus0.2ex} +} +\\newcommand{\\objGroupOpen}{% + \\setlength{\\parskip}{0.5ex plus0.2ex minus0.1ex} + \\begin{footnotesize} +} +\\newcommand{\\objGroupClose}{% + \\end{footnotesize} +} +\\newcommand{\\objPoemVerseOpen}{% + \\setlength{\\parskip}{0.1ex plus0.1ex minus0.1ex} + \\begin{footnotesize} + +} +\\newcommand{\\objPoemVerseClose}{% + + \\end{footnotesize} + \\setlength{\\parskip}{1ex plus0.5ex minus0.2ex} + \\linebreak +} +\\newcommand{\\parasep}{% + \\smallskip \\begin{center}*\\hspace{2em}*\\hspace{2em}*\\end{center} \\br +} +\\newcommand{\\spaces}[1]{{\\hspace*{#1ex}}} +\\newcommand{\\s}{\\hspace*{1ex}} +\\newcommand{\\hardspace}{\\hspace*{1ex}} +\\newcommand{\\-}{\\hspace*{1ex}} +\\newcommand{\\caret}{{\\^{~}}} +\\newcommand{\\pipe}{{\\textbar}} +\\newcommand{\\curlyOpen}{{} +\\newcommand{\\curlyClose}{}} +\\newcommand{\\lt}{{UseTextSymbol{OML}{<}}} +\\newcommand{\\gt}{{UseTextSymbol{OML}{>}}} +\\newcommand{\\slash}{{/}} +\\newcommand{\\underscore}{\\_} +\\newcommand{\\exclaim}{\\Verbatim{!}} +\\newcommand{\\linktext}[2]{% + {\\href{#1} + {\\;\\ulcorner\\,\\textup{{#2}}\\,\\lrcorner}} +} +\\newcommand{\\linkurl}[2]{% + \\;{\\href{#1} + {\\;\\scriptsize\\ttfamily\\ulcorner\\,\\textup{{#2}}\\,\\lrcorner}} +} +\\newcommand{\\link}[2]{% + {\\begin{scriptsize}\\color{black}\\urlstyle{tt}\\href{#1} + {\\;\\ulcorner\\,{#2}\\,\\lrcorner}\\end{scriptsize}} +} +\\newcommand{\\objCodeBlock}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} +\\newcommand{\\objCodeOpen}{% + \\normaltext\\raggedright\\small\\ttfamily\\texbackslash + \\begin{lstlisting} +} +\\newcommand{\\objCodeClose}{% + \\end{lstlisting} +} +\\newcommand{\\ocn}[1]{% + \\setlength{\\parindent}{0em} + \\ifx&% #1 is empty + \\hspace{-0.5ex}{\\marginpar{\\begin{tiny}\\end{tiny}}} + \\else% #1 is nonempty + \\hspace{-0.5ex}{\\marginpar{\\begin{tiny}\\hspace{0em}\\hypertarget{#1}{#1}\\end{tiny}}} + \\fi +} +\\newcommand{\\ocnhold}[1]{% + \\begin{tiny}\\hspace{0mm}\\end{tiny}{\\marginpar{\\begin{tiny}\\hspace{0mm}\\hypertarget{#1}{#1}\\end{tiny}}} +} +\\newcommand{\\objCodeBlockHold}[1]{\\normaltext\\raggedright\\small\\ttfamily\\texbackslash#1} +\\newcommand{\\objTableOpen}[1]{% + \\setlength{\\LTleft}{0pt} + \\setlength{\\LTright}{\\fill} + \\begin{tiny} + \\begin{longtable}{#1} +} +\\newcommand{\\objTableClose}{% + \\end{longtable} + \\end{tiny} +} + WOK + end + def tex_head_paper_orient(orientation) + colorlinks = <<-WOK + colorlinks=true, % myblack + urlcolor=myblue, % \\href{...}{...} external url + filecolor=mygreen, % \\href{...} local file + linkcolor=myred, % \\href{...} and \\pageref{...} + WOK + colorlinks = (orientation == "landscape") ? colorlinks : "" + <<-WOK +\\usepackage[#{tex_head_lang[:mainlang]},#{tex_head_lang[:otherlang]}]{babel} +\\usepackage[autostyle, english = american]{csquotes} +% \\MakeOuterQuote{"} % not required, using '' as quote delimiter +\\selectlanguage{#{tex_head_lang[:mainlang]}} +\\hypersetup{ + pdftitle={#{@md.title.short}}, + pdfauthor={#{@md.creator.author}}, + pdfsubject={}, +#{colorlinks} +} +\\usepackage{fancyhdr} +\\lhead[ ]{ } +\\chead[ \\fancyplain{} \\bfseries \\footnotesize \\leftmark ]{ \\fancyplain{} \\bfseries \\footnotesize \\rightmark } +\\rhead[ ]{ } +\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{https://sisudoc.org}{SiSU}} + \\cfoot{\\href{https://git.sisudoc.org}{git}} +\\rfoot[\\tiny \\href{}{}]{\\textrm{\\thepage}} +\\begin{document} +\\thispagestyle{empty} +\\title{#{@md.title.full}} +\\author{ \\textnormal{#{@md.creator.author}}} +\\date{\\begin{tiny}2015-08-23\\end{tiny}} +\\maketitle +\\addcontentsline{toc}{part}{#{@md.title.full}} +\\newpage +\\pagestyle{fancy} +\\pagenumbering{alph} +\\setcounter{page}{1} WOK end def tex_head_paper_portrait(d) multicol=(@md.book_idx ? '\usepackage{multicol}' : '') <<-WOK #{tex_head_info} +\\documentclass[11pt,a4paper,titlepage,makeidx]{scrartcl} +\\usepackage{fontspec} +% \\usepackage{lmodern} %%issue remove for now (consider later) \\usepackage{geometry} -\\documentclass[#{d[:fontsize]},#{d[:papertype]},titlepage]{scrartcl} %with titlepage -\\setlength{\\textheight}{#{d[:textheight]}mm} \\setlength{\\textwidth}{#{d[:textwidth]}mm} -\\setlength{\\oddsidemargin}{#{d[:oddsidemargin]}} \\setlength{\\evensidemargin}{#{d[:evensidemargin]}} -\\setlength{\\topmargin}{#{d[:topmargin]}} \\setlength{\\headheight}{#{d[:headheight]}} -\\setlength{\\headsep}{#{d[:headsep]}} +\\geometry{% + #{d[:papertype]}, + portrait, + left=#{d[:left]}, + right=#{d[:right]}, + top=#{d[:top]}, + bottom=#{d[:bottom]}, +} +% \\ProvidesPackage{./sty/spineShared} +\\usepackage{multicol} \\setlength{\\marginparsep}{#{d[:marginparsep]}} \\setlength{\\marginparwidth}{#{d[:marginparwidth]}} +#{tex_head_paper_characters} +#{tex_head_paper_shared} +#{tex_head_paper_newenv_newcmd} +#{tex_head_paper_orient("portrait")} #{multicol} WOK end def tex_head_paper_landscape(d) <<-WOK #{tex_head_info} +\\documentclass[11pt,a4paper,landscape,titlepage,twocolumn,makeidx]{scrartcl} \\usepackage{geometry} -\\documentclass[#{d[:fontsize]},#{d[:papertype]},landscape,titlepage,twocolumn]{scrartcl} %with titlepage -\\setlength{\\textheight}{#{d[:textheight]}mm} \\setlength{\\textwidth}{#{d[:textwidth]}mm} -\\setlength{\\oddsidemargin}{#{d[:oddsidemargin]}} \\setlength{\\evensidemargin}{#{d[:evensidemargin]}} -\\setlength{\\topmargin}{#{d[:topmargin]}} \\setlength{\\headheight}{#{d[:headheight]}} -\\setlength{\\headsep}{#{d[:headsep]}} -\\setlength{\\columnsep}{#{d[:columnsep]}} +\\geometry{% + #{d[:papertype]}, + landscape, + left=#{d[:left]}, + right=#{d[:right]}, + top=#{d[:top]}, + bottom=#{d[:bottom]}, +} +\\usepackage{multicol} \\setlength{\\marginparsep}{#{d[:marginparsep]}} \\setlength{\\marginparwidth}{#{d[:marginparwidth]}} +#{tex_head_paper_characters} +#{tex_head_paper_shared} +#{tex_head_paper_newenv_newcmd} +#{tex_head_paper_orient("landscape")} WOK end def tex_head_paper_portrait_dvi(d) @@ -2104,6 +2350,8 @@ module SiSU_TeX_Pdf when :portrait fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a4paper',fontsize + d[:left],d[:right]='30mm','20mm' + d[:top],d[:bottom]='30mm','30mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='0mm','0mm','-12pt' d[:headheight],d[:headsep],d[:columnsep]='12pt','35pt','' d[:marginparsep],d[:marginparwidth]='4mm','8mm' @@ -2123,12 +2371,16 @@ module SiSU_TeX_Pdf when /book|b5/i #book default - larger fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='b5paper',fontsize + d[:left],d[:right]='20mm','20mm' + d[:top],d[:bottom]='20mm','20mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt' d[:headheight],d[:headsep],d[:columnsep]='12pt','20pt','' d[:textheight],d[:textwidth]=@tx.b5.portrait.h,@tx.b5.portrait.w when /a5/i fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a5paper',fontsize + d[:left],d[:right]='20mm','20mm' + d[:top],d[:bottom]='20mm','20mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='-4mm','-4mm','-36pt' d[:headheight],d[:headsep],d[:columnsep]='11pt','12pt','' d[:marginparsep],d[:marginparwidth]='4mm','6mm' @@ -2141,6 +2393,8 @@ module SiSU_TeX_Pdf when :landscape fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize]='a4paper',fontsize + d[:left],d[:right]='30mm','20mm' + d[:top],d[:bottom]='30mm','30mm' d[:oddsidemargin],d[:evensidemargin],d[:topmargin]='6mm','6mm','-12mm' d[:headheight],d[:headsep],d[:columnsep]='12pt','20pt','40pt' d[:marginparsep],d[:marginparwidth]='4mm','8mm' @@ -2160,10 +2414,14 @@ module SiSU_TeX_Pdf when /book|b5/i #book default - larger fontsize=(fontsize_set==:na) ? '11pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize],d[:columnsep]='b5paper',fontsize,'35pt' + d[:left],d[:right]='25mm','25mm' + d[:top],d[:bottom]='20mm','20mm' d[:textheight],d[:textwidth]=@tx.b5.landscape.h,@tx.b5.landscape.w when /a5/i fontsize=(fontsize_set==:na) ? '10pt' : (fontsize_set + 'pt') d[:papertype],d[:fontsize],d[:columnsep]='a5paper',fontsize,'32pt' + d[:left],d[:right]='25mm','25mm' + d[:top],d[:bottom]='20mm','20mm' d[:textheight],d[:textwidth]=@tx.a5.landscape.h,@tx.a5.landscape.w else #default currently A4 fontsize=(fontsize_set==:na) ? '12pt' : (fontsize_set + 'pt') @@ -2226,53 +2484,14 @@ module SiSU_TeX_Pdf else '' end <<-WOK -\\usepackage{alltt} -\\usepackage{thumbpdf} -\\usepackage[#{@tex2pdf}, - #{hyperlinks_color?.strip} - pdftitle={#{@txt}}, - pdfauthor={#{author}}, - pdfsubject={#{@subject}}, - pdfkeywords={#{@keywords}}, - pageanchor=true, - plainpages=true, - pdfpagelabels=true, - pagebackref, - bookmarks=true, - bookmarksopen=true, - pdfmenubar=true, - pdfpagemode=UseOutline, - pdffitwindow=true, - pdfwindowui=true, - plainpages=false, -% pdfusetitle=true, -% pdfpagelayout=SinglePage, -% pdfpagelayout=TwoColumnRight, -% pdfpagelayout=TwoColumnLeft, -% pdfstartpage=3, - pdfstartview=FitH -] -{hyperref} -%% trace lost characters -% \\tracinglostchars = 1 -% \\tracingonline = 1 -\\usepackage[usenames]{color} -\\definecolor{myblack}{rgb}{0,0,0} -\\definecolor{myred}{rgb}{0.75,0,0} -\\definecolor{mygreen}{rgb}{0,0.5,0} -\\definecolor{myblue}{rgb}{0,0,0.5} -\\definecolor{mywhite}{rgb}{1,1,1} -\\usepackage{url} -\\urlstyle{sf} -%\\usepackage{breakurl} WOK end def tex_head_codeblock(codeblock_box_type) codeblock_box=if codeblock_box_type=='listings' <<-WOK -\\usepackage{listings} -\\usepackage{color} -\\usepackage{textcomp} +% \\usepackage{listings} +% \\usepackage{color} +% \\usepackage{textcomp} WOK elsif codeblock_box_type=='boites' "\\usepackage{boites}" @@ -2281,22 +2500,6 @@ module SiSU_TeX_Pdf end codeblock_box end - def tex_head_misc - <<-WOK -\\usepackage{textcomp} -\\usepackage[parfill]{parskip} -\\usepackage[normalem]{ulem} -\\usepackage{soul} -\\usepackage{longtable} -\\usepackage[tc]{titlepic} -\\usepackage{graphicx} -\\makeatletter -\\parindent0pt -%\\usepackage{mathptmx} -\\usepackage{amssymb} -% amssymb used for backslash - WOK - end def document_head_with_orientation(codeblock_box_type) endnotes=("\\usepackage{endnotes}" if @txt =~/endnotes?/) || '' #not implemented see also def endnotes @lang.list[@md.i18n[0]][:xlp] @@ -2304,79 +2507,8 @@ module SiSU_TeX_Pdf #{tex_head_paper} #{tex_head_encode} #{tex_head_pdftex} -#{tex_head_misc} #{tex_head_codeblock(codeblock_box_type)} -\\setcounter{secnumdepth}{2} -\\setcounter{tocdepth}{4} -\\makeatletter -#{endnotes} -\\usepackage[multiple,ragged]{footmisc} -\\setlength\\footnotemargin{12pt} -\\usepackage[para]{manyfoot} -\\DeclareNewFootnote{A} -%\\DeclareNewFootnote[para]{A} -\\newenvironment{ParagraphIndent}[1]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} - -\\newenvironment{ParagraphHang}[2]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\itemindent=#2 -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} - -\\newenvironment{Bullet}[1]% -{ -\\begin{list}{}{% -\\setlength\\topsep{0pt}% -\\addtolength{\\leftmargin}{#1} -\\itemindent=-1em -\\setlength\\parsep{0pt plus 1pt}% -} -\\item[] -} -{\\end{list}} -\\usepackage{fancyhdr} -\\lhead{} -\\renewcommand{\\part}{\\\@startsection - {part}{1}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\section}{\\\@startsection - {section}{2}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\subsection}{\\\@startsection - {subsection}{3}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\bfseries\\large\\upshape\\raggedright}} -\\renewcommand{\\subsubsection}{\\\@startsection - {subsubsection}{4}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\bfseries\\raggedright}} -\\renewcommand{\\paragraph}{\\\@startsection - {paragraph}{5}{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\itshape\\raggedright}} -\\renewcommand{\\subparagraph}{\\\@startsection - {subparagraph}%{6}%{-2mm}% - {-\\baselineskip}{0.5\\baselineskip}% - {\\normalfont\\normalsize\\itshape\\raggedright}} -% \\makeatother -\\selectlanguage{#{@lang.list[@md.i18n[0]][:xlp]}} +% \\selectlanguage{#{tex_head_lang[:mainlang]}} WOK end def a4generic @@ -2668,9 +2800,7 @@ module SiSU_TeX_Pdf "\n" end def header - "\\lhead[ ]{ }\n" + - "\\chead[ \\fancyplain{} \\bfseries \\footnotesize \\leftmark ]{ \\fancyplain{} \\bfseries \\footnotesize \\rightmark }\n" + - "\\rhead[ ]{ }\n" + "" end def footer "\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{#{@md.footer_links[:left][:url]}}{#{@md.footer_links[:left][:say]}}}\n" + @@ -2712,7 +2842,7 @@ module SiSU_TeX_Pdf <<-WOK \\\\ ~ {\\begin{footnotesize}#{base_prog_txt} -\\\\ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU} \\begin{tiny}[ #{v.project} #{v.version} of #{v.date_stamp} ]\\end{tiny} \\href{http://www.jus.uio.no/sisu}{www.jus.uio.no/sisu} +\\\\ Generated by \\href{https://git.sisudoc.org/}{SiSU} \\begin{tiny}[ #{v.project} #{v.version} of #{v.date_stamp} ]\\end{tiny} \\href{https://git.sisudoc.org/}{git.sisudoc.org} \\\\ Copyright #{@copymark} 1997, current #{@date.year_static} Ralph Amissah, All Rights Reserved. \\\\ SiSU is software for document structuring, publishing and search (with object citation numbering), \\href{http://www.sisudoc.org}{www.sisudoc.org} \\\\ SiSU is released under \\href{http://www.fsf.org/licenses/gpl.html}{GPL 3 } or later, #{url_brace.tex_open}\\href{http://www.fsf.org/licenses/gpl.html}{http://www.fsf.org/licenses/gpl.html}#{url_brace.tex_close}. @@ -2722,11 +2852,11 @@ module SiSU_TeX_Pdf end def doc_sc_info_footnote_full <<-WOK -\\footnote{%\nGenerated by \\href{http://www.jus.uio.no/sisu}{SiSU \\ www.jus.uio.no/sisu }\\ \\newline \\scriptsize{Document version information: \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}}}} +\\footnote{%\nGenerated by \\href{https://git.sisudoc.org/}{SiSU \\ git.sisudoc.org }\\ \\newline \\scriptsize{Document version information: \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}}}} WOK end def doc_sc_info_footnote_brief - " \\footnote{%\nGenerated by \\href{http://www.jus.uio.no/sisu}{SiSU} \\ \\href{http://www.jus.uio.no/sisu}{www.jus.uio.no/sisu} \\newline \\href{http://www.sisudoc.org}{www.sisudoc.org} \\\n}" + " \\footnote{%\nGenerated by \\href{https://git.sisudoc.org/}{SiSU} \\ \\href{https://git.sisudoc.org/}{git.sisudoc.org} \\newline \\href{https://sisudoc.org}{sisudoc.org} \\\n}" end def doc_sc_info v=SiSU_Env::InfoVersion.instance.get_version @@ -2735,7 +2865,7 @@ module SiSU_TeX_Pdf {\\begin{footnotesize} Document version information: \\\\ \\emph{sourcefile} \\uline{#{@md.fnstex}}; \\emph{version} \\uline{#{@md.sc_number}}; \\emph{date} \\uline{#{@md.sc_date}}; \\emph{time} \\uline{#{@md.sc_time}} \\\\ -Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu }\\- version information: \\\\ +Generated by \\href{https://git.sisudoc.org/}{SiSU git.sisudoc.org }\\- version information: \\\\ \\uline{ #{v.project} #{v.version} of #{v.date_stamp}} \\end{footnotesize}}& WOK @@ -2747,7 +2877,7 @@ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu }\\- ve {\\begin{small} Document information: \\\\ \\emph{sourcefile} \\uline{#{@md.fnstex}} \\\\ -Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu } \\\\ version information: \\ +Generated by \\href{https://git.sisudoc.org/}{SiSU https://git.sisudoc.org/ } \\\\ version information: \\ \\uline{ #{v.project} #{v.version} of #{v.date_stamp}} \\end{small}}& @@ -2764,10 +2894,10 @@ Generated by \\href{http://www.jus.uio.no/sisu}{SiSU www.jus.uio.no/sisu } \\\\ end end __END__ -ag usepackage texpdf* -ag usepackage texpdf* | ag '\{.+?\}' +rg usepackage texpdf* +rg usepackage texpdf* | rg '\{.+?\}' # texpdf_format.rb -ag usepackage texpdf* | ag --only-matching '\{.+?\}' +rg usepackage texpdf* | rg --only-matching '\{.+?\}' |sort|uniq ,* sort & make unique @tex2pdf @@ -2869,6 +2999,7 @@ xunicode.sty texlive-base: amssymb.sty + texlive-latex-base: alltt.sty babel.sty @@ -2881,6 +3012,7 @@ texlive-latex-base: multicol.sty textcomp.sty url.sty + texlive-latex-extra: boites.sty breakurl.sty @@ -2890,6 +3022,7 @@ texlive-latex-extra: soul.sty titlepic.sty ucs.sty + texlive-latex-recommended: fontspec.sty listings.sty @@ -2898,8 +3031,10 @@ texlive-latex-recommended: thumbpdf.sty xltxtra.sty xunicode.sty + texlive-plain-generic: ulem.sty + texlive-xetex: xeCJK.sty @@ -2911,63 +3046,11 @@ texlive-latex-extra texlive-latex-recommended texlive-plain-generic texlive-xetex - #+END_SRC * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - texpdf - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/txt.org b/org/txt.org index f4ce5391..5e020c8a 100644 --- a/org/txt.org +++ b/org/txt.org @@ -1667,7 +1667,7 @@ WOK make=SiSU_Env::ProcessingSettings.new(@md) if make.build.plaintext_ocn? if defined? dob.ocn \ - and dob.ocn.is_a?(Fixnum) + and dob.ocn.is_a?(Integer) (defined? dob.ocn) \ ? "\n#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" \ : '' @@ -3165,57 +3165,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - txt - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/utils.org b/org/utils.org index ffbdfeeb..a7afaf46 100644 --- a/org/utils.org +++ b/org/utils.org @@ -807,57 +807,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - utils - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/xhtml.org b/org/xhtml.org index 5c0a5cf0..1e57ea74 100644 --- a/org/xhtml.org +++ b/org/xhtml.org @@ -1180,10 +1180,11 @@ module SiSU_XHTML_EPUB2 end end def images -#puts @md.env.path.image_source_include -#puts @md.env.processing_path.epub -#puts @md.env.path.image_source_include_local -puts @md.file.output_path.epub.rel_image +#REMOVE +#puts @md.env.path.image_source_include + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.env.processing_path.epub + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.env.path.image_source_include_local + ' : ' + __FILE__ + ':' + __LINE__.to_s +#puts @md.file.output_path.epub.rel_image + ' : ' + __FILE__ + ':' + __LINE__.to_s #img_pth=$sisu_base_data + '/image' img_pth=@md.env.path.image_source_include img_src_pth=unless @md.opt.f_pth[:pth] =~/\/\S+?\/sisupod\/\S+?\/sisupod\/doc/ @@ -1341,7 +1342,7 @@ module SiSU_XHTML_EPUB2_Concordance @particulars,@md=particulars,particulars.md @data=SiSU_XHTML_EPUB2::Source::XHTML_Environment.new(particulars).tuned_file_instructions @fnb=@md.fnb - @lex_button=%{<a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" height="44" width="144" valign="center" src="../_sisu/image/sisu.png" alt="SiSU home"></a>} + @lex_button=%{<a href="https://sisudoc.org" target="_top"><img border="0" height="44" width="144" valign="center" src="../_sisu/image/sisu.png" alt="SiSU home"></a>} @doc_details =<<WOK <table summary="links to text related to this rudimentary index" width="96%" border="0" bgcolor="white" cellpadding="0" align="center"><tr><td width="2%" align="right">#{$ep[:hsp]}</td><td width="94%" valign="top" align="justify"><h1 class="small"><a href="#{@md.file.base_filename.epub}"><b>#{@md.title.full}</b></a></h1><p class="bold">#{@md.creator.author}</p></td></tr></table> WOK @@ -5043,57 +5044,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - xhtml - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/org/xml.org b/org/xml.org index d3736b85..9b007265 100644 --- a/org/xml.org +++ b/org/xml.org @@ -1064,8 +1064,6 @@ __END__ ,** Notes: tidy -xml dom.xml >> index.tidy #+END_SRC -#+END_SRC - * xml shared ** xml_shared.rb @@ -1490,7 +1488,7 @@ module SiSU_XML_Tags #Format def initialize(md='',seg_name=[],tracker=0) @full_title=@subtitle=@author=@subject=@description=@publisher=@contributor=@date=@date_created=@date_issued=@date_available=@date_valid=@date_modified=@type=@format=@identifier=@source=@language=@relation=@coverage=@rights=@copyright=@owner=@keywords='' @md=md - @rdfurl=%{ rdf:about="http://www.jus.uio.no/lm/toc"\n} + @rdfurl=%{ rdf:about="https://sisudoc.org/spine/topics.html"\n} if defined? @md.title.full \ and @md.title.full # DublinCore 1 - title @rdf_title=%{ dc.title="#{seg_name}#{@md.title.full}"\n} @@ -1636,7 +1634,7 @@ module SiSU_XML_Tags #Format ,* #{rubyv} ,* #{sc} ,* #{lastdone} - ,* SiSU http://www.jus.uio.no/sisu + ,* SiSU https://sisudoc.org --> WOK else @@ -1647,7 +1645,7 @@ WOK ,* #{rubyv} ,* #{sc} ,* #{lastdone} - ,* SiSU http://www.jus.uio.no/sisu + ,* SiSU https://sisudoc.org --> WOK end @@ -1929,7 +1927,7 @@ module SiSU_XML_Format @full_title=@subtitle=@author=@subject=@description=@publisher=@contributor=@date=@type=@format=@identifier=@source=@language=@relation=@coverage=@rights=@copyright=@owner=@keywords='' @md=@@md # DublinCore 1 - title - @rdfurl=%{ rdf:about="http://www.jus.uio.no/lm/toc"\n} + @rdfurl=%{ rdf:about="https://sisudoc.org"\n} if defined? @md.title.full \ and @md.title.full # DublinCore 1 - title @rdf_title=%{ dc.title="#{seg_name}#{@md.title.full}"\n} @@ -5542,57 +5540,6 @@ __END__ * document header #+NAME: sisu_document_header -#+BEGIN_SRC text -encoding: utf-8 -- Name: SiSU - - - Description: documents, structuring, processing, publishing, search - xml - - - Author: Ralph Amissah - <ralph.amissah@gmail.com> - - - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019, - 2020, 2021, Ralph Amissah, - All Rights Reserved. - - - License: GPL 3 or later: - - 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 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 <http://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/licensing/licenses/gpl.html> - <http://www.gnu.org/licenses/gpl.html> - - <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html> - - - SiSU uses: - - Standard SiSU markup syntax, - - Standard SiSU meta-markup syntax, and the - - Standard SiSU object citation numbering and system - - - Homepages: - <http://www.sisudoc.org> - - - Git - <https://git.sisudoc.org/projects/> - <https://git.sisudoc.org/projects/?p=software/sisu.git;a=summary> - <https://git.sisudoc.org/projects/?p=markup/sisu-markup-samples.git;a=summary> +#+BEGIN_SRC emacs-lisp +<<./sisu_version_info_and_doc_header_including_copyright_and_license.org:sisu_doc_header_including_copyright_and_license()>> #+END_SRC diff --git a/setup/rbuild b/setup/rbuild index 44054910..ccc752cb 100755 --- a/setup/rbuild +++ b/setup/rbuild @@ -510,9 +510,9 @@ task :note_sources do <https://sisudoc.org> sisu source code is available at: <https://git.sisudoc.org> - <https://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary> + <https://git.sisudoc.org/projects/sisu> sisu markup samples are provided/packaged separately as sisu-markup-samples: - <https://git.sisudoc.org/gitweb/?p=doc/sisu-markup-samples.git;a=summary> + <https://git.sisudoc.org/projects/sisu-markup> WOK end task :note_installation do diff --git a/setup/sisu_version.rb b/setup/sisu_version.rb index 79a30406..47a72dcc 100644 --- a/setup/sisu_version.rb +++ b/setup/sisu_version.rb @@ -1,6 +1,6 @@ #% constants module SiSUversion - SiSU_version = '7.3.0' + SiSU_version = '7.3.1' end module Dev GPGpubKey = '1BB4B289' @@ -1,28 +1,28 @@ -#!/usr/bin/env -S nix-shell --pure +#!/usr/bin/env -S nix-shell --impure +#!nix-shell -i bash { pkgs ? import <nixpkgs> {} }: with pkgs; -mkShell { - buildInputs = [ - ruby_3_1 - rubyPackages_3_1.rake - rubyPackages_3_1.sqlite3 - rubyPackages_3_1.thor - sqlite - unzip - xz - zip - openssl - #texlive-combined-full - nixFlakes - validatePkgConfig - jq - git - starship - ]; - shellHook = '' - if [[ -e ".envrc" ]]; then - source .envrc - fi - eval "$(starship init bash)" - ''; -} + mkShell { + buildInputs = [ + ruby + rubyPackages.rake + rubyPackages.sqlite3 + rubyPackages.thor + sqlite + graphicsmagick + unzip + xz + zip + openssl + #texliveFull # texliveTeTeX + nixFlakes + validatePkgConfig + nix-output-monitor + nix-tree + jq + git + #starship + ]; + shellHook = '' + ''; + } diff --git a/sisu.gemspec b/sisu.gemspec index f3debd52..70a35f4a 100644 --- a/sisu.gemspec +++ b/sisu.gemspec @@ -1,9 +1,9 @@ Gem::Specification.new do |s| s.name = 'sisu' - s.version = '7.2.2' - s.date = '2023-01-30' + s.version = '7.3.0' + s.date = '2023-10-30' s.summary = 'documents - structuring, publishing in multiple formats & search (linux calls)' - s.description = 'documents - structuring, publishing in multiple formats & search [7.2.2] (linux calls & without external dependencies)' + s.description = 'documents - structuring, publishing in multiple formats & search [7.3.0 from git 7.3.0] (linux calls & without external dependencies)' s.homepage = 'https://www.sisudoc.org' s.authors = ["Ralph Amissah"] s.email = 'ralph.amissah@gmail.com' |
