bugGNU roff - Bugs: bug #60840, Wrong calculation of the absolute...

 
 

bug #60840: Wrong calculation of the absolute vertical position (\v'|...')

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sun 27 Jun 2021 09:41:59 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Jun 2021 04:34:53 AM UTC, comment #1: 

Bug #60820 covers a documentation shortcoming of \v'|...' operation, which might explain part of this.  ("|" in vertical context does not always specify an absolute position.)

From your example input file, Heirloom troff produces nearly identical results for the second page, and notably different results for the first.  This suggests that part of groff's behavior follows historical troff practice, and part of it may depart from it.  (Or possibly Heirloom does.  Even with Tadziu's explanation linked from #60820, I'm at a loss to explain Heirloom's results here.)

Dave <barx>
Group Member
Sun 27 Jun 2021 09:41:59 PM UTC, original submission:  


 Example:

'bp
.sp 1i
\v'|72000u'
TEXT
\v'|72000u'
TEXTI
\v'|72000u'
TEXTIA
\v'|72000u'
TEXTIAB
.bp
.sp 2i
TEXT
\v'|72000u'
TEXTI
\v'|72000u'
TEXTIA
\v'|72000u'
TEXTIAB


  Device independent output:

x T ps
x res 72000 1 1
x init
p1
V84000
H72000
DFd
wx font 5 TR
f5
s10000
h2500
md
tTEXT
wwh5000
tTEXTI
wwh5000
tTEXTIA
wwh5000
tTEXTIAB
n12000 0
V792000
p2
x font 5 TR
f5
s10000
V156000
H72000
tTEXT
wwh5000
V84000
tTEXTI
wwh5000
V12000
tTEXTIA
wwh5000
V-60000
tTEXTIAB
n12000 0
x trailer
V792000
x stop


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code