Re: [Groff] Is setting the PO register a page trap?

2015-05-03 Thread Ralph Corderoy
Hi, Werner wrote, > > > Curious there seems to be no way to represent a negative literal > > > number the way one can specify a nonnegative one, i.e., a negative > > > number just for itself, not as a decrement. > > > > you can specify a negative number by e.g. prepending a 0 (i.e. > > 0-.25i). >

Re: [Groff] Is setting the PO register a page trap?

2015-05-03 Thread Werner LEMBERG
>> Curious there seems to be no way to represent a negative literal >> number the way one can specify a nonnegative one, i.e., a negative >> number just for itself, not as a decrement. > > you can specify a negative number by e.g. prepending a 0 (i.e. 0-.25i). Another solution is to include the

Re: [Groff] Is setting the PO register a page trap?

2015-05-03 Thread Carsten Kunze
Hi Dorai, > Thanks Ralph.  I guess +x would have the same "accumulating" behavior as -x. > Curious there seems to be no way to represent a negative literal number the > way one can specify a nonnegative one, i.e., a negative number just for > itself, not as a decrement. > I was able to solve my p

Re: [Groff] Is setting the PO register a page trap?

2015-05-03 Thread Dorai Sitaram
Thanks Ralph.  I guess +x would have the same "accumulating" behavior as -x. Curious there seems to be no way to represent a negative literal number the way one can specify a nonnegative one, i.e., a negative number just for itself, not as a decrement. I was able to solve my particular problem w

Re: [Groff] Is setting the PO register a page trap?

2015-05-03 Thread Ralph Corderoy
Hi Dorai, > I did a relative set of the PO (page-offset) register at the head of > an ms document > .nr PO -.25i > (I.e., I wanted it to be a quarter-inch less than its default value.) That decrements PO by ¼". See http://www.gnu.org/software/groff/manual/html_node/Setting-Registers.html#Setting