aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu
Commit message (Collapse)AuthorAgeFilesLines
* v3: sysenv, default processing dir name changeRalph Amissah2012-04-212-6/+12
| | | | | | * distinguish sisu branch, add sisu branch to processing directory name * if constants, 'DEVELOPER[:maintenance] == :true' then additionally add sisu version number to processing directory name
* v3: db bugfix in maintenance mode (variable name reused)Ralph Amissah2012-04-214-39/+55
|
* v3: param, dal_syntax, document header (simple regex) substitution listRalph Amissah2012-04-153-11/+76
| | | | | | | | | | | | * $ and curly braces are escaped (within sisu) to allow the following: @make:\n :substitute: /${linux-distro}/,'Debian' /${stable}/,'Squeeze' \ /${testing}/,'Wheezy' * changes are not made within text object types: code-blocks, tables or metadata (document headers). Marked up document remains self-referential. * Note: the substitution list must be written on a single line, without line-breaks. * [Substitutions possibility requested by Debian-live, live-manual (Ben Armstrong & Daniel Baumann)]
* v3: sql creation -v reporting reducedsisu_3.2.2Ralph Amissah2012-04-053-8/+9
|
* v3: urls, reporting, some cleaningRalph Amissah2012-04-053-43/+62
|
* v3: sysenv, path.style (a quick fix, review)Ralph Amissah2012-04-051-5/+6
|
* v3: 3.2 branch is main (v3dv --> v3); dev (v3dv) branch directories removedRalph Amissah2012-03-19237-70060/+6418
| | | | | | | | | * v3dv (3.2) "merged" into v3 (previously 3.1) (& removed) * conf/sisu/v3dv --> conf/sisu/v3 * data/sisu/v3dv --> data/sisu/v3 * lib/sisu/v3dv --> lib/sisu/v3 * bin/sisu* (v3dv references changed to v3) * (--dev modifier (superfluous for the time being) runs main v3 branch)
* v3dv: sqlite3 discreet .sql.db file for each document (possibility added)Ralph Amissah2012-03-1210-143/+377
| | | | * in addition to existing possibility of a shared db in sqlite3 or postgresql
* v3dv: start using output control hooksRalph Amissah2012-03-1214-311/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * for config file, document headers, & command line * v3dv: sysenv, ProcessingSettings, start to use hooks to make it possible to control (via: the command line; the document markup header, or; the configuration file) the likes of: ocn, toc, segsubtoc, minitoc, links-to-manifest, search-form, html-navigation, html-navigation-bar, html-right-pane, html-top-band; these are switched on by default and may be switched off in omit lists within configuration file, the document markup header, or command line. The command line takes precedence & may switch on or off overriding settings within the document markup header or the sisu configuration file. * --inc- on by default, but if switched off in doc header or configuration, the command line --inc- has precedence; for each possible exclude configuration the --inc- switch that overrides configuration settings * --exc- == --no-; exclude/switch off feature (but --inc- include has precedence) * document header @build: :omit: [list output features to be omitted] * configuration (sisurc.yml) omit: exclude output feature, overrides configuration settings (omit --dev development branch modifier once merged back to main) --exc-ocn, html (seg, scroll), epub, xml, pdf sisu --dev --exc-ocn --html --epub --xml-sax --xml-dom --xhtml -v \ filename.sst --exc-toc, html (scroll), epub, pdf sisu --dev --exc-toc --html --epub --pdf -v filename.sst --exc-segsubtoc html (seg), epub sisu --dev --exc-segsubtoc --html --epub -v filename.sst --exc-minitoc, html (seg), concordance, manifest sisu --dev --exc-minitoc --html --concordance -v filename.sst --exc-manifest-minitoc, manifest sisu --dev --exc-manifest-minitoc --html -v filename.sst --exc-links_to_manifest, --exc-manifest-links, html (seg, scroll) sisu --dev --exc-manifest-links --html -v filename.sst --exc-search-form, html (seg, scroll), manifest sisu --dev --exc-search-form --html -v filename.sst --exc-html-minitoc, html (seg), concordance sisu --dev --exc-html-minitoc --html --concordance -v filename.sst --exc-html-navigation, html (seg, scroll)? sisu --dev --exc-html-navigation --html -v filename.sst --exc-html-navigation-bar, html (seg) sisu --dev --exc-html-navigation-bar --html -v filename.sst --exc-html-search-form, html (seg, scroll) sisu --dev --exc-html-search-form --html -v filename.sst --exc-html-right-pane, html (seg, scroll) sisu --dev --exc-html-right-pane --html -v filename.sst --exc-html-top-band, html (seg, scroll), concordance (minitoc is forced on to provide seg navigation) sisu --dev --exc-html-top-band --html --concordance -v filename.sst
* v3dv: sysenv, param, options, output control hooks code modifiedRalph Amissah2012-03-123-291/+597
| | | | | * for config file, document headers, & command line * requiring downstream code changes (in commit that follows)
* v3dv: texinfo, fix (break holding back 3.2 merge)Ralph Amissah2012-03-122-54/+43
| | | | * proposed next version starts 3.2, (merge dev branch after 3.1.15)
* v3dv: lib, clean trailing whitespaceRalph Amissah2012-03-126-12/+12
|
* v3dv: control hookssisu_3.1.14Ralph Amissah2012-02-144-3/+288
| | | | | | | | * hooks to make it possible to control (via: the command line; the document markup header, or; the command line) the likes of: toc, manifest, manifest-links, metadata, html-minitoc, html-navigation, html-navigation-bar; these are switched on by default and control takes the form of making it possible to switch them off.
* v3dv: dal, remove sisu_manifest from document structure & tocRalph Amissah2012-02-143-13/+8
| | | | * html & epub coding affected
* v3dv: --redirect (--redirect=dir_path) & --dump (--dump=dir_path) + consequencesRalph Amissah2012-02-1416-181/+625
| | | | | | | | | | | | | | | | | | | | | * --dump places output in directory specified, if none specified in the current directory (pwd). * --redirect 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). * html, css incorporated into each file (concordance & manifest included) * html, xhtml & xmls, css copied into css subdirectory (not used by html as embedded) * html xmls, images copied to output directory * no links to manifest * manifest with relative links only * longer html filenames given to avoid names clashing (e.g. for toc, manifest, concordance) * html, epub, remove manifest toc links * -j copy images associated with file (images used by html & xmls) * automatically invoked by --dump & redirect * v3 v3dv: document --redirect, --dump, -j update sisu_commands.sst [documents not generated until v3.2.0 (when v3dv branch is merged into v3)]
* v3dv: sysenv, output_dir_structure, rewritten, affected code modifiedRalph Amissah2012-02-146-48/+34
|
* v3dv, dal +, use symbols to identify document objects type (is) and group (of)sisu_3.1.13Ralph Amissah2012-02-0343-469/+596
| | | | * (dal & code affected as a result)
* v3 v3dv: path & url links, updates for multiple output directory structuresRalph Amissah2012-02-0332-1639/+160
|
* v3dv: replace use of most ruby exclamation (!) method actionssisu_3.1.12Ralph Amissah2012-01-2366-2532/+2535
|
* v3dv: call most methods by full name (include associated module & class names)Ralph Amissah2012-01-2318-190/+152
| | | | * messing with code, merge back now likely to become v3.2
* v3dv: sysenv, use "which" instead of "whereis" to locate programs, testRalph Amissah2012-01-231-1/+1
| | | | * [suggested by, Timothy Hume, used to get sisu texpdf to work on MacOS]
* v3 v3dv: texpdf, tampering with "safe" special character transformations, a fixRalph Amissah2012-01-232-0/+18
| | | | | * could introduce new issues, watch * [reported by Timothy Hume, pdf title bug "&" not represented]
* v3 v3dv: urls, odt maintenance path fixRalph Amissah2012-01-232-2/+2
|
* v3dv: SiSU_DAL_ for module names in dal, & module Metadata is SiSU_Metadatasisu_3.1.11Ralph Amissah2012-01-1017-522/+25
| | | | | | | * v3dv: modify.rb script (& its artifact) removed (after use) from lib/sisu modify.rb script remains available (in generic form) under: data/sisu/v3/conf/convert/modify.rb data/sisu/v3dv/conf/convert/modify.rb
* v3dv: make further changes to module names & testRalph Amissah2012-01-1015-275/+219
|
* v3dv: class names, use more CamelCaseRalph Amissah2012-01-10104-1301/+1301
|
* v3dv: class names, remove "SiSU_" (reserve for module names for consistency)Ralph Amissah2012-01-1038-83/+83
|
* v3dv: module names, use more CamelCaseRalph Amissah2012-01-1091-405/+582
|
* v3dv, add dev branch (use to make some changes to module & class names & test)Ralph Amissah2012-01-10120-1/+64377
| | | | | * (intended as) short term branch, merge back into v3 once tested * sisu --dev (to invoke)
* v3: date, year 2012, updateRalph Amissah2012-01-10120-138/+506
|
* v3: html, epub, (& xml) codeblocks, treatment of '<<' & '>>', fixsisu_3.1.10Ralph Amissah2011-12-315-10/+5
| | | | * (remove legacy codeblock match rule, watch)
* v3: html, seg output, index.html fixessisu_3.1.9Ralph Amissah2011-12-192-8/+4
| | | | | | | | | * place in correct directory and use language code as appropriate * remove broken index.html from output [note the existing erroneous file is not removed by a program run, it has to be removed manually] * [issue reported by chals (debian live-manual) on irc oftc #sisu]
* v3: sysenv, html files in _sisu/home (*.html) copied as home pagesRalph Amissah2011-12-191-7/+5
|
* v3: options, --find & --glob, use for general search in base directoryRalph Amissah2011-12-191-1/+6
| | | | * cannot be limited by sub-directory, error message provided
* v3: texpdf, output_by: filetype, fix, language code part of filename, fixsisu_3.1.8Ralph Amissah2011-12-131-4/+2
| | | | | | * files previously given same name and written over * [reported by chals (live-manual) on irc oftc #sisu] * [output_by language and filename ok]
* v3: odf:odt, codeblocks, a match fix, affects e.g. "<<"Ralph Amissah2011-12-131-2/+4
|
* v3: sysenv, only copy external images directory if it existsRalph Amissah2011-12-081-1/+3
|
* v3: texpdf, codeblocks, use listings package (for grey box)Ralph Amissah2011-12-082-77/+244
| | | | * (internally retain possibility to use boites package)
* v3: epub, css, codeblock, grey boxRalph Amissah2011-12-081-0/+1
|
* v3: dal, codeblocks, removed identifier tags, changed markup of "<" & ">"Ralph Amissah2011-12-082-5/+3
|
* v3: texpdf, use boites for box round codeblockssisu_3.1.6Ralph Amissah2011-12-022-2/+24
| | | | | | * use and adapt 'boitecoloriee' (found in boites_examples.sty) * in boitebox as setup normal tex hardspaces at start of line are removed, hack required to fix
* v3: dal, codeblocks, start flush left (no buffer spaces at start of line)Ralph Amissah2011-12-022-4/+3
| | | | | * allows cut & paste of codeblocks (from some output formats) [requested by chals irc.oftc]
* v3, require iconv (removed), should use String#encode instead, watchRalph Amissah2011-12-024-6/+3
| | | | * removed iconv, required a number of places without being used, watch
* v3: odf:odt v1.2sisu_3.1.5Ralph Amissah2011-11-212-174/+287
| | | | | | * includes previously unimplemented hanging indents * done: dal, plaintext, html, epub, xhtml, xml (sax & dom), odt, pdf, sql; not done: man, info
* v3: param, sisupod_make, sisu markup embedded symbol images regex, case addedRalph Amissah2011-11-213-4/+6
|
* v3: dal_expand_insertions, link shortcut for sisu documents, omit codeblocksRalph Amissah2011-11-211-0/+8
|
* v3: FileUtils, replace system callssisu_3.1.4Ralph Amissah2011-11-118-26/+19
|
* v3: FileUtils, make explicit calls (more verbose, easier to find)Ralph Amissah2011-11-1123-184/+155
|
* v3: fix necessary, Re: (3.1.2) [da4acc7] header, bold & italic pattern matchingsisu_3.1.3Ralph Amissah2011-11-051-6/+6
| | | | | * header, bold & italic pattern matching, ignore case (possibility reinstated) @make: :bold: :italic: /[regex]/i
* v3: header, bold & italic pattern matching, ignore case (possibility reinstated)sisu_3.1.2Ralph Amissah2011-10-312-16/+16
| | | | * (bold & italic pattern matching) @make: :bold: :italic: /[regex]/i