Both layout 1 and 2 would be nice to have, for different situations. Concerning patches that are included in pd extended, it seems best to use layout 1 that you mention, which is compatible on everyone's system, as of right now. [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. 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 <<a href="mailto:fbar@footils.org">fbar@footils.org</a>> 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>
> Pd-extended did not introduce namespace prefixes, Miller did that<br>
> probably before I even heard of Pd. Pd-extended is just organized<br>
> around that idea. Pd-vanilla fully supports namespace prefixes. I<br>
> don't know how many times I have to say this, but it hasn't changed<br>
> since the beginning. I guess its just part of the ebb and flow of<br>
> 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>
Directory layout 1:<br>
extra/prefix/abst.pd<br>
extra/prefix/abst-help.pd <= uses [abst]<br>
<br>
Start Pd:<br>
$ pd -path extra -helppath extra<br>
<br>
Create [prefix/abst], select Help on it, "prefix/abst-help.pd" is<br>
opened and shows [abst]<br>
<br>
<br>
But this doesn't work:<br>
<br>
Directory layout 2:<br>
extra/prefix/abst.pd<br>
doc/prefix/abst-help.pd <= uses [abst]<br>
<br>
Start Pd as:<br>
$ pd -path extra -helppath doc<br>
<br>
Create [prefix/abst], select Help on it, "prefix/abst-help.pd" is<br>
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 "Directory layout 1" or<br>
<br>
and a complex one: Make a [declare]/[import] for Pd-vanilla that<br>
"works", agree on "prefix"es and add [declare]/[import] to the help file<br>
to load "prefix" 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're not using<br>
"Directory layout 2" exactly, for example, if you make a copy of abst.pd<br>
and abst-help.pd in your working/project directory and don'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 -> <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>