On 6/25/2014 10:03 PM, Rik Kabel wrote:
On 2014-06-25 15:51, Rik Kabel wrote:
Recently there have been reports of the first letter of a line of text being lost in the database and letter modules.
I tracked down what appears to be the same problem and developed a work-around.
The problem appears to be with the \grabbufferdata command. Something has changed in the way it works, and it now swallows the first token of the buffer that it grabs. It may also show up with other commands, but this is the only one I have found in my projects.
And as soon as I post, I see that Hans has found the problem in the buffering code.
but you're going to test it -) Indeed I have, but my tests mean little beyond what I can eyeball to see if it still looks okay. I might say that the issue is resolved for my small environment but I do not know what side-effects may result from
On 2014-06-25 16:07, Hans Hagen wrote: the change. I have no library of edge cases, no integrated build environment, and only a single platform. That said, however, the issue disappears for my projects when I remake ConTeXt (and ConTeXtjit) with your patch. And clearly, the \ignorespaces that I used in my workaround was just a convenient no-op. I could have used {} or \relax to the same effect. -- Rik Kabel