[Groff] howto pass args to macro

2010-04-06 Thread Richard Ray
I want to pass multiple arguments to a macro and each argument may be composed of multiple words/characters I figured out this works but is there a way without defining individual strings .nf .de P \\*[\\$1] \\*[\\$2] \\*[\\$3] .. . .ds x a b c .ds y d e .ds z f g h i .P x y z Richard

Re: [Groff] how to use logical operators

2010-04-06 Thread Richard Ray
On Tue, 6 Apr 2010, Werner LEMBERG wrote: I know this is wrong Would someone fix it .ds a foo .ds b bar . .if d a & d b \{\ \*[a] \*[b] .\} Richard Solution: .ds a foo .ds b bar . .if d a \ . if d b \{\ \*[a] \*[b] .\} From groff.info, section `Operators in Conditionals': Note that t

[Groff] how to use logical operators

2010-04-06 Thread Richard Ray
I know this is wrong Would someone fix it .ds a foo .ds b bar . .if d a & d b \{\ \*[a] \*[b] .\} Richard

Re: [Groff] setting a custom page length

2010-04-02 Thread Richard Ray
On Fri, 2 Apr 2010, Tadziu Hoffmann wrote: Don't y'all just love dealing with beginners As with most computer programs, experience helps quite a lot, and the best way to gain experience is through experimentation. I had figured out that I had to pass a page size to grops but I had it stuc

Re: [Groff] snapshot compile fails

2010-04-02 Thread Richard Ray
On Fri, 2 Apr 2010, Denis M. Wilson wrote: I reported this in February, below is what Werner said: Denis Remove the `inline' keyword as described in the last entry of the PROBLEMS file. I haven't had time yet to fix this. Werner That did the trick Thanks Richard

Re: [Groff] setting a custom page length

2010-04-02 Thread Richard Ray
On Fri, 2 Apr 2010, Tadziu Hoffmann wrote: If I set .pl 15i the resulting document is 11i long and the bottom of my document is cut off How else should I define a custom length Using groff-1.18.1 $ cat long_page_test .pl 15i this is the top .sp |14.5i this is the bottom $ groff long_page_tes

Re: [Groff] setting a custom page length

2010-04-01 Thread Richard Ray
On Thu, 1 Apr 2010, Ralph Corderoy wrote: Hi Richard, If I set .pl 15i the resulting document is 11i long and the bottom of my document is cut off How else should I define a custom length Using groff-1.18.1 Can you provide some extra detail? Are you using a macro set, e.g. -ms? Is there a

[Groff] setting a custom page length

2010-04-01 Thread Richard Ray
If I set .pl 15i the resulting document is 11i long and the bottom of my document is cut off How else should I define a custom length Using groff-1.18.1 Thanks Richard -- "the 10 most dangerous words in the English language are, 'Hi, I'm from the Government, and I'm here to help.'" Ronald Reag