summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2008-11-05 22:58:59 +0000
committerwl <wl>2008-11-05 22:58:59 +0000
commitadd125065218832ef78b7cca392a8432567e6a99 (patch)
treebe51742ea98d9d0e4ccfb1c52b72b5573e5a91c9
parent401316d0617a8227458ab30bc67ca5e9e51557ef (diff)
downloadgroff-add125065218832ef78b7cca392a8432567e6a99.tar.gz
* tmac/doc-common (Dt): Start a new page if necessary and set up
headers. * tmac/andoc.tmac (reload-doc): Simplify due to change in doc-common. * NEWS: Document it.
-rw-r--r--ChangeLog14
-rw-r--r--NEWS8
-rw-r--r--tmac/an-old.tmac2
-rw-r--r--tmac/andoc.tmac1
-rw-r--r--tmac/doc-common6
5 files changed, 24 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index d8b646aa..bf784827 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-05 Werner LEMBERG <wl@gnu.org>
+
+ * tmac/doc-common (Dt): Start a new page if necessary and set up
+ headers.
+
+ * tmac/andoc.tmac (reload-doc): Simplify due to change in
+ doc-common.
+
+ * NEWS: Document it.
+
2008-10-18 Werner LEMBERG <wl@gnu.org>
* src/preproc/tbl/main.cpp (process_format): Rename `x' and `X' to
@@ -365,7 +375,7 @@
(.ESCq): Fix font of closing quote character.
Many other improvements.
-2007-12-30 Bernhard Fisseni <bfi@ikp.uni-bonn.de
+2007-12-30 Bernhard Fisseni <bfi@ikp.uni-bonn.de>
* src/devices/grohtml/post-html.cc
(html_printer::writeHeadMetaStyle): Fix CSS output.
@@ -717,7 +727,7 @@
into...
* src/devices/xditview/GXditview-color.ad: This new file.
-2007-06-08 Fabrice Ménard <menard.fabrice@wanadoo.fr>.
+2007-06-08 Fabrice Ménard <menard.fabrice@wanadoo.fr>
* tmac/fr.tmac: Handle chapter system for `me'.
diff --git a/NEWS b/NEWS
index 93b2183c..e7305f1d 100644
--- a/NEWS
+++ b/NEWS
@@ -76,7 +76,6 @@ o The space width emitted by the `\|' and `\^' escape sequences can be
This behaviour is not new, but hasn't been documented before.
-
Nroff
-----
@@ -100,7 +99,7 @@ o Heinz-Jürgen Örtel contributed code for two new keywords, `xslanted' and
Eqn
---
-o Eric S. Raymond has added a new device type to eqn, MathML. When
+o Eric S. Raymond has added a new device type to eqn, MathML. When
-TMathML is enabled, eqn now emits MathML formula markup rather than
groff commands. The new groff -Txhtml device uses this.
@@ -187,6 +186,9 @@ o Czech macro localization (with `-mcs') has been added.
o A new macro `Dx' has been added to the mdoc package which identifies the
DragonFly OS.
+o If mdoc is used to print multiple man pages (together with the -rcR=0
+ command line option), each man page now starts a new page.
+
o -mtrace has been considerably improved, now showing number and string
register assignments, among other things. See the groff_trace man page
for details.
@@ -276,7 +278,7 @@ Grotty
------
o Experimental support for zero-width and double-width characters.
-
+
Gxditview
---------
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index c686731f..ede5bb20 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -204,7 +204,7 @@
. wh -1i an-footer
. wh \\n[FT]u an-p-footer
.
-. if (\\n[nl] > 0) \{\
+. if \\n[nl] \{\
. ie \\n[C] .bp (\\n[%] + 1)
. el .bp 1
. \}
diff --git a/tmac/andoc.tmac b/tmac/andoc.tmac
index 5b938b42..a3338907 100644
--- a/tmac/andoc.tmac
+++ b/tmac/andoc.tmac
@@ -45,7 +45,6 @@
.
. mso doc.tmac
.
-. ds str-dfp NAME\" this triggers setup-header
. als TH reload-man
\\*[Dd]\\
..
diff --git a/tmac/doc-common b/tmac/doc-common
index ebc5dd75..5a187e80 100644
--- a/tmac/doc-common
+++ b/tmac/doc-common
@@ -359,6 +359,12 @@
. if !"\$3"" \
. if "\*[doc-volume]"LOCAL" \
. ds doc-volume \$3
+.
+. if !\n[cR] \
+. if \n[nl] \{\
+ . doc-setup-header
+. bp
+. \}
..
.
.