Uncategorized
Greetings, all!
I know that there might be one or two other InDesign experts out there reading this, and I figured that, instead of polling individually and perhaps missing other closet experts, I’d post here.
I’m working on a multi-hundred page document that is ultimately destined for PDF (not .epub, not .mobi, but PDF) publication. It contains several hundred internal and external hyperlinks. The internal hyperlinks are all handled, thanks to the wonder of bookmarks. And 99+% of the hyperlinks are handled, except for a few that match a very distinct pattern. Those few little hyperlinks are causing me a world-class headache.
The problem is the way the hyperlinks are structured. They aren’t your standard links with just alphanumerics, dashes, and dots. Instead, they’re complex links that contain multiple variables destined to be parsed by a script, and therefore contain question marks (?) and ampersands (&). When exporting the document to PDF, InDesign is completely stripping the aforementioned question marks and ampersands from the URLs. This, as you can imagine, is not working so well.
Here’s what I’ve tried so far, with no luck:
- Escaping the special characters with a backslash
- Doubling the special characters
- Quoting the entire URL with double quotes
- Quoting the entire URL with single quotes
Is my client (and hopefully not my project) just doomed, or is there a magic trick around this that I’ve missed? Is the answer really going to be that InDesign can’t handle a URL style that’s been around for eons, and that my client just needs to suck it up and simplify the URLs? (For the really curious, the URLs are used for click tracking. Of course.)
Help me, oh great and powerful interwebs.
( InDesign CS6 (version 8.0.1) , Mac OSX 10.8.3.)
I count Carel and Wes as other experts. Anyone else? 🙂
My apologies. I misspoke. InDesign is not completely stripping out the ‘special’ characters. It is, instead, converting them to the ASCII equivalents (&3; etc), which is still not useful.
Huey: Yeah, sorry. I commented about 3 seconds before you did. InDesign is, in fact, being helpful and percent-encoding things, and I tried doing it my own damned self, and got percent-encoded percent signs. *head -> desk*
But! Hacking it in Acrobat Pro! There’s an idea I can grudgingly work with!
Off to see if I can get that idea to work.
I’m with Huey on this, try editing with Acrobat Pro. Haven’t tried it myself, especially not with the versions you have (since I have older ones), but Acrobat can probaly fix your issue.
Huey, Carel: Many thanks. This does, in fact, fix the issue. Or at least, let me provide a useable document and save my project. Annoying, but fixable. 🙂
Thank you both!
I’m late to the party. Luckily I have nothing to add!