GNU Info

Info Node: (groff)End-of-input Traps

(groff)End-of-input Traps


Prev: Input Line Traps Up: Traps
Enter node , (file) or (file)node

End-of-input Traps
------------------

 - Request: .em macro
     Sets a trap at the end of input.  The MACRO specified is executed
     after the last line of the input file has been processed.

     For example, if the document had to have a section at the bottom
     of the last page for someone to approve it, the `em' request could
     be used.


          .de approval
          .ne 5v
          .sp |(\\n(.t-6v)
          .in +4i
          .lc _
          .br
          Approved:\t\a
          .sp
          Date:\t\t\a
          ..
          .em approval



automatically generated by info2www version 1.2.2.9