aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-07-02 13:43:50 -0400
committerRalph Amissah <ralph@amissah.com>2010-07-02 13:43:50 -0400
commit0c48209f8be1c0540eb6fe8b0bd00b46f21e9ac6 (patch)
tree095f97524c67cecaa3db61f9f0db60f73f1229fc
parentdebian/changelog (2.5.1-1) (diff)
parentprovide alternatives for producing single output types (diff)
Merge branch 'upstream' into debian/sid
-rw-r--r--CHANGELOG_v26
-rw-r--r--bin/sisu-concordance2
-rw-r--r--bin/sisu-epub2
-rw-r--r--bin/sisu-html2
-rw-r--r--bin/sisu-odf2
-rw-r--r--bin/sisu-pdf2
-rw-r--r--bin/sisu-txt2
-rw-r--r--data/doc/sisu/v2/CHANGELOG6
-rw-r--r--data/doc/sisu/v2/sisu_markup_samples/samples/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst4
-rw-r--r--lib/sisu/v2/help.rb4
-rw-r--r--lib/sisu/v2/hub.rb12
11 files changed, 29 insertions, 15 deletions
diff --git a/CHANGELOG_v2 b/CHANGELOG_v2
index bf31edb0..0b9a7fdf 100644
--- a/CHANGELOG_v2
+++ b/CHANGELOG_v2
@@ -14,9 +14,9 @@ Reverse Chronological:
%% 2.5.1.orig.tar.gz (2010-06-12:23/6)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.5.1.orig.tar.gz
- sisu_2.5.1.orig.tar.gz
- sisu_2.5.1-1.dsc
- sisu_2.5.1-1.diff.gz
+ c87a04a3071de4e8388b214fb6bb1a602657c5859a817bd0f001c92a4ce1f98d 2768984 sisu_2.5.1.orig.tar.gz
+ 5698680779692893ba39666c6deebae8d796cf4b7b0a643853c49e6691f23f12 1145 sisu_2.5.1-1.dsc
+ cd2404ec36817402ad669e5a8592b6d6b4395db2f74b243b3bfa976bd8187ba4 276383 sisu_2.5.1-1.diff.gz
* texpdf, ensure programs default font is set (Liberation Sans) if none
configured, (was intended, required fix)
diff --git a/bin/sisu-concordance b/bin/sisu-concordance
new file mode 100644
index 00000000..6851494f
--- /dev/null
+++ b/bin/sisu-concordance
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -w ${@}
diff --git a/bin/sisu-epub b/bin/sisu-epub
new file mode 100644
index 00000000..9c57f955
--- /dev/null
+++ b/bin/sisu-epub
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -e ${@}
diff --git a/bin/sisu-html b/bin/sisu-html
new file mode 100644
index 00000000..537169ad
--- /dev/null
+++ b/bin/sisu-html
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -h ${@}
diff --git a/bin/sisu-odf b/bin/sisu-odf
new file mode 100644
index 00000000..7caceec4
--- /dev/null
+++ b/bin/sisu-odf
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -o ${@}
diff --git a/bin/sisu-pdf b/bin/sisu-pdf
new file mode 100644
index 00000000..2b0a2973
--- /dev/null
+++ b/bin/sisu-pdf
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -p ${@}
diff --git a/bin/sisu-txt b/bin/sisu-txt
new file mode 100644
index 00000000..8d177b60
--- /dev/null
+++ b/bin/sisu-txt
@@ -0,0 +1,2 @@
+#!/bin/sh
+sisu -t ${@}
diff --git a/data/doc/sisu/v2/CHANGELOG b/data/doc/sisu/v2/CHANGELOG
index d6556c0c..edc9565d 100644
--- a/data/doc/sisu/v2/CHANGELOG
+++ b/data/doc/sisu/v2/CHANGELOG
@@ -14,9 +14,9 @@ Reverse Chronological:
%% 2.5.1.orig.tar.gz (2010-06-12:23/6)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.5.1.orig.tar.gz
- sisu_2.5.1.orig.tar.gz
- sisu_2.5.1-1.dsc
- sisu_2.5.1-1.diff.gz
+ c87a04a3071de4e8388b214fb6bb1a602657c5859a817bd0f001c92a4ce1f98d 2768984 sisu_2.5.1.orig.tar.gz
+ 5698680779692893ba39666c6deebae8d796cf4b7b0a643853c49e6691f23f12 1145 sisu_2.5.1-1.dsc
+ cd2404ec36817402ad669e5a8592b6d6b4395db2f74b243b3bfa976bd8187ba4 276383 sisu_2.5.1-1.diff.gz
* texpdf, ensure programs default font is set (Liberation Sans) if none
configured, (was intended, required fix)
diff --git a/data/doc/sisu/v2/sisu_markup_samples/samples/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst b/data/doc/sisu/v2/sisu_markup_samples/samples/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst
index 78a383eb..c62a3861 100644
--- a/data/doc/sisu/v2/sisu_markup_samples/samples/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst
+++ b/data/doc/sisu/v2/sisu_markup_samples/samples/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst
@@ -11,6 +11,8 @@
@classify:
:topic_register: SiSU:markup sample:book;copyright;GNU/Linux:GPL|copyleft|free software;free software;Software:Software Libré;GPL;Linux:GNU|Software Libré;book:biography;programming
+ :oclc: 49044520
+ :isbn: 9780596002879
@date:
:published: 2002
@@ -19,8 +21,6 @@
@notes: March 2002
-% @catalogue: isbn=0596002874
-
@links:
{ Home and Source }http://faifzilla.org/
{Free as in Freedom (on Richard Stallman), Sam Williams @ SiSU}http://www.jus.uio.no/sisu/free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams
diff --git a/lib/sisu/v2/help.rb b/lib/sisu/v2/help.rb
index e8698fd0..2ddabdfd 100644
--- a/lib/sisu/v2/help.rb
+++ b/lib/sisu/v2/help.rb
@@ -286,7 +286,9 @@ WOK
#{@cX.ruby}-S#{@cX.off} #{@cX.green}[filename/wildcard]#{@cX.off} produces a sisupod a zipped sisu of the content assocated with the specified sisu markup documnt, i.e. including sisu markup source file, (and associated documents if a master file, or available in multilingual versions), together with related images and skin. The resulting zipped file has a .zip suffix added to the markup source file name by default, though a .ssp suffix is also recognised. The directory structure of the unzipped file is understood by sisu, and sisu commands can be run within it. SiSU commands can be run 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. This provides a convenient way of packing documents files for sending Note: if you wish to send multiple files, it quickly becomes more space efficient to tar and gzip the sisu markup directory, (without the _sisu_processing subdirectory) rather than the individual files for sending). See the -S option without [filename/wildcard]
- #{@cX.ruby}-t#{@cX.off} #{@cX.green}[filename/wildcard (*.termsheet.rb)]#{@cX.off} standard form document builder, preprocessing feature
+ #{@cX.ruby}-T#{@cX.off} #{@cX.green}[filename/wildcard (*.termsheet.rb)]#{@cX.off} standard form document builder, preprocessing feature
+
+ #{@cX.ruby}-t#{@cX.off} #{@cX.green}[filename/wildcard]#{@cX.off} produces plaintext with Unix linefeeds. Without markup, (object numbers are omitted), has footnotes at end of each para‐ graph that contains them. Modifier options available: --footnotes (default) or --endnotes and for linefeeds --unix (default) or --msdos
#{@cX.ruby}-U#{@cX.off} #{@cX.green}[filename/wildcard]#{@cX.off} prints url 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 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
diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb
index 443d0734..db167571 100644
--- a/lib/sisu/v2/hub.rb
+++ b/lib/sisu/v2/hub.rb
@@ -129,8 +129,8 @@ module SiSU
when /^sisupod_make$/; SiSU_Doc::Source.new(@opt).read # -S
when /^source_kdissert$/; SiSU_Kdi_source::Source.new(@opt).read ## -S
when /^digests$/; SiSU_Digest_view::Source.new(@opt).read # -N
- when /^xml_scaffold$/; SiSU_XML_scaffold::Source.new(@opt).read # -T
- when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -a
+ when /^xml_scaffold$/; SiSU_XML_scaffold::Source.new(@opt).read # -k
+ when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -t -a
#when /^git$/; SiSU_Git::Source.new(@opt).read # -g
#when /^wikispeak$/; SiSU_Wikispeak::Source.new(@opt).read # -g
when /^epub$/; SiSU_EPUB::Source.new(@opt).read # -e
@@ -283,7 +283,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
if @opt.mod.inspect =~/--convert|--to|--from/
require "#{SiSU_lib}/sst_convert_markup" # sst_convert_markup.rb
end
- if @opt.cmd =~/([AabCcDdeFfgGHhIiJjLMmNnOopQqrRSsTtUuVvwWXxYyZ_0-9])/ \
+ if @opt.cmd =~/([AabCcDdeFfgGHhIiJjkLMmNnOopQqrRSsTtUuVvwWXxYyZ_0-9])/ \
and @opt.cmd =~/^-/ \
and @opt.mod.inspect !~/--(?:sitemaps|query|identify)/ \
or @opt.mod.inspect =~/--(?:(?:sq)?lite|pg(?:sql)?)/ #and
@@ -422,7 +422,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
end
if @opt.cmd =~/[hHz]/; op('html','html') #% -h -H -z html css
end
- if @opt.cmd =~/a/; op('plaintext','plaintext') #% -a #-A -f -e -E plaintext -a creates ms-dos type; -A creates unix type, plaintext file
+ if @opt.cmd =~/[at]/; op('plaintext','plaintext') #% -t -a #-A -f -e -E plaintext -a creates ms-dos type; -A creates unix type, plaintext file
end
#if @opt.cmd =~/g/; op('git','git') #% -g git
#end
@@ -444,7 +444,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
end
if @opt.cmd =~/O/; op('xml_md_oai_pmh_dc','OAI PMH') #% -O open archive initiative, metadata harvesting
end
- if @opt.cmd =~/t/ #% -t termsheet/standard form
+ if @opt.cmd =~/T/ #% -T termsheet/standard form
SiSU_Help::Help.new('termsheet').help_request
@opt.files.each do |fns|
if FileTest.file?(fns)
@@ -458,7 +458,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/
end
Operations.new.counter
end
- if @opt.cmd =~/T/; op('xml_scaffold','XML scaffold') #% -T temporary tests
+ if @opt.cmd =~/k/; op('xml_scaffold','XML scaffold') #% -T temporary tests
end
if @opt.cmd =~/p/; op('texpdf','LaTeX pdf') #% -p latex/ texpdf
end