aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-08-20 07:33:51 +0000
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-08-21 23:54:09 +0000
commited651bf96f558fd6514d8301c813a175a8a1c51b (patch)
tree54139dd4b969212504933cc2da161217ae0963de /doc
parentf740ad3774c1adc7844451dd561c7de143766635 (diff)
downloadsciteco-ed651bf96f558fd6514d8301c813a175a8a1c51b.tar.gz
support Groff v1.19.2 as still used by default on NetBSD 10
* They have a newer version in pkgsrc, but it's not even available as a binary package on the arm6. * Has some glitches, e.g. does accept the ASCII 27 in tutorial.ms, but it's probably not worth to work around.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am8
-rwxr-xr-xdoc/grosciteco.tes2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4911cb1..5ef4110 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -81,11 +81,11 @@ EXTRA_DIST += tutorial.ms.in
CLEANFILES += $(women_DATA)
%.woman %.woman.tec : % sciteco.tmac grosciteco.tes
- @GROFF@ -wall -Z -Kutf-8 -Tutf8 -t -man -M@srcdir@ -msciteco $< | \
+ @GROFF@ @GROFF_FLAGS@ -wall -Z -Tutf8 -t -man -M@srcdir@ -msciteco $< | \
$(SCITECO_FULL) -im -- @srcdir@/grosciteco.tes $@
tutorial.woman tutorial.woman.tec : tutorial.ms sciteco.tmac grosciteco.tes
- @GROFF@ -wall -Z -Kutf-8 -Tutf8 -t -ms -M@srcdir@ -msciteco $< | \
+ @GROFF@ @GROFF_FLAGS@ -wall -Z -Tutf8 -t -ms -M@srcdir@ -msciteco $< | \
$(SCITECO_FULL) -im -- @srcdir@/grosciteco.tes $@
man_MANS = grosciteco.tes.1 tedoc.tes.1 sciteco.1 sciteco.7
@@ -100,10 +100,10 @@ endif
%.html : % htbl.tes
$(SCITECO_FULL) -qiom -- @srcdir@/htbl.tes <$< | \
- @GROFF@ -wall -Thtml -man >$@
+ @GROFF@ @GROFF_FLAGS@ -wall -Thtml -man >$@
%.html : %.ms
- @GROFF@ -wall -Thtml -ms $< >$@
+ @GROFF@ @GROFF_FLAGS@ -wall -Thtml -ms $< >$@
# FIXME: We may want to build the cheat sheet automatically.
# This would require a full Groff installation, though.
diff --git a/doc/grosciteco.tes b/doc/grosciteco.tes
index a724a5f..c4f16e1 100755
--- a/doc/grosciteco.tes
+++ b/doc/grosciteco.tes
@@ -219,7 +219,7 @@ EBN[output-woman] HK 1EB
:M#sw :M#gi :M#sc F<
!cmd.V!
- :M#sw :M#gi/Q[res.v]-1+Q[origin.v]U[pos.v] :M#sc F<
+ :M#sw :M#gi/Q[res.v]-1+Q[origin.v]U[pos.v] Q[pos.v]"<0U[pos.v]' :M#sc F<
!cmd.v!
:M#sw :M#gi/Q[res.v]%[pos.v] :M#sc F<