ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: pagenumbers in margin
@ 2004-11-29 11:42 GEERT
  2004-11-29 14:48 ` Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: GEERT @ 2004-11-29 11:42 UTC (permalink / raw)


Hello,

Sorry for being incomplete.  Below is an example that generates PDF.  
You will see the grey boxes with pagenumbers sticking out from the 
margins.  I want them not to stick out, but to move their outer border 
flush with the outer border of the margin.  What doesn't fit in the 
margin should go into the lower text area....


Geert



\stelpapierformaatin	[A5,liggend][A4,liggend]
\definieerkleur[middelgrijs][s=.5]

\def\mijnpaginanummer#1%
	{\startkleur[wit]
	\ss\bf\tfb
	\inlijnd
[kader=uit,achtergrond=kleur,achtergrondkleur=middelgrijs,breedte=2.5cm,
h
oogte=1.1cm]%
	{#1}
	\stopkleur}
\stelnummeringin	[variant=dubbelzijdig,plaats={onder,inmarge},%
			commando={\mijnpaginanummer}]
\stellayoutin		[breedte=19cm,
			hoogte=14.9cm,
			kopwit=0cm,
			rugwit=1cm,
			hoofd=2.5cm,
			linkermarge=1.2cm,
			rechtermarge=1.2cm,
			linkermargeafstand=0cm,
			rechtermargeafstand=0cm]
\stelkleurenin		[status=start]
\stelkleurin		[rgb]
\stellayoutin		[plaats=midden,markering=kleur]
\steltolerantiein	[soepel]
\toonkader
\stelblokkopjesin[plaats=geen]  %We willen geen legende of nummer bij 
figuren of tabellen
%geen uitlijnen van de rechtermarge:
\steluitlijnenin[rechts]
\starttekst

\dorecurse{20}{%
Op een grote paddestoel vol met witte stippen\par
Zat kabouter Pinnemuts heen en weer te wippen\par
Krak zei de paddestoel met een diepe zucht\par
Allebei de beentjes vlogen in de lucht\par
\pagina
}
\stoptekst

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Re: pagenumbers in margin
@ 2004-11-29  7:47 GEERT
  0 siblings, 0 replies; 5+ messages in thread
From: GEERT @ 2004-11-29  7:47 UTC (permalink / raw)


Hello,

As I told before, I want the grey box as defined in the page numbering 
(see below) to appear with its outer border aligned to the outer border 
of the outer margin.  Right now, it aligns with its inner border to the 
inner border of the outer margin.  I tried with uitlijnen=buiten but 
without success.

Here is a minimal file, as asked for : 


\def\mijnpaginanummer#1%
	{\startkleur[wit]
	\inlijnd 
kader=uit,achtergrond=kleur,achtergrondkleur=middelgrijs,breedte=2.5cm,h
oogte=1.1cm]%
	{#1}
	\stopkleur}
\stelnummeringin	[variant=dubbelzijdig,plaats={onder,inmarge},%
			commando={\mijnpaginanummer}]
\stellayoutin		[breedte=19cm,
			hoogte=14.9cm,
			kopwit=0cm,
			rugwit=1cm,
			hoofd=2.5cm,
			linkermarge=1.2cm,
			rechtermarge=1.2cm,
			linkermargeafstand=0cm,
			rechtermargeafstand=0cm]
.......



Geert

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-29 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 11:42 Re: pagenumbers in margin GEERT
2004-11-29 14:48 ` Patrick Gundlach
2004-11-29 17:04   ` Hans Hagen
2004-11-29 18:14     ` Patrick Gundlach
  -- strict thread matches above, loose matches on Subject: below --
2004-11-29  7:47 GEERT

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).