aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-08-29 19:38:50 -0400
committerRalph Amissah <ralph@amissah.com>2014-08-29 19:47:32 -0400
commit90f6210fe416897a7959a65d82b9de1cfa3bc572 (patch)
tree8e683986a10dfb262b12199ef7e2c434519ddfc5 /lib/sisu/v5/texpdf.rb
parentv5 v6: hub, sisu version info, when & what to report (diff)
v5 v6: dp, texpdf, copyright_and_license, minor fix, used by texpdfsisu_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