aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-10-17 00:23:09 +0100
committerRalph Amissah <ralph@amissah.com>2007-10-17 00:23:09 +0100
commite67aa350b14ba971399f254db7070e5141035794 (patch)
tree19ab4a1f810f9bb0e0f90069e5ac6b202d8b0b49 /lib/sisu/v0
parentMerge branch 'upstream' into debian/sid (diff)
parentminor detail (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0')
-rw-r--r--lib/sisu/v0/help.rb2
-rw-r--r--lib/sisu/v0/hub.rb2
-rw-r--r--lib/sisu/v0/manpage.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/help.rb b/lib/sisu/v0/help.rb
index 1c1fd4d0..b5077fa1 100644
--- a/lib/sisu/v0/help.rb
+++ b/lib/sisu/v0/help.rb
@@ -1588,7 +1588,7 @@ WOK
sisu --from-sxml [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]
to attempt to convert a kdissert (.kdi) file to sisu markup:
- sisu --to-kdi [kdissert filename]
+ sisu --from-kdi [kdissert filename]
(very basic and experimental)
WOK
end
diff --git a/lib/sisu/v0/hub.rb b/lib/sisu/v0/hub.rb
index d7e01606..3b145dac 100644
--- a/lib/sisu/v0/hub.rb
+++ b/lib/sisu/v0/hub.rb
@@ -432,7 +432,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 =~/a/; op('plaintext','plaintext') #% -a #-A -f -e -E plaintext -a creates ms-dos type; -A creates unix type, plaintext file
end
if @opt.cmd =~/g/; op('wikispeak','wikispeak') #% -g wiki
end
diff --git a/lib/sisu/v0/manpage.rb b/lib/sisu/v0/manpage.rb
index 20dd0450..334efe80 100644
--- a/lib/sisu/v0/manpage.rb
+++ b/lib/sisu/v0/manpage.rb
@@ -452,7 +452,7 @@ WOK
format_text=Format_text_object.new(one,two)
para=format_text.seg_no_paranum
end
- para='' if (para =~/<a name="n\d+">/ \
+ if (para =~/<a name="n\d+">/ \
and para =~/^(-\{{2}~\d+|<!e[:_]\d+!>)/) # -endnote
para=''
end