<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Here's the best solution I've come up with so far, using [iemguts/classtest] to determine whether the system has access to [pddplink]. If yes, then the toc2.pd is loaded (with links); if no, then toc1.pd is loaded (with text only). If the user doesn't have
 iemguts, they will get error messages, but toc1 will still load.</p>
<p><br>
</p>
<p>Note: The object I've been talking about is of course "pddplink", not "link" which I had written previously by mistake.<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Liam Goodacre <liamg_uw@hotmail.com><br>
<b>Sent:</b> 02 June 2017 11:42<br>
<b>To:</b> PD list<br>
<b>Subject:</b> Re: [PD] should I use pddp/link in help patches?</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Roman</p>
<p><br>
</p>
<p>Context, the system I'm documenting, is far too big to be explained in a single help-patch, so I want the 'context-help.pd' file to function more like a Table of Contents for the rest of the documentation (plus a few quick examples). It would be nice if
 the TOC could link to other files.</p>
<p><br>
</p>
<p>-Liam<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<div>
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Roman Haefeli <reduzent@gmail.com><br>
<b>Sent:</b> 02 June 2017 11:03<br>
<b>To:</b> pd-list@lists.iem.at<br>
<b>Subject:</b> Re: [PD] should I use pddp/link in help patches?</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">On Fre, 2017-06-02 at 09:45 +0000, Liam Goodacre wrote:<br>
> Hi José<br>
> <br>
> This will only work with a pre-loaded abstraction or subpatch. I'm<br>
> talking about opening a new file that isn't already loaded.<br>
> <br>
> You can open files like this:<br>
> <br>
> [; pd open file.pd my/directory(<br>
> <br>
> but it will only work with absolute, not relative directory paths.<br>
<br>
It works with relative paths, too, but relative to Pd's start locaction<br>
and not relative to calling patch (which basically boils down to<br>
absolute in practice).<br>
<br>
<br>
Why not simply create the object/abstraction, so that you just right-<br>
click -> help when you want to follow the 'link'? It's how many help-<br>
patches, including the ones of Pd, reference other objects.<br>
<br>
Roman<br>
<br>
<br>
<br>
> From: José de Abreu <abreubacelar@gmail.com><br>
> Sent: 02 June 2017 10:21<br>
> To: Liam Goodacre; PD list<br>
> Subject: Re: [PD] should I use pddp/link in help patches?<br>
>  <br>
> Maybe<br>
> |; pd-nameOfSubpatch vis 1(<br>
> <br>
> Em Sex, 2 de jun de 2017 03:03, Liam Goodacre <liamg_uw@hotmail.com><br>
> escreveu:<br>
> > The [link] object is great for linking between help files, but I<br>
> > don't know how many people use it now that Extended has gone. By<br>
> > way of a survey, how many people have this external installed<br>
> > already? Seems like it will just be a nuisance if people have to<br>
> > download it just to read a help patch, but on the other hand it's a<br>
> > shame to give up on it since it's such a useful tool.<br>
> > <br>
> > Assuming that it's not widely used any more, are there any other<br>
> > ways of opening a relative path from within PD?<br>
> > _______________________________________________<br>
> > Pd-list@lists.iem.at mailing list<br>
> > UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/l" id="LPlnk124670" previewremoved="true">
https://lists.puredata.info/l</a><br>
> > istinfo/pd-list<br>
> > <br>
> _______________________________________________<br>
> Pd-list@lists.iem.at mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/lis" id="LPlnk358432" previewremoved="true">
https://lists.puredata.info/lis</a><br>
> tinfo/pd-list</div>
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>