I'm not sure I understand you. By default, "resource:" is setup as an alias the the directory containing the image file. But you can override it:
factor -resource-path=/bla/bla -i=factor.image Essentially, "resource:" is just a convenient alias and you are free to put your vocab roots anywhere on the filesystem. For example, you could add "." first on the vocab roots and then you'd have a vocab lookup similar to how Python looks up modules. 2015-07-27 8:46 GMT+02:00 Georg Simon <georg.si...@auge.de>: > Am Sun, 26 Jul 2015 12:35:01 +0200 > schrieb Georg Simon <georg.si...@auge.de>: > > Yes, it does matter. > > http://docs.factorcode.org/content/article-io.pathnames.special.html > -------------------------------------------------------------------- > If a pathname begins with resource:, it is resolved relative to the > directory containing the current image (see image-path). > > If a pathname begins with vocab:, then it will be searched for in all > current vocabulary roots (see Working with code outside of the Factor > source > tree). > -------------------------------------------------------------------- > IN: scratchpad vocab-roots get . > V{ > "resource:core" > "resource:basis" > "resource:extra" > "resource:work" > "/home/factor" > } > -------------------------------------------------------------------- > The location of the image file affects "resource:" and "resource:" > affects "vocab:" > > So I now know that I have to keep all image files in the same directory? > > -- Georg > > ------------------------------------------------------------------------------ > > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- mvh/best regards Björn Lindqvist ------------------------------------------------------------------------------ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk