Module Name:    src
Committed By:   martin
Date:           Mon Mar 25 15:23:50 UTC 2024

Modified Files:
        src/distrib/notes/common [netbsd-10]: main
        src/external/gpl2/groff/dist/tmac [netbsd-10]: doc.tmac

Log Message:
Pull up following revision(s) (requested by uwe in ticket #646):

        external/gpl2/groff/dist/tmac/doc.tmac: revision 1.3
        distrib/notes/common/main: revision 1.575

doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.
PR bin/58074

distrib/notes: add back the sentence final dot after .Lk
It was omitted in previous b/c of a bug in .Lk that was fixed
in PR bin/58074


To generate a diff of this commit:
cvs rdiff -u -r1.570.2.4 -r1.570.2.5 src/distrib/notes/common/main
cvs rdiff -u -r1.2 -r1.2.26.1 src/external/gpl2/groff/dist/tmac/doc.tmac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/common/main
diff -u src/distrib/notes/common/main:1.570.2.4 src/distrib/notes/common/main:1.570.2.5
--- src/distrib/notes/common/main:1.570.2.4	Sun Mar 24 20:24:26 2024
+++ src/distrib/notes/common/main	Mon Mar 25 15:23:49 2024
@@ -1,4 +1,4 @@
-.\"	$NetBSD: main,v 1.570.2.4 2024/03/24 20:24:26 bouyer Exp $
+.\"	$NetBSD: main,v 1.570.2.5 2024/03/25 15:23:49 martin Exp $
 .\"
 .\" Copyright (c) 1999-2012 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -482,7 +482,7 @@ The
 system architectures, with preliminary support for the others included in
 source form.
 For more information please visit
-.Lk https://www.NetBSD.org/
+.Lk https://www.NetBSD.org/ .
 .Pp
 .Nx
 is a completely integrated system.

Index: src/external/gpl2/groff/dist/tmac/doc.tmac
diff -u src/external/gpl2/groff/dist/tmac/doc.tmac:1.2 src/external/gpl2/groff/dist/tmac/doc.tmac:1.2.26.1
--- src/external/gpl2/groff/dist/tmac/doc.tmac:1.2	Wed Jan 13 19:01:59 2016
+++ src/external/gpl2/groff/dist/tmac/doc.tmac	Mon Mar 25 15:23:49 2024
@@ -6416,6 +6416,7 @@
 .  ds doc-str-Lk Sy \$@
 .
 .  ie (\n[.$] > 1) \{\
+.    doc-get-width \$2
 .    doc-get-arg-type \$2
 .    ie (\n[doc-arg-type] < 3) \{\
 .      Em \)\$2:

Reply via email to