BookmarkSubscribeRSS Feed
vilkis
Calcite | Level 5
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
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
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
vilkis
Calcite | Level 5
Thank you. I have opened a track.

Is there other way to generate table of content?

vilkis

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 928 views
  • 0 likes
  • 2 in conversation