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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 881 views
  • 0 likes
  • 2 in conversation