Skip to main content

Page-addressable PDF

Awesome tip.. thanks to Jon for the info! I'm putting this here so I don't lose it.

In yesterday's item I complained about the opaqueness of PDF files. As Mark Kunzmann pointed out (in email), the situation is less dire than I suggested. He illustrated by pointing me to page 100 of the government's energy report here. I can point you to the page describing necessary URL syntax here. This scheme is workable, for large documents like the 170-page energy report, thanks to the same HTTP 1.1 byte-range technology that I've been using for random access to MP3 audio.

Thanks for the reminder, Mark. This falls into the category of things I used to know, but forgot. Now arguably, there's a reason I forgot about it. You rarely (if ever) see PDF URLs ending with #page=6 in the wild. My feeling is that's because a PDF page is an arbitrary unit of content, and it usually won't precisely address the element you'd like to refer to.

Note that there's also the #nameddest option, which works like an HTML fragment identifier and takes you to a specific location within a page. However this seems to be used even more rarely. I suspect that's because of the manual nature of the procedure required to prepare the destinations. Courtesy of Planet PDF, here is that procedure:

First up, you'll need to create the destination. To do this from within Acrobat:

  1. Manually navigate through the PDF for the desired location, and magnification
  2. Go to View > Navigation Tabs > Destinations
  3. Under Options, choose Scan Document
  4. Once this is completed, select New Destination from the Options menu and enter an appropriate name

Now that you have created your destination, you can link to it using
a similar syntax to that used for page linking. After the name of the
PDF, append "#nameddest=" and the name of your chosen destination. So,
if your PDF has a named destination, "TOC", that points to a table of
contents, then your link code will look like this:

<a href="">Link text</a>

[Planet PDF]

Live and learn. Or in this case, relearn!

[Via Jon's Radio]


Popular posts from this blog

RIP Tom Petty

Tom Petty died today, aged 66. I won't claim to be a huge Tom Petty fan, but I've bought an album or two and sang along in the car to one of those songs everyone knows. I'll  stream a lot of his catalog today to remember the songs I've heard once or hundreds of times.

I also owe Petty credit for a singular moment in my life, and one I never expected to last in my mind.

Nearly 20 years ago, I was a fresh-ish faced transplant to Ann Arbor, MI by way of my first "real job" out of college, working for a software company in Dexter. I was renting a house with some other folks who'd also been displaced as a result of a fire at my first apartment. I was the only family member East of Lansing, which made me a contact point for anyone going through Detroit Metro airport.

Which is how my uncle Dean came to spend a few hours with me one evening. At the time, my grandparents (his parents) were wintering in Texas. My grandfather had health problems most of his life and…

Google Inbox: A classic Google product

My work domain (an EDU) recently had Google Inbox enabled so I had a good chance to try it out. My personal email is relatively quiet and, I believe, doesn't provide a good Inbox experience. Work is more active and requires actual management, something I've tossed many a tool at over the years. As part of my work life, I supported the Google Apps for EDU installation here and took a pretty extensive presentation to campus about how to manage large amounts of email.

Inbox is a classic Google product: the distillation of a number of excellent ideas into a set of half-complete features built for a use case most people don't meet. We've seen this in the past in products like ChromeVox, Google's Chrome extension for accessibility. ChromeVox works great on ChromeOS devices, but completely ignores the point that most users of accessibility tech (AT) don't have or want ChromeOS devices and come to services with their AT in tow. ChromeVox also ignores decades of convent…


Evernote, for better or worse, is the best note-taking service for my needs. It works across all my devices/computers/modes. It's fairly easy to get stuff into it. Hell, they even have 2-Factor authentication. The Windows app is a little clunky and my girlfriend and I have never been able to get shared notes to work properly (conflicted note! three times in the same grocery trip!), but what service is perfect? At least they have nice socks.

Everything, in fact, is pretty good as long as you don't screw up. And screw up I did. I'm not very regular about making backups, but I do make them every month or so. Once you figure out how to create a backup, that is.

There's a helpful Export Note option (which turns into Export Notes when you select multiple notes HINT). The export process is essentially opening All Notes, selecting every note, and then choosing Export Notes. Or something like that; Evernote never tells you, you're left to figure it out on your own. The file…