Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> `org-publish-attachment' is wrong or called with wrong arguments. >> >> This patch fixes it. >> >> As always, there might be a better way to fix it, >> but this way the function `org-publish-attachment' will work regardless >> of parameters. Someone will always call this function with the wrong >> `PUB-DIR' parameter... >> >> Aidan, would like to apply the patch and verify it works for you? > > That fixes the problem, but introduces/reveals another: > > All symlinks in artsy/photography/images/ are dereferenced and copied > to published/artsy/photography/images/, but all regular files in > artsy/photography/images/ are copied to > published/artsy/photography/images/artsy/photography/images/. > > So the patch works only if there are only symlinks. (Not sure about > only regular files. It may have broken something.) Arrrgh, yes... So my first guess was the better one. This here works for both --- here it does.