aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-08-29 21:05:12 -0400
committerRalph Amissah <ralph@amissah.com>2014-08-29 21:05:12 -0400
commitaed8d0f1cae7debfb4b9e1858b56d18abbfc7bf5 (patch)
tree0296346dfc87f91371ed086e42231fad226ec455 /lib/sisu/v5/texpdf.rb
parentdebian/changelog (5.6.2-1) (diff)
parentv5 v6: dp, texpdf, copyright_and_license, minor fix, used by texpdf (diff)
Merge tag 'sisu_5.6.3' into debian/sid
SiSU 5.6.3
Diffstat (limited to 'lib/sisu/v5/texpdf.rb')
-rw-r--r--lib/sisu/v5/texpdf.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sisu/v5/texpdf.rb b/lib/sisu/v5/texpdf.rb
index c2c9dc70..e35c7ccf 100644
--- a/lib/sisu/v5/texpdf.rb
+++ b/lib/sisu/v5/texpdf.rb
@@ -448,10 +448,9 @@ module SiSU_TeX
end
if defined? @md.rights.all \
and not @md.rights.all.empty?
- rght=@md.rights #.author.dup #dup is necessary, else contents of :rights changed
- sp_char=SiSU_TeX_Pdf::SpecialCharacters.new(@md,rght.copyright.copyright_and_license)
+ sp_char=SiSU_TeX_Pdf::SpecialCharacters.new(@md,@md.rights.copyright.copyright_and_license.dup)
copymark='Copyright {\begin{small}{\copyright\end{small}} '
- #copymark='Copyright {\begin{small}^{\copyright\end{small}} '
+ #copymark='Copyright {\begin{small}^{\copyright\end{small}} '
copyright=sp_char.special_characters_safe.gsub(/\s*Copyright \(C\)/, copymark)
@@rights||="\n #{Tex[:backslash]*2}[3]\\ \\linebreak #{copyright}"
end