aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-01 15:40:42 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-01 15:40:42 -0400
commit32d32bf7ecfbc84a58d67a920135ef0bddfb9ee0 (patch)
tree8471d77cb4cb40030295bed0950e6338259eb832 /lib/sisu/v3/texpdf.rb
parentv3: cosmetic code, if, else, remove some semicolons (;) replace with newlines (diff)
v3: cosmetic code, if true ; x, remove semicolons replace with "then"
Diffstat (limited to 'lib/sisu/v3/texpdf.rb')
-rw-r--r--lib/sisu/v3/texpdf.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisu/v3/texpdf.rb b/lib/sisu/v3/texpdf.rb
index aba92c3e..fc007a4f 100644
--- a/lib/sisu/v3/texpdf.rb
+++ b/lib/sisu/v3/texpdf.rb
@@ -402,7 +402,8 @@ module SiSU_TeX
@tex_file=[]
data.each do |dob|
@tex_file << if dob.class==String \
- or dob.class==Hash; dob
+ or dob.class==Hash
+ dob
elsif dob.is==:table
tables_hash(@md,dob) #Hash result
else dob
@@ -709,8 +710,8 @@ WOK
% \\sloppy
\\begin{document}
WOK
- sisu_rc_footnote=if @md.sc_info; @tex_ml.doc_sc_info_footnote_full
- else @tex_ml.doc_sc_info_footnote_brief
+ sisu_rc_footnote=if @md.sc_info then @tex_ml.doc_sc_info_footnote_full
+ else @tex_ml.doc_sc_info_footnote_brief
end
@copymark='' #check and remove as now is superflous
x={}