hmm... Is there any way to tell when a link in in an affiliate? so we can tell when we cannot trust buffer positions?
Maybe even better fix the implementation to add the found buffer positions to some affiliate position so they are correct? I could give that a try if you can point me to the function it occurs in. Thanks. Nicolas Goaziou writes: > John Kitchin <johnrkitc...@gmail.com> writes: > >> I tried it, and indeed the links in captions are found, but something is >> still not right. The :begin properties of the links in the caption seem >> to be relative to the point after the : in the caption. That isn't >> obvious and makes it hard to store a marker to the link. Is that >> expected behavior? > > This is an implementation detail. Parsing for secondary strings (e.g., > captions, some keywords like "TITLE") happens in a temporary buffer. You > cannot trust buffer positions in this case. > > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu