<-- previous page     Table of Contents    Index    next page -->

Printing auxiliary information

Some users may like to print some auxiliary information, such as the name of the Mup file, or the time the file was last modified. That can be accomplished by passing the desired information via a macro definition. For example, on a Linux system, you could create a shell script: mup -DINFO="$(stat --format 'Generated from file %n, last modified %y' $1)" $1 and then in Mup input files, use something like:

if defined(INFO) then
footer
        title `INFO`
endif


   <-- previous page    Table of Contents    Index    next page -->