Skip to content

alias OpenReadFileCallback


(alias) OpenReadFileCallback = fun(file_name: string) -> OpenReadFileEnv

Open a file for reading. The returned table should define key functions for reader and close.

The filename returned by a previous find_read_file or the return value of kpse.find_file() if there was no such callback defined.