[Groff] About header and footer

2008-01-31 Thread Luke Huang
Who please teach me how to add the header (or footer) which is NOT shown in the first page of each section. P.S I am suing groff with -ms. Thanks a lot Luke

Re: [Groff] About header and footer

2008-01-31 Thread Luke Huang
Thanks. But, it seems not to solve my problem. I guess you misunderstood my requirement. But, that's my fault.Sorry for my poor English that make you confused;) My problem is that, I defined header with .CH, .LH ... macros, and use a .bp to start a section (or chapter ) in a new page.

Re: [Groff] About header and footer

2008-01-31 Thread Luke Huang
From: "Yu Zhao" <[EMAIL PROTECTED]> Subject: Re: [Groff] About header and footer Date: Fri, 1 Feb 2008 00:55:34 +0800 > .de BP > .rn CH @CH > .rn LH @LH > .bp > .rn @CH CH > .rn @LH LH > .. > > Then use .BP instead of .bp. Thanks. That's exactly what I need. Luke

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
Hey, Both works. I prefer to the one from Gaius. Anyway, thanks a lot to you all. Luke > > Quick and very dirty, and I'd hope there was a better way that someone > > points out. Over-print: > > > > .PS > > r=0.1 > > { circle rad r "\s-2A\s+2" shaded "red" outline "green" } > >

Re: [Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
Hey, this looks not so ``official'', but smart;) cheers Luke > How about:- > > .PS > r=1 > > circle rad r "\s-2A\s+2" shaded "red" outline "green" invisible > > .PE > > Cheers > > Deri

[Groff] How to draw a colorful circle/box with colorful text

2008-10-10 Thread Luke Huang
>From the manual, I learn a way like this, .PS r=0.1 circle rad r "\s-2A\s+2" shaded "red" outline "green" .PE This works, but is not satisfying enough for me. In this case, it draws a circle with green text (what I need) and green edge (*NOT* what I need). My question is: how to draw a c

[Groff] groff -mm output something I don't expect

2008-11-13 Thread Luke Huang
Hi all, I ``troff'' a simple file, hello.mm whose content is: .\" hello.mm Hello World! with the command line: $ /usr/local/bin/groff -mm hello.mm > hello.ps and opened it with ``evince'', then I found there are two short bars in topleft and topright corners of the page. I searched from g

Re: [Groff] groff -mm output something I don't expect

2008-11-14 Thread Luke Huang
Wow, there were so many masters of troff/groff answering my stupid question. Thanks a lot. You are all right, ``mm'' macro of the newest groff has *NOTHING* wrong. However, current version of evince does its job as well. After one day's inverstigation, I found the problem is ca

Re: [Groff] groff -mm output something I don't expect

2008-11-15 Thread Luke Huang
> * groff produces wrapper macros for `ms' and friends which call the > system's original macros. Then, to get groff's ms macro package I > have to use `-mgs' instead `-ms'. Can I avoid this? > > Yes. Configure and compile groff as usual, but install it with > > make install tm

Re: [Groff] groff -mm output something I don't expect

2008-11-15 Thread Luke Huang
> This is a feature of the original mm macro set, intended to show where > to cut a continuous sheet of paper into individual pages! Hi Nick, Ok, I see, thanks. Then, how can I disable this feature when I use mm of traditional troff?\*F .FS Sorry for asking a question not about groff in a groff

Re: [Groff] groff -mm output something I don't expect

2008-11-15 Thread Luke Huang
> This is a feature of the original mm macro set, intended to show where > to cut a continuous sheet of paper into individual pages! By the way, after reading code of mmt macro, I have found an *ugly* way to disable this feature, disabling macro )k that generates the output of two short bars. Th