From e483f85554543b061acd625404fc38a586896576 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 6 Sep 2007 18:27:24 +0100 Subject: distinguish param's markup type identifier module from standalone --- lib/sisu/v0/param.rb | 2 +- lib/sisu/v0/param_identify_markup.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb index 690163d4..f4bf6a3f 100644 --- a/lib/sisu/v0/param.rb +++ b/lib/sisu/v0/param.rb @@ -197,7 +197,7 @@ module SiSU_Param @generated=Time.now fns_array=@data.dup skip unless fns_array # consider - @markup_version=SiSU_Markup::Markup_identify.new(fns_array,@opt).markup_version? #% determine markup version + @markup_version=SiSU_Markup_type::Markup_identify.new(fns_array,@opt).markup_version? #% determine markup version if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?[\d.]*|sisu-[\d.]+)$/ #check markup and markup version if fns_array[0] =~ /^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)[\d.]+$/ #check markup and markup version @markup_version_declared=fns_array[0].match(/^(?:% )?(?:SiSU\s+(?:master\s+)?|sisu-)([\d.]+)$/)[1] diff --git a/lib/sisu/v0/param_identify_markup.rb b/lib/sisu/v0/param_identify_markup.rb index 93c8bf79..fcdf71cb 100644 --- a/lib/sisu/v0/param_identify_markup.rb +++ b/lib/sisu/v0/param_identify_markup.rb @@ -56,7 +56,7 @@ altering SiSU markup =end -module SiSU_Markup +module SiSU_Markup_type class Markup_identify @@fns,@@version_determined,@@version_declared,@@declared_doc_type='','','','[text?]' attr_accessor :version_determined,:version_declared,:declared_doc_type -- cgit v1.2.3 From d11d4c51c5f23c53df02c5ce3a9c737b142607f0 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 6 Sep 2007 18:28:13 +0100 Subject: cosmetic output fixes related to 'Copy @' default note --- lib/sisu/v0/html_format.rb | 2 +- lib/sisu/v0/texpdf.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb index 29700e83..d9fa95c2 100644 --- a/lib/sisu/v0/html_format.rb +++ b/lib/sisu/v0/html_format.rb @@ -169,7 +169,7 @@ module SiSU_HTML_Format } end def copyat - %{#{@vz.paragraph_heading_1_center}copy @ + %{#{@vz.paragraph_font_tiny}copy @ #{@vz.txt_home} } diff --git a/lib/sisu/v0/texpdf.rb b/lib/sisu/v0/texpdf.rb index cd4c2ec1..ccde6687 100644 --- a/lib/sisu/v0/texpdf.rb +++ b/lib/sisu/v0/texpdf.rb @@ -384,7 +384,7 @@ WOK end end @tex_file << unless @md.fnb =~/^mail\s*$/ - "\n\\date{copy @ #{@tex.site} #{sisu_rc_footnote}}" + "\n\\date{\\begin{footnotesize} copy @ #{@tex.site} \\end{footnotesize} #{sisu_rc_footnote}}" else "\\date" end else #portrait @@ -399,7 +399,7 @@ WOK else "\n\\author{#@copymark \\textnormal{#{creator}}}" end end - @tex_file << unless @md.fnb =~/^mail\s*$/; "\n\\date{copy @ #{@tex.site} #{sisu_rc_footnote}}" + @tex_file << unless @md.fnb =~/^mail\s*$/; "\n\\date{\\begin{footnotesize} copy @ #{@tex.site} \\end{footnotesize} #{sisu_rc_footnote}}" else "\\date" end end -- cgit v1.2.3