summaryrefslogtreecommitdiff
path: root/doc/groff.texinfo
diff options
context:
space:
mode:
authorwl <wl>2006-03-10 05:41:22 +0000
committerwl <wl>2006-03-10 05:41:22 +0000
commita8bbc8c4cbe8062270b804e0aad98664ea2dfe63 (patch)
tree3fbf85b79414eebf44d7bc08140c240a30209a37 /doc/groff.texinfo
parentd86d6936ff2c48a956b0442d2ac6bc133b10c6b2 (diff)
downloadgroff-a8bbc8c4cbe8062270b804e0aad98664ea2dfe63.tar.gz
* doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
Diffstat (limited to 'doc/groff.texinfo')
-rw-r--r--doc/groff.texinfo14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 6b47fec3..68f3a028 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -3992,6 +3992,20 @@ You can replace the quote (@code{'}) marks with any character not
appearing in the header or footer text.
@endDefmac
+To specify custom header and footer processing,
+redefine the following macros:
+
+@DefmacList {PT,, ms}
+@DefmacItem {HD,, ms}
+@DefmacListEnd {BT,, ms}
+The @code{PT} macro defines a custom header;
+the @code{BT} macro defines a custom footer. These macros must
+handle odd/even/first page differences if necessary.
+
+The @code{HD} macro defines additional header processing
+to take place after executing the @code{PT} macro.
+@endDefmac
+
@c ---------------------------------------------------------------------
@node ms Margins, ms Multiple Columns, ms Headers and Footers, ms Page Layout