R/pdfbookmarks.r
make_bookmark_text.Rd
Make a correctly formatted block of text defining a bookmark in pdftk format
make_bookmark_text(title, level, page)
title | The title of the bookmark |
---|---|
level | The level of the bookmark (1 is the highest) |
page | Absolute page that this refers to |
String that can be written to bookmarks file
make_bookmark_text('Figure 1',3,20)#> [1] "BookmarkBegin\nBookmarkTitle: Figure 1\nBookmarkLevel: 3\nBookmarkPageNumber: 20"