|
From: | Clarke Echols |
Subject: | Re: [Groff] Line-drawing escape |
Date: | Tue, 28 Nov 2006 09:25:34 -0700 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
If you are operating in no-fill mode, why not use .tc to define the tab character? You can then set up the left-right justification and troff/groff replaces a tab character between left-hand and right-hand text with a multiple series of the character defined by .tc. You have to use .ta <dimension> R to get the right-aligned segment where <dimesion> identifies the location of the right-hand margin and R indicates right-justified text to that margin. This is commonly used when constructing a table of contents or index page. I think it's called a "leader" (fading memory :-) ). Miklos Somogyi wrote:
Folks,I used this macro for inserting dots between left- and right aligned test, a la text1 ..... text2:.de iD \\$1 \\kx\\l'(\\n(.lu-\\nxu-\w'\\$2 'u).' \\$2 .. It worked in troff, it works in groff. I had an "insert space" version of this (replacing `.' with a space).It worked in troff, but groff complains that `normal or special character expected (got a space)'.\0 is a special character but no good either (got a node). Is this a bug or a well-considered feature? Is there a way to save this structure?Well, I can always print text1 left-aligned and text2 right aligned, but still ...Thank you, Miklos _______________________________________________ Groff mailing list address@hidden http://lists.gnu.org/mailman/listinfo/groff
[Prev in Thread] | Current Thread | [Next in Thread] |