gbranden pushed a commit to branch master
in repository groff.
commit 4b7d5f8daf92b247f35f19c0917aeafa67867d17
Author: Douglas McIlroy <[email protected]>
AuthorDate: Wed Aug 11 16:09:49 2021 +0000
pic(1): Explain dotted/dashed line space scaling.
...since this document is not yet a full _pic_ reference.
Fixes <https://savannah.gnu.org/bugs/?44530>.
[Text lightly adapted by me from an email by Doug. The (dubious?)
choice to stuff it into a new section heading "Caveats" was mine. --GBR]
Co-authored-by: G. Branden Robinson <[email protected]>
Copyright-paperwork-exempt: yes
---
ChangeLog | 8 ++++++++
src/preproc/pic/pic.1.man | 29 +++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index e722f9d2d..6d025afa4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-08-11 Douglas McIlroy <[email protected]>
+
+ * src/prepic/pic/pic.1.man (Caveats): Explain dotted/dashed line
+ space scaling, since this document is not yet a full _pic_
+ reference.
+
+ Fixes <https://savannah.gnu.org/bugs/?44530>.
+
2026-01-19 G. Branden Robinson <[email protected]>
* Makefile.am: Stop adding ".version" file to the `EXTRA_DIST`
diff --git a/src/preproc/pic/pic.1.man b/src/preproc/pic/pic.1.man
index 4d7ef3296..160f1e12b 100644
--- a/src/preproc/pic/pic.1.man
+++ b/src/preproc/pic/pic.1.man
@@ -1554,6 +1554,35 @@ or using one that doesn't supply its own definitions for
them.
.
.
.\" ====================================================================
+.SH Caveats
+.\" ====================================================================
+.
+The spacing of dots and dashes in broken lines
+scales with other graphics,
+and is configurable.
+.
+For example,
+.
+.
+.RS
+.P
+.EX
+line from 0,0 to 100,0 dotted 5
+.EE
+.RE
+.
+.
+.P
+spaces the dots in a dotted line 5 units apart.
+.
+The spacing of dashes can be set the same way.
+.
+The
+.B \%dashwid
+variable sets the length of dashes.
+.
+.
+.\" ====================================================================
.SH Bugs
.\" ====================================================================
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit