diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-12-08 01:45:19 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-12-08 01:45:19 +0000 |
commit | 295632cfea4694f0296d3546d5852fa4aeb4a25e (patch) | |
tree | d8c409fe9240ef016816f6d3d94749ac534f769c /lib/sisu/v0/dal_doc_str_tables.rb | |
parent | Updated sisu-0.62.3 (diff) | |
parent | changelog and version updated (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/dal_doc_str_tables.rb')
-rw-r--r-- | lib/sisu/v0/dal_doc_str_tables.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/sisu/v0/dal_doc_str_tables.rb b/lib/sisu/v0/dal_doc_str_tables.rb index 52b53e4f..d1ba776a 100644 --- a/lib/sisu/v0/dal_doc_str_tables.rb +++ b/lib/sisu/v0/dal_doc_str_tables.rb @@ -31,9 +31,12 @@ If you have Internet connection, the latest version of the GPL should be available at these locations: - <http://www.fsf.org/licenses/gpl.html> + <http://www.fsf.org/licensing/licenses/gpl.html> <http://www.gnu.org/copyleft/gpl.html> - <http://www.jus.uio.no/sisu/gpl.fsf> + + <http://www.jus.uio.no/sisu/gpl.fsf/toc.html> + <http://www.jus.uio.no/sisu/gpl.fsf/doc.html> + <http://www.jus.uio.no/sisu/gpl.fsf/plain.txt> * SiSU uses: * Standard SiSU markup syntax, @@ -80,8 +83,8 @@ module SiSU_document_structure_tables @row[count]=row.split(/\|/) end @row.compact! - widths=if @row[0].to_s =~/^\{(?:t|table)(?:~h)?\s+\d+;/ - col_width=@row[0].to_s.scan(/\d+/) + widths=if @row[0].join =~/^\{(?:t|table)(?:~h)?\s+\d+;/ + col_width=@row[0].join.scan(/\d+/) rem=(100 - col_width[0].to_i) col_w=rem/(@row[1].length - 1) "#{col_width[0].to_s};" + ("#{col_w};" * (@row[1].length-1)) |