[PD] open a pdf file from within PD to a specific location

Liam Goodacre liamg_uw at hotmail.com
Wed May 9 14:48:01 CEST 2018

Hi Lucas

I've just taken a look at your solution. It's brilliant! This is exactly what I needed. Not ugly in my eyes, since it should also help to align sections with their page numbers in a structured way.

Alex is working on his new [link] / [openfile] object, so if you have any suggestions regarding anchors, maybe you could work with him?

Thank you,

From: Lucas Cordiviola <lucarda27 at hotmail.com>
Sent: 07 May 2018 03:44
To: Liam Goodacre; pd-list at lists.iem.at
Subject: Re: [PD] open a pdf file from within PD to a specific location

It will be nicer if someone updates [pddplink] to allow "anchor" names in local urls but you can get what you want with something like this:




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

  <meta http-equiv="REFRESH" content="0;url=../main.html#some-anchor">




Your [pddplink dummylinks/section1.html] redirects to main.html at your anchor.

Is rather ugly but will do what you need.

It will also work for pdf --> <meta http-equiv="REFRESH" content="0;url=../main.pdf#page=4">

Mensaje telepatico asistido por maquinas.

On 5/6/2018 12:51 AM, Liam Goodacre wrote:
Hi all

You can use [pddplink] from the pddp library to open a file from the hard disk (or the as-yet unreleased [link] from ELSE). What I would like to do is open a pdf file to a specific location. According to Adobe<https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf>, you should be able to use "/path/to/file.pd#page=20". This works if I'm opening a web URL, but I can't get it to work opening a local file from the hard drive.

I said in the subject-line that it was a pdf file, but if I could get it to work with an odt or a local html document I would be just as happy. I've tried many things but I can't seem to get it to work.

Any suggestions?

Pd-list at lists.iem.at<mailto:Pd-list at lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180509/003e2b2a/attachment.html>

More information about the Pd-list mailing list