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.
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, 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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list