bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: page offset lost after page break


From: Werner LEMBERG
Subject: Re: page offset lost after page break
Date: Fri, 11 Jul 2008 18:23:43 +0200 (CEST)

Sorry for the late reply.

> DESCRIPTION OF INCORRECT BEHAVIOUR:

> The input requests a page offset of 0.5i, but after the page break
> it gets reset to 1i.  [...]

Please read groff_ms.man (or groff.info); you are initializing the
page and paragraph parameters in a way groff's ms macros don't
recognize.  In particular, you are not using the proper ms number
registers but directly using the bare roff requests.

Instead of saying

  .ds CH

  .LP
  .nh
  .po 0.5i
  .ll 7.5i
  .ps 11
  .vs 0.175i
  .de PP
  .sp 0.08i
  .ti 0.3i
  ..
  .PP

you should do the following:

  .ds CH
  .
  .nr PO 0.5i
  .nr LL 7.5i
  .
  .nr PS 11
  .nr VS 0.175i
  .
  .nr PD 0.08i
  .nr PI 0.3i
  .
  .nh
  .PP

and everything works as expected.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]