summaryrefslogtreecommitdiff
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
parentd86d6936ff2c48a956b0442d2ac6bc133b10c6b2 (diff)
downloadgroff-a8bbc8c4cbe8062270b804e0aad98664ea2dfe63.tar.gz
* doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
-rw-r--r--ChangeLog4
-rw-r--r--doc/groff.texinfo14
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d209645..ae245248 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-10 Larry Kollar <kollar@alltel.net>
+
+ * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
+
2006-03-10 Werner LEMBERG <wl@gnu.org>
* src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
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