- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am trying to move two tables created by a PROC TABULATE statement onto one page of a PDF. I was able to do so using startpage = never and ods pdf startpage=now to control the page placement, however it doesn't remove the PDF bookmark for the table I move onto the first page. The best I can do is set it to be a blank label using ods proclabel ' '. Is there a way to completely remove this bookmark? I've tried using PROC DOCUMENT as well but can't seem to get it to work. Thanks!_pd
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are correct. NOTOC was the -first- bookmark control. BOOKMARKGEN, in conjunction with BOOKMARKLIST was introduced later (9.0 or 9.1?) to give you a bit more control than plain NOTOC. For example, you can set BOOKMARKGEN=YES but then choose to hide the bookmark area with BOOKMARKLIST=HIDE. So on the initial open of the PDF file, the viewer will not see the bookmark area, but they can click the bookmark icon to reveal the TOC.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi: A simple way to completely remove the bookmarks is to use NOTOC or BOOKMARKGEN=NO as options. Would that work for you?
Cynthia
ods listing close;
ods pdf file="C:\Temp\nobookmark.pdf" startpage=no bookmarkgen=no;
. . . your code. . .
ods pdf close;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
i think you can use NOTOC option in ods pdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are correct. NOTOC was the -first- bookmark control. BOOKMARKGEN, in conjunction with BOOKMARKLIST was introduced later (9.0 or 9.1?) to give you a bit more control than plain NOTOC. For example, you can set BOOKMARKGEN=YES but then choose to hide the bookmark area with BOOKMARKLIST=HIDE. So on the initial open of the PDF file, the viewer will not see the bookmark area, but they can click the bookmark icon to reveal the TOC.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the info....gud options to here...i used till now notoc option only...might use options you mentioned in future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
BOOKMARKGEN worked perfectly, I want to keep the bookmarks, just suppress the blank ones created by moving the PROC TABULATE output. I put a BOOKMARKGEN = NO before the PROC TABULATE statement that I move, then a BOOKMARKGEN = YES after it restart the bookmark generation. Thanks!