diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:29:36 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:29:36 +0100 |
commit | 70a56ab6c2c6bcc668f5c4f3667361f7d72d1809 (patch) | |
tree | aa4b2229fdf2b9078d3f939372447c9892fcbc47 /lib/sisu/v0/texpdf_format.rb | |
parent | Merge branch 'upstream' into debian/sid (diff) | |
parent | mostly paths for shared markup source (txt and pod), also... (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/texpdf_format.rb')
-rw-r--r-- | lib/sisu/v0/texpdf_format.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/texpdf_format.rb b/lib/sisu/v0/texpdf_format.rb index 3887600d..4f31311a 100644 --- a/lib/sisu/v0/texpdf_format.rb +++ b/lib/sisu/v0/texpdf_format.rb @@ -825,8 +825,7 @@ WOK when /a5/; @tx.a5 else @tx.a4 end - width=if \ - orientation =~/portrait/ #value is not currently passed + width=if orientation =~/portrait/ #value is not currently passed width=if width.to_i > dm.portrait.img_px; dm.portrait.img_px else width end @@ -1208,7 +1207,8 @@ WOK end def para_num paranumber_display=if @md.markup.inspect =~/no_ocn/ \ - or @md.mod.inspect =~/--no-ocn/; '' + or @md.mod.inspect =~/--no-ocn/ + '' else "\\begin{tiny}~\\end{tiny}{\\marginpar{\\begin{tiny}#@string1\\end{tiny}}}" #ocn object citation numbering end if @string !~/^([1-6a-z-]#{@@tilde}\S*|<:.+?>|#{@md.lv1}|#{@md.lv2}|#{@md.lv3}|#{@md.lv4}|#{@md.lv5}|#{@md.lv6})/ |