aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/texpdf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/texpdf.rb')
-rw-r--r--lib/sisu/v0/texpdf.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/sisu/v0/texpdf.rb b/lib/sisu/v0/texpdf.rb
index e7422baf..abafb30f 100644
--- a/lib/sisu/v0/texpdf.rb
+++ b/lib/sisu/v0/texpdf.rb
@@ -303,10 +303,10 @@ module SiSU_TeX
@@rights=nil
tell=SiSU_Screen::Ansi.new(@md.cmd,"pdfTex portrait & landscape")
tell.txt_grey unless @md.cmd =~/q/
- if @md.dc_rights
- use=@md.dc_rights.dup #dup is necessary, else contents of :rights changed
+ if @md.rights
+ use=@md.rights.dup #dup is necessary, else contents of :rights changed
sp_char=SiSU_TeX_Pdf::Special_characters.new(@md,use)
- copymark=if @md.creator_copymark; '{\\begin{small}\\raisebox{1ex}{\\copyright}\\end{small}} '
+ copymark=if @md.author_copymark; '{\\begin{small}\\raisebox{1ex}{\\copyright}\\end{small}} '
else ''
end
copymark='Copyright {\\begin{small}\\raisebox{1ex}{\\copyright}\\end{small}} '
@@ -551,7 +551,7 @@ 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'
+ #@copymark=if @md.author_copymark; '^\copyright'
#else ''
#end
@copymark='' #check and remove as now is superflous
@@ -561,15 +561,15 @@ WOK
x[:p]=SiSU_TeX_Pdf::Format_text_object.new(@md,txt_obj).title_portrait
@tex_file << x
x=nil
- if @md.dc_creator
- sp_char=SiSU_TeX_Pdf::Special_characters.new(@md,@md.dc_creator)
- creator=sp_char.special_characters
- @tex_file << if @md.creator_home
+ if @md.author
+ sp_char=SiSU_TeX_Pdf::Special_characters.new(@md,@md.author)
+ author=sp_char.special_characters
+ @tex_file << if @md.author_home
<<WOK
-\\author{\\href{#{@md.creator_home}}{#@copymark \\textnormal{#{creator}}}}
+\\author{\\href{#{@md.author_home}}{#@copymark \\textnormal{#{author}}}}
WOK
- else "\n\\author{#@copymark \\textnormal{#{creator}}}"
+ else "\n\\author{#@copymark \\textnormal{#{author}}}"
end
end
@tex_file << unless @md.fnb =~/^mail\s*$/; "\n\\date{\\begin{footnotesize} copy @ #{@tex.site} \\end{footnotesize} #{sisu_rc_footnote}}"
@@ -581,7 +581,7 @@ WOK
WOK
#@tex_file << @tex.newpage #newpage clearpage depending on portrait or landscape
@tex_file << "\\newpage\n"
- @tex_file << @@rights if @md.dc_rights #if @orientation =~/landscape/
+ @tex_file << @@rights if @md.rights #if @orientation =~/landscape/
@tex_file << @@prefix_b if @md.prefix_b
@tex_file << @tex.sisu_rights
@tex_file << if @md.sc_info; @tex.doc_sc_info