User:Goelette Cardabela/Sandbox/Add appendix

Bash programs with Linux systems to add appendix to books

See also french imprimable version

Preparing for installation
- bash install directories for user to create books appendix

copy and test the library
 Install the codes annex.lib in /usr/local/lib or in ~/Add_appendix/lib or in ~/Add-appendix/tests/1-annex.lib

- 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/

- Test the source code of findbook function with test_findbook.bash]

- Test the source code of the ecfpb function with ecfpb.sh] (extract contents from printable book)

- 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
 Install sources codes for all users (chmod 644) in /~/Add_appendix/src or in usr/local/src

Copy source codes with printable version
Printable version for copy and paste

Copy sources files, paste in text editor, save in specialized directories : ~/Add_appendix/ lib, src, tests, etc.

pre-annex.sh
- pre-annex.sh

header.inc.sh
- header.inc.sh

annex.sh
- annex.sh

list.sh
- list.sh

download.sh
- download.sh

add_sclt.sh fr_sclt.inc en_sclt.inc
- add_sclt.sh

scli.inc.sh
- scli.inc.sh

add_sclic.sh
- add_add_sclic.sh

add_sclipco.sh
- add_sclipco.sh

add_sclipwb.sh
- add_sclipwb.sh

Copy sources to bin

 * 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.

- compil2bin.sh

Copy all tested commands in tests directory to src and bin directories
- cp_all_to_Add_appendix.bash

Global test
- Add_appendix global test

Standard manual
- Manuals scripts: source, plain-text, html

Translations
- Add_appendix translations

Examples

 * 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