[luatex] Detecting script

Hans Hagen pragma at wxs.nl
Thu Jun 16 22:19:10 CEST 2016


On 6/16/2016 6:03 PM, Javier Bezos wrote:
> El 16/06/2016 15:16, Javier Bezos escribió:
>> Hans,
>>
>>>> I'm thinking mainly in short chunks of texts, like a proper noun
>>>> inside an Arabic o Devanagari text.
>>>>
>>>> I think pre_linebreak_filte is too late and process_input_buffer is
>>>> too soon, but I may be wrong. Or perhaps the best solution is not
>>>> based on a callback at all.
>>>
>>> hpack_filter is probably the place you want
>
> It works at the node level and apparently it doesn't work at
> the outer horizontal mode, only hboxes. I want something
> at the token level.

it helps to read the manual -)

pre_linebreak_filter

-----------------------------------------------------------------
                                           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