From b0d16176b896df8f75c6c4f2c6855903707b7131 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 16 Oct 2007 23:26:19 +0100 Subject: manpage, todo with rearrangement of conditionals, adjusted and sisu.1 regenerated --- lib/sisu/v0/manpage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 =~// \ + if (para =~// \ and para =~/^(-\{{2}~\d+|)/) # -endnote para='' end -- cgit v1.2.3 From 6a95a0e18b8c20632b82d701eec9bf5caa3e250c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 17 Oct 2007 00:22:51 +0100 Subject: minor detail --- lib/sisu/v0/help.rb | 2 +- lib/sisu/v0/hub.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3