User:Goelette Cardabela/Sandbox/Add appendix
Bash programs with Linux systems to add appendix to books
See also french imprimable version
Preparing for installation
[edit | edit source]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
- 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>
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
[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]90% - β-210812 - pre-annex.sh The internationalization POT file of messages remains to be done
header.inc.sh
[edit | edit source]90% - β-210519 - header.inc.sh The internationalization POT file of messages remains to be done
annex.sh
[edit | edit source]90% - β-210822 - annex.sh
list.sh
[edit | edit source]90% - β-210523 - list.sh
download.sh
[edit | edit source]90% - β-210528 - download.sh
add_sclt.sh fr_sclt.inc en_sclt.inc
[edit | edit source]90% - β-210819 - add_sclt.sh Eglish version with gettext for internationalization.
scli.inc.sh
[edit | edit source]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]90% - β-210819 - add_add_sclic.sh
add_sclipco.sh
[edit | edit source]80% - β-210710 - add_sclipco.sh
add_sclipwb.sh
[edit | edit source]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.
compil2bin.sh cp-src2bin.sh is the old version.
-Copy all tested commands in tests directory to src and bin directories
[edit | edit source]Global test
[edit | edit source]Documentation
[edit | edit source]Standard manual
[edit | edit source]Manuals scripts: source, plain-text, html
-Translations
[edit | edit source]Examples
[edit | edit source]- Book for tests
- User:Goelette Cardabela/Sandbox/TestBook