aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-29 03:25:41 +0200
committerRalph Amissah <ralph@amissah.com>2010-07-02 13:56:08 -0400
commit77d84aafc9d1f3df4b3988e48cbf2ce06d315d7b (patch)
tree78edb5d90ef5f7b9ce44f97f33fd4f8734f5d31a /lib/sisu/v1
parentprovide alternatives for producing single output types (diff)
Removing useless whitespaces from upstream files at EOL.
Diffstat (limited to 'lib/sisu/v1')
-rw-r--r--lib/sisu/v1/dal_syntax.rb2
-rw-r--r--lib/sisu/v1/help.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v1/dal_syntax.rb b/lib/sisu/v1/dal_syntax.rb
index 3a3273c7..98886f51 100644
--- a/lib/sisu/v1/dal_syntax.rb
+++ b/lib/sisu/v1/dal_syntax.rb
@@ -253,7 +253,7 @@ module SiSU_Syntax
line.gsub!(/~\[([^*+].+?)\]~/m,Mx[:en_b_o] + '* \1' + Mx[:en_b_c]) #default if markup does not specify
line.gsub!(/~\[(.+?)\]~/m,Mx[:en_b_o] + '\1' + Mx[:en_b_c])
if line =~/^#{Mx[:lv_o]}1:\S*?#{Mx[:lv_c]}/
- if @md.subtitle and not @md.subtitle.empty?
+ if @md.subtitle and not @md.subtitle.empty?
line.gsub!(/\s*@title\b/," #{@md.title} - #{@md.subtitle}")
else line.gsub!(/\s*@title\b/," #{@md.title}")
end
diff --git a/lib/sisu/v1/help.rb b/lib/sisu/v1/help.rb
index 6cc5ca4b..2d6e4a1e 100644
--- a/lib/sisu/v1/help.rb
+++ b/lib/sisu/v1/help.rb
@@ -273,7 +273,7 @@ WOK
#{@cX.ruby}-N#{@cX.off} #{@cX.green}[filename/wildcard/url]#{@cX.off} document content certificate as md5 digest tree of document produced (as digest.txt), the digest for the document, and digests for each object contained within the document (together with information on software versions that produced it). Try -mNV for verbose digest output to screen
- #{@cX.ruby}-n#{@cX.off} #{@cX.green}[filename/wildcard/url]#{@cX.off} skip the creation of intermediate processing files (document abstraction) if they already exist, this skips the equivalent of -m which is otherwise assumed by most processing flags.
+ #{@cX.ruby}-n#{@cX.off} #{@cX.green}[filename/wildcard/url]#{@cX.off} skip the creation of intermediate processing files (document abstraction) if they already exist, this skips the equivalent of -m which is otherwise assumed by most processing flags.
#{@cX.ruby}-p#{@cX.off} #{@cX.green}[filename/wildcard]#{@cX.off} produces LaTeX pdf (portrait & landscape). 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).