[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: catcode problems with `@include`
From: |
Werner LEMBERG |
Subject: |
Re: catcode problems with `@include` |
Date: |
Tue, 12 Sep 2023 08:44:25 +0000 (UTC) |
> ```
> luatex foo.texinfo
> ```
>
> the `@tex` environment within this file works just fine, and file
> `foo.lua` is correctly loaded. However, saying
Oops, I accidentally attached a wrong version of file `foo.texinfo`.
Here is the correct one.
Werner
\input texinfo
@tex
\ifx\luatexversion\thisisundefined
\else
\directlua{
dofile(kpse.find_file("foo.lua")) }
\fi
@end tex
foobar
@bye