[luatex] post_linebreak_filter (partly) broken?

Hans Hagen pragma at wxs.nl
Fri Mar 11 14:00:49 CET 2016


On 3/10/2016 11:58 PM, Frank Mittelbach wrote:
> Hi Hans et al
>
> one last one before midnight:
>
> post_linebreak_filter like pre_linbebreak_filter both receive two arguments
>
>   head
>   groupcode
>
> while one can query groupcode in pre_linebreak_filter it is always
> "empty" in post_linebreak_filter regardless of what it was in pre_...
>
> My guess is that  this is again a single global variable that is being
> reused in several places (ie the hpack_filter ???) so that it gets
> clobbered depending on what linebreak does

It's a local variable passed to a function by value and not changed in 
between so can you check if it's not a latex callback wrapper that is 
obscuring it? (What groupcoude is shown in pre and not in post?)

> again not urgent as one can store the correct value in pre_... in a
> private global variable ...
>
> but fixing the housekeeping would be nice here
>
> good night
> frank
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the luatex mailing list