[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
groff (tbl/troff) gets confused when page number register format is roma
From: |
Jonathan Leffler |
Subject: |
groff (tbl/troff) gets confused when page number register format is roman, not decimal |
Date: |
Sun, 22 Aug 2004 23:45:08 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803 |
Another odd-ball bug - the key operation is the combination of setting
the current page number to 9 (.pn 9) plus setting the page number
format to roman (.af % i). This produces the messages:
tblbug2.n:5: expected `;' after scale-indicator (got `x')
troff: expected `;' after scale-indicator (got `x')
I think the problem is in tbl - but I could be misreading the
tealeaves. The complete document that produces this error is:
.pn 9
.af % i
.EH "!%\h'1c'\fIContents\fP!!!"
.OH "!!!\fIContents\fP\h'1c'%"
.TS
center, expand, tab(@);
lb r.
address@hidden
.TE
I was processing using 'groff -t -Tps -mm tblbug2.n > tblbug2.ps'.
I was using groff 1.18.1 on MacOS X 10.3.5, and (as before) I have
been unable to upgrade to groff 1.19 because it does not compile
cleanly out of the box with either the GCC 3.4.0 I built or the GCC
3.3 built by Apple.
If you change the .af line to use '0' instead of 'i', the output is clean.
--
Jonathan Leffler (address@hidden, address@hidden)
#include <disclaimer.h>
Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/
- groff (tbl/troff) gets confused when page number register format is roman, not decimal,
Jonathan Leffler <=