diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:28:48 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-19 20:28:48 +0100 |
commit | 8c67d466ead2096d713515c88fcee17c473ecde5 (patch) | |
tree | 5caa22e8124a0ba158e6a31c36c20449364edc77 /lib/sisu/v0/texpdf_format.rb | |
parent | mostly adjustment to image paths (for local and remote operations) (diff) |
mostly paths for shared markup source (txt and pod), also...
also current Debian/Sid ruby1.9 upgrade removes a bug, so a related
test/warning in options.rb removed
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})/ |