source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: test the roff(7) .in request
@ 2025-07-19 10:08 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2025-07-19 10:08 UTC (permalink / raw)
  To: source

Log Message:
-----------
test the roff(7) .in request

Modified Files:
--------------
    mandoc/regress/roff:
        Makefile

Added Files:
-----------
    mandoc/regress/roff/in:
        Makefile
        fraction.in
        fraction.out_ascii
        incr.in
        incr.out_ascii

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/roff/Makefile,v
diff -Lregress/roff/Makefile -Lregress/roff/Makefile -u -p -r1.10 -r1.11
--- regress/roff/Makefile
+++ regress/roff/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.29 2022/04/28 16:16:46 schwarze Exp $
+# $OpenBSD: Makefile,v 1.30 2025/07/19 10:02:37 schwarze Exp $
 
 SUBDIR  = args cond esc scale string
-SUBDIR += br cc ce char de ds ft ig it ll mc na nr po ps
+SUBDIR += br cc ce char de ds ft ig in it ll mc na nr po ps
 SUBDIR += return rm rn shift sp ta ti tr while
 
 .include "../Makefile.sub"
--- /dev/null
+++ regress/roff/in/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2025/07/19 10:02:37 schwarze Exp $
+
+REGRESS_TARGETS	= incr fraction
+
+# groff-1.23.0 defect:
+# - Repeated relative sub-EN indentations do not add up,
+#   but instead, each one is ignored.
+
+.include <bsd.regress.mk>
--- /dev/null
+++ regress/roff/in/incr.out_ascii
@@ -0,0 +1,14 @@
+IN-INCR(1)                  General Commands Manual                 IN-INCR(1)
+
+N\bNA\bAM\bME\bE
+     in-incr - incremental .in requests
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     initial text
+      offset 1n
+       offset 2n
+      offset 1n
+
+     final text
+
+OpenBSD                          July 19, 2025                      IN-INCR(1)
--- /dev/null
+++ regress/roff/in/fraction.out_ascii
@@ -0,0 +1,13 @@
+IN-FRACTION(1)              General Commands Manual             IN-FRACTION(1)
+
+N\bNA\bAM\bME\bE
+     in-fraction - indentation by non-integer multiples of EN
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     initial text
+     offset 12u
+      offset 13u
+
+     final text
+
+OpenBSD                          July 19, 2025                  IN-FRACTION(1)
--- /dev/null
+++ regress/roff/in/fraction.in
@@ -0,0 +1,12 @@
+.\" $OpenBSD: fraction.in,v 1.1 2025/07/19 10:02:37 schwarze Exp $
+.TH IN-FRACTION 1 "July 19, 2025"
+.SH NAME
+in-fraction \- indentation by non-integer multiples of EN
+.SH DESCRIPTION
+initial text
+.in 132u
+offset 12u
+.in 133u
+offset 13u
+.PP
+final text
--- /dev/null
+++ regress/roff/in/incr.in
@@ -0,0 +1,14 @@
+.\" $OpenBSD: incr.in,v 1.1 2025/07/19 10:02:37 schwarze Exp $
+.TH IN-INCR 1 "July 19, 2025"
+.SH NAME
+in-incr \- incremental .in requests
+.SH DESCRIPTION
+initial text
+.in +1n
+offset 1n
+.in +1n
+offset 2n
+.in -1n
+offset 1n
+.PP
+final text
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-19 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-19 10:08 mandoc: test the roff(7) .in request schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).