ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (1) Setting top/header texts and (2) stopping page breaks
@ 2003-01-12  6:58 Lazycode
  2003-01-12 12:14 ` Tobias Burnus
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lazycode @ 2003-01-12  6:58 UTC (permalink / raw)


Greetings!
  I've recently ran into two trivial tasks that I
can't seem to get ConTeXt to do. If someone could
(1) point out my mistakes or (2) point me to the
peoper documentation, it would be very helpful and
much apperciated.

Task 1: Setting up Top/Header texts.
  I want to have a _multiline_ header. I tried using
\setheadertexts and \settoptexts. Both _ignored_ the
use of "\\" to break lines, and complained when I used
\par. It looks like I can only have single line 
headers. I want something as follows: (best viewed
with fixed width font)

---------------------------------------------------
| Document Title                  Document Author |
| ConTeXted On                   Document Version |
| Section Number                   Chapter Number |
---------------------------------------------------
|                                                 |
|                                                 |
|                                                 |
|     Actual Text                                 |
|                                                 |
|                                                 |
|                                                 |
|                                                 |

  I believe I know how to do the rest. Currently, I need
to know how to do multi-line header/top texts.



Task 2: Preventing annoying page breaks.
  I'm using the \setuphead from page 5 of the context
manual. It reads as follows:

\setuphead
[myheader]
[ -some unimportant stuff snipped out-
before=\hairline\blank
after=\nowhitespace\hairline]

Once in a while, a page break occurs between the actual
text and one of these two hairlines. I've tried:

* before=\hariline\page[no]\blank
* before=\hariline\blank\page[no]
and
* after=\page[no]\nowhitespace\hairline

None of the above works.

Any information, including a random command to learn
and try, would be very helpful.


Thanks in advance,
--tk

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

end of thread, other threads:[~2003-01-13 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-12  6:58 (1) Setting top/header texts and (2) stopping page breaks Lazycode
2003-01-12 12:14 ` Tobias Burnus
2003-01-12 19:06 ` BOEDE
2003-01-13 10:09 ` 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).