diff options
author | Ralph Amissah <ralph@amissah.com> | 2009-07-02 11:05:08 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2009-07-02 11:05:08 -0400 |
commit | 627afc994042ab69618c0e981d2a470e9d48d708 (patch) | |
tree | 3ee86ae8c52efc6f2dc782636ec3e62a1c62a5f3 /lib/sisu/v0/texpdf_format.rb | |
parent | sha256 for 0.70.6 (diff) |
copyright date update and removed some white space
Diffstat (limited to 'lib/sisu/v0/texpdf_format.rb')
-rw-r--r-- | lib/sisu/v0/texpdf_format.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/sisu/v0/texpdf_format.rb b/lib/sisu/v0/texpdf_format.rb index 690321b7..3bc972ad 100644 --- a/lib/sisu/v0/texpdf_format.rb +++ b/lib/sisu/v0/texpdf_format.rb @@ -22,7 +22,7 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with @@ -93,7 +93,6 @@ module SiSU_TeX_Pdf p t_o.class p caller end - if defined? @md.image \ and @md.image =~/center/ @center_begin,@center_end='\begin{center}','\end{center}' @@ -580,12 +579,12 @@ para class Format_head def initialize(md,t_o) @md,@t_o=md,t_o - if t_o.class == Hash + if t_o.class==Hash @txt =t_o[:txt] || nil #@title =t_o[:title] || nil - @subtitle =t_o[:subtitle] || nil - @ps =t_o[:paper_size] || nil - @ocn =t_o[:ocn] || nil + @subtitle=t_o[:subtitle] || nil + @ps=t_o[:paper_size] || nil + @ocn=t_o[:ocn] || nil @layout=t_o[:orientation] || nil #elsif t_o.class == Array # @txt =txt[0] @@ -595,7 +594,6 @@ para p t_o.class p caller end - @tx=SiSU_Env::Get_init.instance.tex @url_brace=SiSU_Viz::Skin.new.url_decoration @tex2pdf=@@tex3pdf ||=SiSU_Env::System_call.new.tex2pdf_engine |