Re: [Dev-luatex] \Uchar errors with "FFFD

2022-08-12 Thread Hans Hagen
On 8/12/2022 8:08 PM, Ulrike Fischer wrote: \Uchar"FFFD \bye errors with ! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD (fffd works) In luatex we have this in the string converter if (val == 0xFFFD) utf_error(); because 0xFFFD is the intial value. In luame

Re: [Dev-luatex] \Uchar errors with "FFFD

2022-08-12 Thread Ulrike Fischer
Am Fri, 12 Aug 2022 20:08:06 +0200 schrieb Ulrike Fischer: > \Uchar"FFFD > \bye > > > errors with > > ! String contains an invalid utf-8 sequence. > l.93 \Uchar"FFFD > > > (fffd works) Addition: while fffd directly works, \detokenize {fffd} fails with the same error -- Ulrik

[Dev-luatex] \Uchar errors with "FFFD

2022-08-12 Thread Ulrike Fischer
\Uchar"FFFD \bye errors with ! String contains an invalid utf-8 sequence. l.93 \Uchar"FFFD (fffd works) -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ dev-luatex mailing list dev-luatex@ntg.nl https://mailman.ntg.nl/mailman/listi

[Dev-luatex] Fwd: Importing .tex files using \directlua to navigate files and folders

2022-08-12 Thread Hans Hagen
Forwarded Message Subject: Re: [Dev-luatex] Importing .tex files using \directlua to navigate files and folders Date: Fri, 12 Aug 2022 09:44:24 +0200 From: Hans Hagen To: Taco Hoekwater On 8/12/2022 9:30 AM, Taco Hoekwater wrote: On 11 Aug 2022, at 14:08, paolo de luc

Re: [Dev-luatex] Importing .tex files using \directlua to navigate files and folders

2022-08-12 Thread Hans Hagen
On 8/11/2022 2:08 PM, paolo de luca wrote: Hi all, I've been trying to import all tex files and inside a given folder, the issue I'm facing is that my lua call is not able to navigate folders: it only works for files. It's worth mentioning that compilation successfully completes as the document

Re: [Dev-luatex] Importing .tex files using \directlua to navigate files and folders

2022-08-12 Thread Taco Hoekwater
> On 11 Aug 2022, at 14:08, paolo de luca wrote: > > Hi all, > > I've been trying to import all tex files and inside a given folder, the issue > I'm facing is that my lua call is not able to navigate folders: it only works > for files. > It's worth mentioning that compilation successfully co

[Dev-luatex] Importing .tex files using \directlua to navigate files and folders

2022-08-12 Thread paolo de luca
Hi all, I've been trying to import all tex files and inside a given folder, the issue I'm facing is that my lua call is not able to navigate folders: it only works for files. It's worth mentioning that compilation successfully completes as the document is created, but I have no errors explaining m