diff options
Diffstat (limited to 'lib/sisu/v0/texpdf.rb')
-rw-r--r-- | lib/sisu/v0/texpdf.rb | 11 |
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 |