diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-02-14 21:10:19 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-02-14 21:17:32 -0500 |
commit | 2b884fb73428186df29bf22ff38d77e5d2f823cf (patch) | |
tree | 117330ff01c641b19c3963d3e91ce7f19056ca66 /lib/sisu/v3dv/concordance.rb | |
parent | v3dv: sysenv, output_dir_structure, rewritten, affected code modified (diff) |
v3dv: --redirect (--redirect=dir_path) & --dump (--dump=dir_path) + consequences
* --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)]
Diffstat (limited to 'lib/sisu/v3dv/concordance.rb')
-rw-r--r-- | lib/sisu/v3dv/concordance.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3dv/concordance.rb b/lib/sisu/v3dv/concordance.rb index 82c53e7a..7ec234bc 100644 --- a/lib/sisu/v3dv/concordance.rb +++ b/lib/sisu/v3dv/concordance.rb @@ -121,7 +121,7 @@ WOK def create head_banner=SiSU_HTML_Format::HeadToc.new(@md) minitoc=SiSU_HTML_MiniToc::TocMini.new(@md,@data).songsheet.join("\n") - @css=SiSU_Env::CSS_Stylesheet.new(@md) + stylesheet=SiSU_Style::CSS_HeadInfo.new(@md).stylesheet toc='<div class="toc">' + minitoc + '</div>' <<WOK <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> @@ -136,7 +136,7 @@ WOK <meta name="generator" content="SiSU (Linux & Ruby!)"> <link rel="generator" href="http://www.jus.uio.no/sisu" /> <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> - #{@css.html_seg} + #{stylesheet.css_head_seg} #{@vz.js_head} </head> <body> |