ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: bounced mail, Ray Lehtiniemi, headers
Date: Sun, 27 Jan 2002 20:19:57 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020127201512.02dd9dd0@server-1> (raw)
In-Reply-To: <200201261150.MAA12089@smail.let.uu.nl>

At 12:50 PM 1/26/2002 +0100, owner-ntg-context@let.uu.nl 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 | pragma@wxs.nl
                       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	other threads:[~2002-01-27 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200201261150.MAA12089@smail.let.uu.nl>
2002-01-27 19:19 ` Hans Hagen [this message]
     [not found] ` <20020128133825.B2179@otii.com>
2002-01-29 10:31   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20020127201512.02dd9dd0@server-1 \
    --to=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).