Thread View: net.bugs.v7
1 messages
1 total messages
Started by utzoohenry
Tue, 19 Apr 1983 21:12
tbl expand bugs
Author: utzoohenry
Date: Tue, 19 Apr 1983 21:12
Date: Tue, 19 Apr 1983 21:12
20 lines
1028 bytes
1028 bytes
There are a couple of bugs in tbl's "expand" mode. It ignores the possibility of a non-zero indent, and its minimum intercolumn spacing is 0 rather than a more reasonable 1 en. To fix this, look in t6.c, about line 140, for a section headed "now adjust for total table width". Within that, make the following two changes (line numbers approximate): 148c149 < fprintf(tabout, ".nr %d \\n(.l-\\n(%d\n", TMP, TMP); --- > fprintf(tabout, ".nr %d \\n(.l-\\n(.i-\\n(%d\n", TMP, TMP); 154c155 < fprintf(tabout, ".if \\n(%d<0 .nr %d 0\n", TMP, TMP); --- > fprintf(tabout, ".if \\n(%d<1n .nr %d 1n\n", TMP, TMP); With thanks to David Trueman, who spotted the second problem and diagnosed the first. Henry Spencer U of Toronto
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads