Re: [NTG-context] Re: spacing in heads

2003-09-05 Thread Hans Hagen
At 21:25 04/09/2003 +0200, Patrick Gundlach wrote:
Peter Rolf [EMAIL PROTECTED] writes:

Hello Peter,

thanks for the answer, I was actually using the visual debugger, but I
wasn't able to tell what the small sqare was for.
So one other question:
%%
\showmakeup
\starttext
\setuphead[section][textcommand=\framed,before=]
\hbox{\framed[width=5cm,height=5cm,align={middle,high},offset=0pt]{%
offset=0pt hp\section{Hello}
why is there so much space above the word hello??}
\framed[width=5cm,height=5cm,align={middle,high},offset=none]{%
offset=none hp\section{Hello}
why is there so much space above the word hello??}}
\stoptext
%%
what is the difference between offset=0pt and offset=none? I thought
that it would only insert a strut, but then again I thought that a
strut has the height and the depth of the font. This is clearly not
the case here, since the f (or h) should be the highest char and p pretty
deep. But compared to the right example there is some space above the
f and below the p.


in your example, turn of showmakeup and say \showstruts

\starttext \showstruts

\framed[offset=0pt]{test}
\framed[offset=none]{test}
\framed[offset=overlay]{test}
\stoptext
-
  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
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Extending into the left margin

2003-09-05 Thread Duncan Hothersall
Hi all.

I'm using the nice \bTABLE natural tables commands to set my tables. I'm 
now running into tables which need a little extra space, and since I 
have a wide left margin I would like them to extend into it. By default 
they extend into the right marging, which doesn't have very much space 
and looks ugly.

Because I'm using [split=yes] to enable tables to split over pages, I 
don't want to just put the whole table in a box and then shift it to the 
left. I am wondering if I can use a localised setuplayout to change the 
left margin just for the duration of the table? Or is there another 
clean way to get specific tables to extend into the left margin?

Many thanks.

Duncan
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont / typescripts

2003-09-05 Thread Henning Hraban Ramm
Am Donnerstag, 04.09.03, um 23:54 Uhr (Europe/Zurich) schrieb Adam 
Lindsay:

Hi!, which version of texfont are you using?
I think 1.8 should handle the ttf extension in the map files better 
than
I'm using 1.8 since it's out, and apparently I wrote my script before
and never again installed fonts without it...
Sorry for reporting an already fixed bug, Hans!
Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupheadertexts

2003-09-05 Thread John Culleton
On Monday 18 August 2003 18:32, Tobias Burnus wrote:
 Hi,

 John Culleton wrote:
  I want to have chapter names in the header text and I want them in
  boldface.

 How about:
   \setupheader[text][style=bold]
   \setupheadertexts[text][My book][chapter]

 or alternatively,
   \setupheadertexts[text][{\bf My book}][{\it \getmarking[chapter]}]

 Tobias

Well, I am almost home! My customer now prefers Small Caps letterspaced 
rather than  bold.  So I used example two above and an earlier post 
from Bill McClain to come up with this combination:

%First, the macros for extended (letterspaced) text:

\def\CapStretchAmount{.18em}
\def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}
\stretchednormalcase{#1}}

%Then the header text macro:

\setupheadertexts[text][][{\sc \getmarking[chapter]}][{\CapStretch{\sc 
The Health Seeker's Handbook}}][]

Out of  this melange I get small caps extended for the book title on the 
verso header.  But I can't seem to find the combination for both 
\CapStretch and \getmarking on the recto header.  Any attempt to insert 
\CapStretch on that side converts the chapter name back to the literal 
word chapter.  I have tried brackets, curly braces etc. in various 
combinations.

Any hints appreciated.  
-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com




Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context