GNU Info

Info Node: (groff)Input Line Traps

(groff)Input Line Traps


Next: End-of-input Traps Prev: Diversion Traps Up: Traps
Enter node , (file) or (file)node

Input Line Traps
----------------

 - Request: .it n macro
     Sets an input line trap.  N is the number of lines of input which
     may be read before "springing" the trap, MACRO is the macro to be
     invoked.  Request lines are not counted as input lines.

     For example, one possible use is to have a macro which prints the
     next N lines in a bold font.


          .de B
          .it \\$1 B-end
          .ft B
          ..
          .de B-end
          .ft R
          ..



automatically generated by info2www version 1.2.2.9