aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-08-19 02:41:50 +0100
committerRalph Amissah <ralph@amissah.com>2007-08-19 02:41:50 +0100
commita19b7494c87f05c895bb3cc76969ad9af0bf6c08 (patch)
tree3c7a44eb9e012e70346b7ec2ffec06aaae1b6418 /lib/sisu/v0/texpdf.rb
parentsisu-0.56.2 + md5s (diff)
sisu-0.56.3 minor update, small fixes
* manifest make file-type descriptions simpler to understand * copyright restricted to rights tag, unless none, in which case rights tag gets creator information * copyright mark picked up in rights if 'Copyright (C)' is used * tex/pdf url matching semi-colon following url * endnote heading, apply tag to exclude numbering and segment heading where there is no segment * html scroll endnote text minor fix * initialize site structure, make copy site images default (sisu -CC)
Diffstat (limited to 'lib/sisu/v0/texpdf.rb')
-rw-r--r--lib/sisu/v0/texpdf.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/sisu/v0/texpdf.rb b/lib/sisu/v0/texpdf.rb
index 6ac87240..22c2681d 100644
--- a/lib/sisu/v0/texpdf.rb
+++ b/lib/sisu/v0/texpdf.rb
@@ -258,7 +258,8 @@ module SiSU_TeX
copymark=if @md.creator_copymark; '{\\begin{small}\\raisebox{1ex}{\\copyright}\\end{small}} '
else ''
end
- copyright=do_mono.special_characters_safe.gsub(/^\s*Copyright/, copymark)
+ copymark='Copyright {\\begin{small}\\raisebox{1ex}{\\copyright}\\end{small}} '
+ copyright=do_mono.special_characters_safe.gsub(/^\s*Copyright \(C\)/, copymark)
@@rights||="\n #{@@tex_backslash*2}[3]\\ \\linebreak #{copyright}"
end
if @md.prefix_b
@@ -308,7 +309,6 @@ module SiSU_TeX
def footnote(data)
@tex_file=[]
data.each do |para|
- para2=para.dup
# EMBEDDED FOOTNOTES / ENDNOTES should be straightforward but not quite a synch.
footnote=[]
if para =~/~\\\{[\d*+]+\s|\\\~\[([*+]\d+)\s/ # note escape not necessary in front of ~ has implications for many other matches #debug note
@@ -366,9 +366,10 @@ WOK
sisu_rc_footnote=if @md.sc_info; @tex.doc_sc_info_footnote_full
else @tex.doc_sc_info_footnote_brief
end
- @copymark=if @md.creator_copymark; '^\copyright'
- else ''
- end
+ #@copymark=if @md.creator_copymark; '^\copyright'
+ #else ''
+ #end
+ @copymark='' #check and remove as now is superflous
if @orientation =~/landscape/ # using longtable latex package
@tex_file << SiSU_TeX_Pdf::Format_text_object.new(@md,@md.title,@md.subtitle).title_landscape
if @md.dc_creator