[NTG-context] Unicode chars and \insertpages (Win7)

Hans Hagen j.hagen at xs4all.nl
Fri May 29 09:45:25 CEST 2020


On 5/28/2020 9:49 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>    \startext
>      \insertpages[ξ_file.pdf]
>    \stoptext
> 
> Using latest on Linux, it works perfectly fine. On Windows (I’m still on
> Win7), it doesn’t work unless I replace "ξ" with an ASCII character.
> 
> Could this be fixed or is it really a limiatation of Windows?
It depends on the version and engine. For luatex we also depends on the 
interfacing that the texlive ecosystem provides. As Akira mentions, 
there have been some developments in that area but I didn't test that 
yet (no files with utf names here) but I trust his (always done) testing 
of context. That will trickle into future binaries (which is somewhat 
tricky as we have experimental as well as current).

In luametatex things are different. There all windows specific 
operations have wide-character support, that is, the utf8 goes via utf16 
and codepages and such: filenames, environment variables, command line 
arguments, whatever.

That said: I never use non-ascii non-spacy names ... it's the most 
portable.

Hans

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


More information about the ntg-context mailing list