ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Autocut of long headertext [chapter]
@ 2001-01-09 20:32 Tobias Burnus
  2001-01-10  8:47 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2001-01-09 20:32 UTC (permalink / raw)


Hi

I have several long chapters which are too long for the header I use
[booktitle][chapter] but some items are simply too long.

Besides the fact that a handmade header cropping is better (similar to
\bookmark{}) I'd like to have a "autocrop". That is the text is cut off
at after the last word which fits (and either '' or '...' is inserted).

For the better handmade solution: Is there a better command than
\setupheadertext[foo][my abbr. chapter title]?

Tobias
-- 
This above all: To thine own self be true / And it must follow as
the night the day / Thou canst not then be false to any man.


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

* Re: Autocut of long headertext [chapter]
  2001-01-09 20:32 Autocut of long headertext [chapter] Tobias Burnus
@ 2001-01-10  8:47 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-01-10  8:47 UTC (permalink / raw)
  Cc: NTG-ConTeXt

At 09:32 PM 1/9/01 +0100, Tobias Burnus wrote:
>Hi
>
>I have several long chapters which are too long for the header I use
>[booktitle][chapter] but some items are simply too long.
>
>Besides the fact that a handmade header cropping is better (similar to
>\bookmark{}) I'd like to have a "autocrop". That is the text is cut off
>at after the last word which fits (and either '' or '...' is inserted).
>
>For the better handmade solution: Is there a better command than
>\setupheadertext[foo][my abbr. chapter title]?

\stelhoofdin[linkerbreedte=....,rechterbreedte=....]

\setuphead[leftwidth=.7\textwidth,rightwidth=.7\textwidth]
-------------------------------------------------------------------------
                                  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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2001-01-10  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-09 20:32 Autocut of long headertext [chapter] Tobias Burnus
2001-01-10  8:47 ` Hans Hagen

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