{"id":25086,"date":"2019-04-23T15:29:27","date_gmt":"2019-04-23T19:29:27","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=25086"},"modified":"2019-04-23T15:29:27","modified_gmt":"2019-04-23T19:29:27","slug":"pdf-outlines-bookmarks-and-preview","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/04\/23\/pdf-outlines-bookmarks-and-preview\/","title":{"rendered":"PDF Outlines, Bookmarks, and Preview"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2019\/04\/23\/pdf-without-adobe-20-outlines-bookmarks-and-preview\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2019\/04\/23\/pdf-without-adobe-20-outlines-bookmarks-and-preview\/\">\n<p>I took a vanilla three-page PDF created using the Quartz 2D engine in Mojave, and tried to add an Outline or Bookmarks using each of the PDF editors I have to hand[&#8230;]<\/p>\n<p>[&#8230;]<\/p>\n<p>In most cases, whether called a Table of Contents, Outline or Bookmarks, the marked locations are written using a PDF \/Outlines scheme, to a series of objects in the PDF source. The notable exception to this is Preview, which encodes Bookmark data in an XML stream rather than using \/Outlines or any simple PDF objects.<\/p>\n<p>All the apps are able to read Outlines or Bookmarks which use the \/Outlines scheme. However, Preview&rsquo;s XML stream doesn&rsquo;t work in any other app of those tested.<\/p>\n<\/blockquote>\n\n<p>Preview still hasn&rsquo;t recovered from the rewrite in macOS 10.12. I continually get uncaught exception errors and hangs. These can actually be data-destructive because Preview will overwrite the on-disk file with unsaved changes, and if it doesn&rsquo;t close the document in the normal way it won&rsquo;t revert the file to its original state.<\/p>\n\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2019\/03\/21\/its-frustrating-that-preview-in-mojave-isnt-better\/\">It&rsquo;s Frustrating That Preview in Mojave Isn&rsquo;t Better<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley: I took a vanilla three-page PDF created using the Quartz 2D engine in Mojave, and tried to add an Outline or Bookmarks using each of the PDF editors I have to hand[&#8230;] [&#8230;] In most cases, whether called a Table of Contents, Outline or Bookmarks, the marked locations are written using a PDF [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-04-23T19:29:30Z","apple_news_api_id":"8b33c0c7-696b-41ec-a874-102dfbc71076","apple_news_api_modified_at":"2019-04-23T19:29:31Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AizPAx2lrQeyodBAt-8cQdg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[30,32,1609,345,1320,390,102],"class_list":["post-25086","post","type-post","status-publish","format-standard","hentry","category-technology","tag-mac","tag-macapp","tag-macos-10-14","tag-pdf","tag-pdf-expert","tag-pdfpen","tag-preview"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=25086"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25086\/revisions"}],"predecessor-version":[{"id":25087,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25086\/revisions\/25087"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=25086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=25086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=25086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}