aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/doc/sisu/markup-samples/manual/en/sisu_commands.sst
diff options
context:
space:
mode:
Diffstat (limited to 'data/doc/sisu/markup-samples/manual/en/sisu_commands.sst')
-rw-r--r--data/doc/sisu/markup-samples/manual/en/sisu_commands.sst84
1 files changed, 74 insertions, 10 deletions
diff --git a/data/doc/sisu/markup-samples/manual/en/sisu_commands.sst b/data/doc/sisu/markup-samples/manual/en/sisu_commands.sst
index 2de5ff43..31f1d7a0 100644
--- a/data/doc/sisu/markup-samples/manual/en/sisu_commands.sst
+++ b/data/doc/sisu/markup-samples/manual/en/sisu_commands.sst
@@ -42,12 +42,15 @@ see --act
!_ --ao [filename/wildcard/url] \\
assumed for most other flags, creates new intermediate files for processing (abstract objects, document abstraction) that is used in all subsequent processing of other output. This step is assumed for most processing flags. To skip it see -n. Alias -m.
+={ SiSU command:abstract objects|document abstraction|--ao|--dal|-m (document abstraction) }
!_ --act[0-9] [filename/wildcard] \\
--act0 to --act9 configurable shortcuts for multiple flags, -0 to -9 synonyms, configure in sisurc.yml, sisu default action on a specified file where no flag is provided is --act0, current default setting for --act0 is --digest --qrcode --text --html --epub --concordance --pdf --odf --docbook --xhtml --xml-sax --xml-dom --sqlite --manifest --verbose
+={ SiSU command:multiple instruction shortcut|--act }
-!_ --asciitext [filename/wildcard] \\
-asciitext, smart text (not available)
+!_ --asciidoc [filename/wildcard] \\
+asciidoc, smart text (not available)
+={ SiSU command:asciidoc output (not available)|--asciidoc (not available) }
!_ -b [filename/wildcard] \\
see --xhtml
@@ -66,18 +69,23 @@ see --color-on
!_ --color-off \\
turn off color in output to terminal
+={ SiSU command:terminal output color|--color-on }
!_ --color-on \\
turn on color in output to terminal
+={ SiSU command:terminal output color|--color-off }
!_ --color-toggle [filename/wildcard] \\
screen toggle ansi screen colour on or off depending on default set (unless -c flag is used: if sisurc colour default is set to 'true', output to screen will be with colour, if sisurc colour default is set to 'false' or is undefined screen output will be without colour). Alias -c
+={ SiSU command:terminal output color|--color-toggle|-c (color toggle) }
!_ --configure \\
configure/initialise shared output directory files initialize shared output directory (config files such as css and dtd files are not updated if they already exist unless modifier is used). The equivalent of: -C --init-site configure/initialise site, more extensive than -C on its own, shared output directory files/force update, existing shared output config files such as css and dtd files are updated if -CC is used.
+={ SiSU command:configure|--configure|--init-site|-C (initialize site/configure) }
!_ --concordance [filename/wildcard] \\
produces concordance (wordmap) a rudimentary index of all the words in a document. (Concordance files are not generated for documents of over 260,000 words unless this limit is increased in the file sisurc.yml). Alias -w
+={ SiSU command:concordance file output|--concordance|-w (concordance file/ wordlist);output:concordance command;concordance:command }
!_ -d [filename/wildcard/url] \\
see --docbook
@@ -90,21 +98,29 @@ see --zap
!_ --digests [filename/wildcard/url] \\
document digest or document content certificate ( DCC ) as sha digest tree of the document: the digest for the document, and digests for each object contained within the document (together with information on software versions that produced it) (digest.txt). --digests -V for verbose digest output to screen.
+={ SiSU command:digests output|--digests|-N (hash digests) }
!_ --docbook [filename/wildcard/url] \\
docbook xml
+={ SiSU command:docbook output|--docbook|-d (docbook output) }
!_ --dom [filename/wildcard/url] \\
see --xml-dom
!_ --dump[=directory_path] [filename/wildcard] \\
places output in directory specified, if none is specified in the current directory (pwd). Unlike using default settings HTML files have embedded css. Compare --redirect
+={ SiSU command:place output in specified directory|--dump }
!_ -e [filename/wildcard] \\
see --epub
!_ --epub [filename/wildcard] \\
produces an epub document, [sisu version >=2 ] (filename.epub). Alias -e
+={ SiSU command:epub output|--epub|-e (epub output);output:epub command;epub:command }
+
+!_ --errors-as-warnings \\
+override stop processing on error. Alias --no-stop
+={ SiSU command:error override|--errors-as-warnings|--no-stop;errors:override|no stop }
!_ --exc-* \\
exclude output feature, overrides configuration settings
@@ -123,6 +139,7 @@ exclude output feature, overrides configuration settings
--exc-html-top-band, (exclude top band, affects html (seg, scroll), concordance (minitoc forced on to provide seg navigation));
--exc-segsubtoc (exclude sub table of contents, affects html (seg), epub);
see also --inc-*
+={ SiSU command:exclude object numbering|exclude table of contents|exclude links to manifest|exclude search form|exclude mini table of contents|exclude mini table of contents in manifest|exclude html navigation bar|--exc-numbering|--exc-ocn|--exc-toc|--exc-search-form|--exc-minitoc|--exc-manifest-minitoc }
!_ -F [--webserv=webrick] \\
see --sample-search-form
@@ -134,10 +151,10 @@ see --find
fictionbook xml (not available)
!_ --find [optional string part of filename] \\
-without match string, glob all .sst .ssm files in directory (including language subdirectories). With match string, find files that match given string in directory (including language subdirectories). Alias -f, --glob, -G
+see --glob
!_ -G [optional string part of filename] \\
-see --find
+see --glob
!_ -g [filename/wildcard] \\
see --git
@@ -146,28 +163,31 @@ see --git
produces or updates markup source file structure in a git repo (experimental and subject to change). Alias -g
!_ --glob [optional string part of filename] \\
-see --find
+without match string, glob all .sst .ssm files in directory (including language subdirectories). With match string, find files that match given string in directory (including language subdirectories). Alias -G, -f, --find
+={ SiSU command:glob|find|--glob|--find }
!_ -h [filename/wildcard] \\
see --html
!_ --harvest *.ss[tm] \\
makes two lists of sisu output based on the sisu markup documents in a directory: list of author and authors works (year and titles), and; list by topic with titles and author. Makes use of header metadata fields (author, title, date, topic_register). Can be used with maintenance (-M) and remote placement (-R) flags.
-
-!_ --help [topic] \\
-provides help on the selected topic, where topics (keywords) include: list, (com)mands, short(cuts), (mod)ifiers, (env)ironment, markup, syntax, headers, headings, endnotes, tables, example, customise, skin, (dir)ectories, path, (lang)uage, db, install, setup, (conf)igure, convert, termsheet, search, sql, features, license.
+={ SiSU command:harvest metadata (docment authors and topics)|--harvest }
!_ --html [filename/wildcard] \\
produces html output, in two forms (i) segmented text with table of contents (toc.html and index.html) and (ii) the document in a single file (scroll.html). Alias -h
+={ SiSU command:html output|--html|-h (html output);output:html command;html:command }
!_ --html-scroll [filename/wildcard] \\
produces html output, the document in a single file (scroll.html) only. Compare --html-seg and --html
+={ SiSU command:html output|--html-scroll }
!_ --html-seg [filename/wildcard] \\
produces html output, segmented text with table of contents (toc.html and index.html). Compare --html-scroll and --html
+={ SiSU command:html output|--html-seg }
!_ --html-strict [filename/wildcard] \\
produces html with --strict option. see --strict
+={ SiSU command:html output|--html-strict }
!_ -I [filename/wildcard] \\
see --texinfo
@@ -205,12 +225,15 @@ see --dal (document abstraction level/layer)
!_ --maintenance [filename/wildcard/url] \\
maintenance mode, interim processing files are preserved and their locations indicated. (also see -V). Aliases -M and --keep-processing-files.
+={ SiSU command:maintenance mode (retain intermediate files)|--maintenance|-M (maintenance mode) }
!_ --manifest [filename/wildcard] \\
produces an html summary of output generated (hyperlinked to content) and document specific metadata (sisu_manifest.html). This step is assumed for most processing flags.
+={ SiSU command:manifest (of outputs)|--manifest|-y (output manifest) }
!_ --manpage [filename/wildcard] \\
produces man page of file, not suitable for all outputs. Alias -i
+={ SiSU command:manpage output|--manpage|-i (manpage output);output:manpage command;manpage:command }
!_ --markdown [filename/wildcard/url] \\
markdown smart text (not available)
@@ -230,6 +253,10 @@ skip the creation of intermediate processing files (document abstraction) if the
!_ --no-* \\
see --exc-*
+!_ --no-stop \\
+override stop processing on error. Alias --erros-as-warnings
+={ SiSU command:error override|--errors-as-warnings|--no-stop;errors:override|no stop }
+
!_ --numbering \\
turn on "object citation numbers". See --inc-ocn and --exc-ocn
@@ -251,6 +278,7 @@ select output directory structure from 3 alternatives:
--output-by-filetype, (filetype directories with language code as part of filename);
--output-by-filename, (filename directories with language code as part of filename).
This is configurable. Alias --by-*
+={ SiSU command:output structure|--output-by-filename|--output-by-filetype|--output-by-language }
!_ -P [language_directory/filename language_directory] \\
see --po4a
@@ -260,27 +288,32 @@ see --pdf
!_ --papersize-(a4|a5|b5|letter|legal) \\
in conjunction with --pdf set pdf papersize, overriding any configuration settings, to set more than one papersize repeat the option --pdf --papersize-a4 --papersize-letter. See also --papersize=*
+={ SiSU command:pdf papersize|--papersize-a4|--papersize-letter|--papersize }
!_ --papersize=a4,a5,b5,letter,legal
in conjunction with --pdf set pdf papersize, overriding any configuration settings, to set more than one papersize list after the equal sign with a comma separator --papersize=a4,letter. See also --papersize-*
!_ --pdf [filename/wildcard] \\
produces LaTeX pdf (portrait.pdf & landscape.pdf). Orientation and papersize may be set on the command-line. Default paper size is set in config file, or document header, or provided with additional command line parameter, e.g. --papersize-a4 preset sizes include: 'A4', U.S. 'letter' and 'legal' and book sizes 'A5' and 'B5' (system defaults to A4), and; --landscape or --portrait, so: e.g. "sisu --pdf-a4 --pdf-letter --landscape --verbose [filename/wildcard]" or "sisu --pdf --landscape --a4 --letter --verbose [filename/wildcard]". --pdf defaults to both landscape & portrait output, and a4 if no other papersizes are configured. Related options --pdf-landscape --pdf-portrait --pdf-papersize-* --pdf-papersize=[list]. Alias -p
+={ SiSU command:pdf output|--pdf|-p (pdf output);output:pdf command;pdf:command }
!_ --pdf-l [filename/wildcard] \\
See --pdf-landscape
!_ --pdf-landscape [filename/wildcard] \\
sets orientation, produces LaTeX pdf landscape.pdf. Default paper size is set in config file, or document header, or provided with additional command line parameter, e.g. --papersize-a4 preset sizes include: 'A4', U.S. 'letter' and 'legal' and book sizes 'A5' and 'B5' (system defaults to A4). Related options --pdf --pdf-portrait. See also --papersize-* or --papersize=[list]. Alias --pdf-l or in conjunction with --pdf --landscape
+={ SiSU command:pdf landscape output|--pdf-landscape }
!_ --pdf-p [filename/wildcard] \\
See --pdf-portrait
!_ --pdf-portrait [filename/wildcard] \\
sets orientation, produces LaTeX pdf portrait.pdf.pdf. Default paper size is set in config file, or document header, or provided with additional command line parameter, e.g. --papersize-a4 preset sizes include: 'A4', U.S. 'letter' and 'legal' and book sizes 'A5' and 'B5' (system defaults to A4). Related options --pdf --pdf-landscape. See also --papersize-* or --papersize=[list]. Alias --pdf-p or in conjunction with --pdf --portrait
+={ SiSU command:pdf portrait output|--pdf-portrait }
!_ --pg-[instruction] [filename] \\
database PostgreSQL ( --pgsql may be used instead) possible instructions, include: --pg-createdb; --pg-create; --pg-dropall; --pg-import [filename]; --pg-update [filename]; --pg-remove [filename]; see database section below.
+={ SiSU command:postgresql|--pg|--pg-update|--pg-remove;output:pg command;pg:command }
!_ --po [language_directory/filename language_directory] \\
see --po4a
@@ -308,12 +341,15 @@ see --scp
!_ --redirect[=directory_path] [filename/wildcard] \\
places output in subdirectory under specified directory, subdirectory uses the filename (without the suffix). If no output directory is specified places the subdirectory under the current directory (pwd). Unlike using default settings HTML files have embedded css. Compare --dump
+={ SiSU command:place output under specified directory|--redirect }
!_ --rst [filename/wildcard/url] \\
ReST (rST restructured text) smart text (not available)
+={ SiSU command:rst output (not available)|--rst (not available) }
!_ --rsync [filename/wildcard] \\
copies sisu output files to remote host using rsync. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Note the behavior of rsync different if -R is used with other flags from if used alone. Alone the rsync --delete parameter is sent, useful for cleaning the remote directory (when -R is used together with other flags, it is not). Also see --scp. Alias -R
+={ SiSU command:remote site|--rsync|-R (rsync to remote site) }
!_ -S \\
see --sisupod
@@ -326,33 +362,42 @@ see --source
!_ --sample-search-form [--db-(pg|sqlite)] \\
generate examples of (naive) cgi search form for SQLite or PgSQL depends on your already having used sisu to populate an SQLite or PgSQL database, (the SQLite version scans the output directories for existing sisu_sqlite databases, so it is first necessary to create them, before generating the search form) see --sqlite & --pg and the database section below. Optional additional parameters: --db-user='www-data'. The samples are dumped in the present work directory which must be writable, (with screen instructions given that they be copied to the cgi-bin directory). Alias -F
+={ SiSU command:sample search form|--sample-search-form --db-pg|--sample-search-form --db-sqlite|-F (sample search form) }
!_ --sax [filename/wildcard/url] \\
see --xml-sax
!_ --scp [filename/wildcard] \\
copies sisu output files to remote host using scp. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Also see --rsync. Alias -r
+={ SiSU command:remote site|--scp|-r (scp to remote site) }
!_ --sha256 \\
set hash digest where used to sha256
+={ SiSU command:digests output sha256|--digests --sha256 }
!_ --sha512 \\
set hash digest where used to sha512
+={ SiSU command:digests output sha512|--digests --sha512 }
!_ --sqlite-[instruction] [filename] \\
database type set to SQLite, this produces one of two possible databases, without additional database related instructions it produces a discreet SQLite file for the document processed; with additional instructions it produces a common SQLite database of all processed documents that (come from the same document preparation directory and as a result) share the same output directory base path (possible instructions include: --sqlite-createdb; --sqlite-create; --sqlite-dropall; --sqlite-import [filename]; --sqlite-update [filename]; --sqlite-remove [filename]); see database section below.
+={ SiSU command:sqlite|--sqlite|--sqlite-update|--sqlite-remove;output:sqlite command;sqlite:command }
!_ --sisupod \\
produces a sisupod a zipped sisu directory of markup files including sisu markup source files and the directories local configuration file, images and skins. Note: this only includes the configuration files or skins contained in ./_sisu not those in ~/.sisu -S [filename/wildcard] option. Note: (this option is tested only with zsh). Alias -S
+={ SiSU command:sisupod (bundled sisu document source)|--sisupod }
!_ --sisupod [filename/wildcard] \\
produces a zipped file of the prepared document specified along with associated images, by default named sisupod.zip they may alternatively be named with the filename extension .ssp This provides a quick way of gathering the relevant parts of a sisu document which can then for example be emailed. A sisupod includes sisu markup source file, (along with associated documents if a master file, or available in multilingual versions), together with related images and skin. SiSU commands can be run directly against a sisupod contained in a local directory, or provided as a url on a remote site. As there is a security issue with skins provided by other users, they are not applied unless the flag --trust or --trusted is added to the command instruction, it is recommended that file that are not your own are treated as untrusted. The directory structure of the unzipped file is understood by sisu, and sisu commands can be run within it. Note: if you wish to send multiple files, it quickly becomes more space efficient to zip the sisu markup directory, rather than the individual files for sending). See the -S option without [filename/wildcard]. Alias -S
+={ SiSU command:sisupod (bundled sisu document source)|--sisupod|-S (sisupod, sisu markup source);output:sisupod command;sisupod:command }
!_ --source [filename/wildcard] \\
copies sisu markup file to output directory. Alias -s
+={ SiSU command:sisu markup source|--source|-s (sisu markup source text);output:source command;source:command }
!_ --strict \\
together with --html, produces more w3c compliant html, for example not having purely numeric identifiers for text, the location object url#33 becomes url#o33
+={ SiSU command:html strict|--html --strict }
!_ -T [filename/wildcard (*.termsheet.rb)] \\
standard form document builder, preprocessing feature
@@ -362,15 +407,18 @@ see --txt
!_ --texinfo [filename/wildcard] \\
produces texinfo and info file, (view with pinfo). Alias -I
+={ SiSU command:texinfo|--texinfo|-I (texinfo output);output:texinfo command;texinfo:command }
!_ --textile [filename/wildcard/url] \\
textile smart text (not available)
+={ SiSU command:textile output (not available)|--textile (not available) }
!_ --txt [filename/wildcard] \\
produces plaintext with Unix linefeeds and without markup, (object numbers are omitted), has footnotes at end of each paragraph that contains them [ -A for equivalent dos (linefeed) output file] [see -e for endnotes]. (Options include: --endnotes for endnotes --footnotes for footnotes at the end of each paragraph --unix for unix linefeed (default) --msdos for msdos linefeed). Alias -t
+={ SiSU command:plaintext|--txt|-t (plain text output);output:text command;text:command;plaintext:command }
-!_ --txt-asciitext [filename/wildcard] \\
-see --asciitext
+!_ --txt-asciidoc [filename/wildcard] \\
+see --asciidoc
!_ --txt-markdown [filename/wildcard] \\
see --markdown
@@ -389,6 +437,7 @@ provides url mapping of output files for the flags requested for processing, als
!_ --urls [filename/wildcard] \\
prints url output list/map for the available processing flags options and resulting files that could be requested, (can be used to get a list of processing options in relation to a file, together with information on the output that would be produced), -u provides url output mapping for those flags requested for processing. The default assumes sisu_webrick is running and provides webrick url mappings where appropriate, but these can be switched to file system paths in sisurc.yml. Alias -U
+={ SiSU command:urls to generated output|--urls|-U (urls to generated output) }
!_ -V \\
on its own, provides SiSU version and environment information (sisu --help env)
@@ -404,12 +453,23 @@ see --verbose
!_ --v5 [filename/wildcard] \\
invokes the sisu v5 document parser/generator. You may run sisu5 instead. This is the current default and is normally omitted.
+={ SiSU command:sisu5|sisu version 5|--v5 }
!_ --v6 [filename/wildcard] \\
invokes the sisu v6 document parser/generator. You may run sisu6 instead.
+={ SiSU command:sisu6|sisu version 6|--v6 }
!_ --verbose [filename/wildcard] \\
provides verbose output of what is being generated, where output is placed (and error messages if any), as with -u flag provides a url mapping of files created for each of the processing flag requests. Alias -v
+={ SiSU command:verbose|--verbose|-v (verbose) }
+
+!_ --very-verbose [filename/wildcard] \\
+provides more verbose output of what is being generated. See --verbose. Alias -V
+={ SiSU command:verbose|--very-verbose|-V (very verbose) }
+
+!_ --version \\
+sisu version
+={ SiSU command:version|--version|-v (version) }
!_ -W \\
see --webrick
@@ -419,18 +479,22 @@ see --concordance
!_ --webrick \\
starts ruby's webrick webserver points at sisu output directories, the default port is set to 8081 and can be changed in the resource configuration files. [tip: the webrick server requires link suffixes, so html output should be created using the -h option rather than -H ; also, note -F webrick ]. Alias -W
+={ SiSU command:webrick web server|--webrick|-W (webrick web server) }
!_ --wordmap [filename/wildcard] \\
see --concordance
!_ --xhtml [filename/wildcard] \\
produces xhtml/XML output for browser viewing (sax parsing). Alias -b
+={ SiSU command:xhtml output|--xhtml|-b (xhtml output) }
!_ --xml-dom [filename/wildcard] \\
produces XML output with deep document structure, in the nature of dom. Alias -X
+={ SiSU command:xml output|--xml-dom|--dom|-X (xml dom output) }
!_ --xml-sax [filename/wildcard] \\
produces XML output shallow structure (sax parsing). Alias -x
+={ SiSU command:xml output|--xml-sax|--sax|-x (xml sax output) }
!_ -X [filename/wildcard] \\
see --xml-dom