Good morning! > macro \inputfile which expands to the name of the file that is > currently read. In ExTeX (based on NTS) we have programmed such primitives: - \input <file> standard-version - \inputfile{<file>} <file> can be a Makros or has space - \jobname Name of the master file - \inputjobname Name of the file, which is imported by input or inputfile - ... By Michael