BookmarkSubscribeRSS Feed
sjb1
Fluorite | Level 6

Hello,

 

Is there any way to control the style attributes of the text of a PDF bookmark produced by SAS? 

 

I've posted a trivial example that hopefully gets at what I want to do, please let me know if a full example would be helpful.

 

ods escapechar="^";

PROC DOCUMENT name=MyDoc;
    make \MyDoc\First_Level;
    setlabel \MyDoc\First_Level "^{style [font_weight=bold] Custom Text}"; /* Define the PDF bookmark label and attempt to make it Bold */
    /* place output here */
    doc close;
RUN;
QUIT;

ods pdf file="MyPDF.pdf";
PROC DOCUMENT name=MyDoc;
    replay;
RUN;
QUIT;
ods pdf close;

Thanks!

2 REPLIES 2
JosvanderVelden
SAS Super FREQ
If you google for bookmark and style-template you'll find a lot of info. For instance this: http://www8.sas.com/scholars/05/PREVIOUS/2001_200.4/2004_MOR/Proceed/_2003/DataPresentation/DP05-DeL...

Is that what you are looking for?

Best regards, Jos
sjb1
Fluorite | Level 6

Thanks for the resources, but this is not quite what I'm looking for. I want to control the attributes of the PDF bookmarks. For instance, I want to make some bold. 

 

I've attached a picture of what I want. I can make the text bold using a PDF editing tool, but I'm curious if SAS has this capability.

 

 

 

Untitled.png

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
  • 461 views
  • 0 likes
  • 2 in conversation