Jump to content

User:Goelette Cardabela/Sandbox/Add appendix

100% developed
From Wikibooks, open books for an open world

Bash programs with Linux systems to add appendix to books

See also french imprimable version

Preparing for installation

[edit | edit source]

100% developed  as of 210820 (210820) - bash install directories for user to create books appendix



copy and test the library

[edit | edit source]

Install the codes annex.lib in /usr/local/lib or in ~/Add_appendix/lib or in ~/Add-appendix/tests/1-annex.lib
75% developed  as of β version-210514 (β version-210514) - annex.lib Lib with functions findbook(), ecfpb() for printable books and ecfpc() for Collections.
The findbook function is valided, The ecfp* functions must be checked
* if you want it, install tests codes in ~Add_appendix/tests/1-annex.lib/<sub-directories>
100% developed  as of β-210514 (β-210514) - Test the source code of findbook function with test_findbook.bash]
75% developed  as of β-210409 (β-210409) - Test the source code of the ecfpb function with ecfpb.sh] (extract contents from printable book)
75% developed  as of β-210415 (β-210415) - Test the source code of the ecfpc function with ecfpc.sh (extract contents from compiled book (Collections))1-annex.lib



Copy the source codes of the modules under test

[edit | edit source]

Install sources codes for all users (chmod 644) in /~/Add_appendix/src or in usr/local/src

Copy source codes with printable version

[edit | edit source]

Printable version for copy and paste
Copy sources files, paste in text editor, save in specialized directories : ~/Add_appendix/ lib, src, tests, etc.
For more details on the files see the following paragraphs

pre-annex.sh

[edit | edit source]

Development stage: 90% 90% - β-210812 - pre-annex.sh The internationalization POT file of messages remains to be done

header.inc.sh

[edit | edit source]

Development stage: 90% 90% - β-210519 - header.inc.sh The internationalization POT file of messages remains to be done

annex.sh

[edit | edit source]

Development stage: 70% 90% - β-210822 - annex.sh

list.sh

[edit | edit source]

Development stage: 90% 90% - β-210523 - list.sh

download.sh

[edit | edit source]

Development stage: 90% 90% - β-210528 - download.sh

add_sclt.sh fr_sclt.inc en_sclt.inc

[edit | edit source]

Development stage: 90% 90% - β-210819 - add_sclt.sh Eglish version with gettext for internationalization.

scli.inc.sh

[edit | edit source]

Development stage: 90% 90% - β-210621 - scli.inc.sh This file is common to both the classic scli file and the two custom scli files

add_sclic.sh

[edit | edit source]

Development stage: 90% 90% - β-210819 - add_add_sclic.sh

add_sclipco.sh

[edit | edit source]

Development stage: 80% 80% - β-210710 - add_sclipco.sh

add_sclipwb.sh

[edit | edit source]

Development stage: 90% 90% - β-210709 - add_sclipwb.sh



Installation

[edit | edit source]

Copy sources to bin

[edit | edit source]
  • compil2bin.sh compresses and copies executable shell files from the source directory to the bin directory and produces the .pot file for translation if gettext codes are included.
  • Install compil2bin for all users (chmod 755) in /usr/local/sbin whith root privileges else in ~/Add_appendix/sbin directory.

100% developed  as of 211106 (211106) - compil2bin.sh cp-src2bin.sh is the old version.

Copy all tested commands in tests directory to src and bin directories

[edit | edit source]

75% developed  as of 210822 (210822) - cp_all_to_Add_appendix.bash

Global test

[edit | edit source]

100% developed  as of 210830 (210830) - Add_appendix global test

Documentation

[edit | edit source]

Standard manual

[edit | edit source]

100% developed  as of 210830 (210830) - Manuals scripts: source, plain-text, html

Translations

[edit | edit source]

100% developed  as of 210830 (210830) - Add_appendix translations

Examples

[edit | edit source]
Book for tests
User:Goelette Cardabela/Sandbox/TestBook
  1. Appendix with articles and images in classic version
  2. Appendix with articles and images from wikibooks
  3. Appendix with articles and images from wikimedia commons