From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: New tests of tabs in fill mode, in particular when multiple
Date: Tue, 16 Aug 2022 13:07:24 -0500 (EST) [thread overview]
Message-ID: <336a36668d16a054@mandoc.bsd.lv> (raw)
Log Message:
-----------
New tests of tabs in fill mode, in particular
when multiple input or output lines are involved.
Modified Files:
--------------
mandoc/regress/char/space:
Makefile
Added Files:
-----------
mandoc/regress/char/space:
tab-filled.in
tab-filled.out_ascii
Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/char/space/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/char/space/Makefile -Lregress/char/space/Makefile -u -p -r1.2 -r1.3
--- regress/char/space/Makefile
+++ regress/char/space/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.12 2016/12/07 23:27:42 schwarze Exp $
+# $OpenBSD: Makefile,v 1.14 2022/08/16 18:04:04 schwarze Exp $
REGRESS_TARGETS = leading-mdoc leading-man multiple trailing-mdoc zerowidth
REGRESS_TARGETS += eos eos-man break nobreak
-REGRESS_TARGETS += tab tab-man esct-mdoc esct-man
+REGRESS_TARGETS += tab tab-filled tab-man esct-mdoc esct-man
REGRESS_TARGETS += invalid
UTF8_TARGETS = zerowidth
--- /dev/null
+++ regress/char/space/tab-filled.out_ascii
@@ -0,0 +1,57 @@
+SPACE-TAB-FILLED(1) General Commands Manual SPACE-TAB-FILLED(1)
+
+N\bNA\bAM\bME\bE
+ SPACE-TAB-FILLED - tab characters in fill mode
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ T\bTa\bab\bbs\bs a\bar\bre\be r\bre\bel\bla\bat\bti\biv\bve\be t\bto\bo t\bth\bhe\be b\bbe\beg\bgi\bin\bnn\bni\bin\bng\bg o\bof\bf t\bth\bhe\be c\bcu\bur\brr\bre\ben\bnt\bt i\bin\bnp\bpu\but\bt l\bli\bin\bne\be.\b.
+ one two
+ t
+ t
+ a 1 t
+ a 22 t
+ a 333 t
+ a 4444 t
+ a 55555 t
+ ab 1 t
+ ab 22 t
+ ab 333 t
+ ab 4444 t
+ ab 55555 t
+
+ T\bTa\bab\bb m\bme\bea\bas\bsu\bur\bre\bem\bme\ben\bnt\bt c\bco\bon\bnt\bti\bin\bnu\bue\bes\bs o\bon\bnt\bto\bo t\bth\bhe\be n\bne\bex\bxt\bt o\bou\but\btp\bpu\but\bt l\bli\bin\bne\be.\b.
+ Using a line length of 5n=12n-7n and tab positions of 7n and 9n:
+ a
+ 1 t
+ a
+ 22 t
+ a
+ 333 t
+ a
+ 4444 t
+ a
+ 55555 t
+ ab
+ 1 t
+ ab
+ 22 t
+ ab
+ 333 t
+ ab
+ 4444 t
+ abc
+ 1 t
+ abc
+ 22 t
+ abc
+ 333 t
+ adcd
+ 1 t
+ abcd
+ 22 t
+ abcde
+ 1 t
+ abcdef
+ 1 t
+
+OpenBSD August 16, 2022 SPACE-TAB-FILLED(1)
--- /dev/null
+++ regress/char/space/tab-filled.in
@@ -0,0 +1,81 @@
+.\" $OpenBSD: tab-filled.in,v 1.1 2022/08/16 18:04:04 schwarze Exp $
+.TH SPACE-TAB-FILLED 1 "August 16, 2022"
+.SH NAME
+SPACE-TAB-FILLED \- tab characters in fill mode
+.SH DESCRIPTION
+.SS Tabs are relative to the beginning of the current input line.
+one two
+.br
+\&\c
+\& t
+.br
+\&
+\& t
+.br
+a
+1 t
+.br
+a
+22 t
+.br
+a
+333 t
+.br
+a
+4444 t
+.br
+a
+55555 t
+.br
+ab
+1 t
+.br
+ab
+22 t
+.br
+ab
+333 t
+.br
+ab
+4444 t
+.br
+ab
+55555 t
+.SS Tab measurement continues onto the next output line.
+Using a line length of 5n=12n-7n and tab positions of 7n and 9n:
+.br
+.ll 12n
+.ta 7n 9n
+a 1 t
+.br
+a 22 t
+.br
+a 333 t
+.br
+a 4444 t
+.br
+a 55555 t
+.br
+ab 1 t
+.br
+ab 22 t
+.br
+ab 333 t
+.br
+ab 4444 t
+.br
+abc 1 t
+.br
+abc 22 t
+.br
+abc 333 t
+.br
+adcd 1 t
+.br
+abcd 22 t
+.br
+abcde 1 t
+.br
+abcdef 1 t
+.br
+.ll
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
reply other threads:[~2022-08-16 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=336a36668d16a054@mandoc.bsd.lv \
--to=schwarze@mandoc.bsd.lv \
--cc=source@mandoc.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).