The SAS Output Delivery System and reporting techniques

ods pdf - contents=yes and images dissapear

Reply
New Contributor
Posts: 4

ods pdf - contents=yes and images dissapear

Hi,
if I execute code:

ods escapechar='^';
ods pdf file="d:\content_image_test.pdf";
footnote '^{style [preimage="D:\logo.jpg"] Text after image}';
proc report nowd data=sashelp.class;
quit;
ods pdf close;
run;

image is placed before text "Text after image". However, if I add contens=yes:

ods escapechar='^';
ods pdf file="d:\content_image_test.pdf" contents=yes;
footnote '^{style [preimage="D:\logo.jpg"] Text after image}';
proc report nowd data=sashelp.class;
quit;
ods pdf close;
run;

image dissapears in pdf.

What I am doing wrong?

vilkis
SAS Super FREQ
Posts: 8,743

Re: ods pdf - contents=yes and images dissapear

Hi:
That is a question for Tech Support. I observe the same behavior. Images and PDF can be touchy -- there are other syntax combinations that cause images to disappear. It looks like you have discovered another one of them.

To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm

cynthia
New Contributor
Posts: 4

Re: ods pdf - contents=yes and images dissapear

Thank you. I have opened a track.

Is there other way to generate table of content?

vilkis
Ask a Question
Discussion stats
  • 2 replies
  • 182 views
  • 0 likes
  • 2 in conversation