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

Lucas Cordiviola lucarda27 at hotmail.com
Mon May 7 04:44:57 CEST 2018


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:

context/main.html

context/dummylinks/section1.html
context/dummylinks/section2.html
...
...


-------------------section1.html----code:

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




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

</head><body>

</body></html>

---------------------


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/20180507/cd3813b6/attachment.html>


More information about the Pd-list mailing list