sakw@cvaxa.UUCP (Sak Wathanasin) (03/21/86)
I've been converting the w2troff program (which reads a MacWrite file & generates troff cmds from it) to generate "raw" troff in place of the -me macros that it used previously. This will mean that w2troff can be used on SysV systems. It seems to be working, but I have a problem trying to set tab stops to match the MacWrite rulers. The problem is that the tabs seem to be calculated relative to the current left indent. Consider the following troff fragment: .po 0i .in 1i .ta 1i 2i 3i 4i .ti -0.5i tag 1 2 3 4 .br notag 1 2 3 ..... where everything on the tag.. and notag lines is separated by tabs. I expected to see 0.5i 1.0i 2.0i 3.0i 4.0i <- distance from left edge of paper | | | | | tag 1 2 3 4 notag 1 2 3 instead I get 0.5i 1.5i 2.5 3.5 | | | | tag 1 2 34 notag 1 2 3 what happens is that tabs on the first line have been calculated relative to the .ti -0.5i, so that my tab settings are really 0.5i 1.5i 2.5i 3.5i. Regardless of whether this is a bug or a feature, can some troff wizard out there tell me how I can set tabstops at absolute posns from the left hand edge of the paper (I can compensate for any offsets so long as they are constant). (I've tried .ta |1.0i |2.0i etc - the result is even weirder). Thanks in advance, -- Sak Wathanasin, U of Sussex, Cognitive Studies, Falmer, Sussex BN1 9QN, UK uucp:...mcvax!ukc!cvaxa!sakw arpa/janet: sakw%svga@uk.ac.ucl.cs