[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66251] different behaviour of options '-man' and '-mandoc' regardi
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #66251] different behaviour of options '-man' and '-mandoc' regarding register 'IN' |
Date: |
Wed, 25 Sep 2024 04:35:30 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?66251>
Summary: different behaviour of options '-man' and '-mandoc'
regarding register 'IN'
Group: GNU roff
Submitter: bjarniig
Submitted: Wed 25 Sep 2024 08:35:25 AM UTC
Category: Macro package - others/general
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 25 Sep 2024 08:35:25 AM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: different behaviour of options '-man' and '-mandoc' regarding
register 'IN'
"nroff" is the current released version
nroff --version: GNU nroff (groff) version 1.23.0
nroff -man -ww -z <input file>:
.i is 0u, IN is 168u, .p is 2640u
.i is 0u, IN is 168u, .p is 2720u
.i is 168u, IN is 168u, .p is 2720u
1 em is 24u
Current indent is 336u, IN is 168u, .p is 2720u
Current indent is now 144u, IN is 168u, .p is 2720u
-.-
nroff -mandoc -ww -z <input file>:
.i is 0u, IN is troff:/home/bg/testen/prof.indent:1: warning: register 'IN'
not defined
0u, .p is 2640u
.i is 0u, IN is 0u, .p is 2720u
.i is 0u, IN is 0u, .p is 2720u
1 em is 24u
Current indent is 0u, IN is 0u, .p is 2720u
troff:/home/bg/testen/prof.indent:15: warning: indent cannot be negative
Current indent is now 0u, IN is 0u, .p is 2720u
The input file is in the attachment.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: prof.indent Size: 568B
<https://file.savannah.gnu.org/file/prof.indent?file_id=56451>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-14b38883ab957b38c0a68af9e7ebdf6fc3130a94.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66251>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66251] different behaviour of options '-man' and '-mandoc' regarding register 'IN',
Bjarni Ingi Gislason <=