[luatex] Request for Callback

Taco Hoekwater taco at elvenkind.com
Fri Jun 28 09:02:32 CEST 2013


On 06/27/2013 08:31 PM, Hans Hagen wrote:
> On 6/27/2013 11:45 AM, Élie Roux wrote:
>
>> For the second and third case, the new clef will already be in a
>> localleftbox, so it's useless to print it, it should simply be removed.
>> If this new callback was present, I could remove the cc character before
>> TeX evaluates if the linebreak is good or not...
>
> it would complicate the already complex algorithm and once we start
> adding callbacks *in* core mechanisms we notonly get a slow down but
> also an endless list of additional subcallbacks and dependencies

I'll think about this anyway, but I suspect Hans is right, and that
there is no 'good' spot to insert callbacks within the line breaking,
and doing the whole thing in lua may well be the best solution.


Best wishes,
Taco





More information about the luatex mailing list