At 12:50 PM 1/26/2002 +0100, [EMAIL PROTECTED] wrote:
>hi all
>
>i'm trying to place a rule under my page header with the latest stable
>release, and it's not quite working for me.
>
>
>
>i want this on my facing pages:
>
>     2               chapter         section               3
>     -----------------------         -----------------------
>
>
>but i get this instead:
>
>     2               chapter         section               3
>-----------------------         -----------------------
>
>
>on page 2, the rule is butted up to the cutmarks on the left side
>of the page.  on page 3, it extends just past the cutmark and off
>the left side of the page

...

>i'm pretty new to TeX in general, but i think i've traced this to
>doplacelayouttextline in page-txt.tex, and i don't see any obvious
>problems...  am i missing something here?

right, you traced back to the right macro! but before and after were never 
supposed to be used for rules, just for fills and so; what you see in 
action is an interference with the way teh line is build. Now after and 
before work on the whole line; I can probably add some hooks per text, and 
actually i've played with that, but we will run into complicated (and hard 
to explain) situations with regards to empty/high/stop situations; this is 
why the best way is use backgrounds for rules (see earlier mail); i can add 
before/after hooks for situations where there is content (this would permit 
quick and dirty styles).

\setupbackgrounds[text][text][...]

Hans

PS. Some limitations originate in the time when hash tables were small; 
every key added to a text area results in 25 new hash entries, so this is 
why at the moment some settings are not on a per areas basis

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------

Reply via email to