Both layout 1 and 2 would be nice to have, for different situations.&nbsp; Concerning patches that are included in pd extended, it seems best to use layout 1 that you mention, which is compatible on everyone&#39;s system, as of right now.&nbsp; [declare]/[import] seems like something for personal patches, where someone knows what obects they use, and there are no namespace conflicts that are effecting their setup.&nbsp; This system is still in flux, but it can wait, as it is only a system to make things easier. <br>
<br>regards,<br><br>rich<br><br><div class="gmail_quote">On Tue, May 20, 2008 at 5:34 AM, Frank Barknecht &lt;<a href="mailto:fbar@footils.org">fbar@footils.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hallo,<br>
<div class="Ih2E3d">Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:<br>
<br>
&gt; Pd-extended did not introduce namespace prefixes, Miller did that<br>
&gt; probably before I even heard of Pd. &nbsp;Pd-extended is just organized<br>
&gt; around that idea. &nbsp;Pd-vanilla fully supports namespace prefixes. &nbsp;I<br>
&gt; don&#39;t know how many times I have to say this, but it hasn&#39;t changed<br>
&gt; since the beginning. &nbsp;I guess its just part of the ebb and flow of<br>
&gt; this list to have this discussion every 6 months. ;)<br>
<br>
</div>I also have a strong Deja vu. ;)<br>
<br>
Anyway, to reiterate the problem for others: *-help.pd files that are in<br>
the same directory as the abstractions that they document work<br>
everywhere:<br>
<br>
 &nbsp; &nbsp;Directory layout 1:<br>
 &nbsp; &nbsp;extra/prefix/abst.pd<br>
 &nbsp; &nbsp;extra/prefix/abst-help.pd &lt;= uses [abst]<br>
<br>
 &nbsp; &nbsp;Start Pd:<br>
 &nbsp; &nbsp;$ pd -path extra -helppath extra<br>
<br>
 &nbsp; &nbsp;Create [prefix/abst], select Help on it, &quot;prefix/abst-help.pd&quot; is<br>
 &nbsp; &nbsp;opened and shows [abst]<br>
<br>
<br>
But this doesn&#39;t work:<br>
<br>
 &nbsp; &nbsp;Directory layout 2:<br>
 &nbsp; &nbsp;extra/prefix/abst.pd<br>
 &nbsp; &nbsp;doc/prefix/abst-help.pd &lt;= uses [abst]<br>
<br>
 &nbsp; &nbsp;Start Pd as:<br>
 &nbsp; &nbsp;$ pd -path extra -helppath doc<br>
<br>
 &nbsp; &nbsp;Create [prefix/abst], select Help on it, &quot;prefix/abst-help.pd&quot; is<br>
 &nbsp; &nbsp;opened, but [abst] is broken.<br>
<br>
This is a well-known issue and as far as I see it has two fixes<br>
<br>
a simple one: Use &quot;Directory layout 1&quot; or<br>
<br>
and a complex one: Make a [declare]/[import] for Pd-vanilla that<br>
&quot;works&quot;, agree on &quot;prefix&quot;es and add [declare]/[import] to the help file<br>
to load &quot;prefix&quot; locally.<br>
<br>
There also is a bad (IMO) third fix: Make abst-help.pd use<br>
[prefix/abst], which is bad because it breaks, if you&#39;re not using<br>
&quot;Directory layout 2&quot; exactly, for example, if you make a copy of abst.pd<br>
and abst-help.pd in your working/project directory and don&#39;t install it<br>
globally.<br>
<br>
Deja vu end.<br>
<br>
Ciao<br>
--<br>
<font color="#888888">Frank Barknecht<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>