|
Subject: "Multi-line header" - how? From: "Glenn R. Kronschnabl" <grk@xxxxxxxxxxxxxxxx> Date: Sat, 28 Jun 1997 09:22:39 -0500 |
Hi,
I am trying to get a header that looks something like the following:
(running jade 0.8 rtf output)
--- top of page ---
DRAFT
Program Name
Jan 1997
-------------------------------------------------------------------
(body text)
...
A couple of lessons learned thus far:
1) the DSSSL spec says that for simple-page-sequence the header should
only be a single line????? What exactly can a line be?
2) make paragraph-break doesn't work in header (because of #1?)
3) I have tried using multiple display-groups, which comes out close
but the true "header" is empty and the display group just gets stuck
underneath the header (the header has a single null paragraph). Even
weirder, extra spacing gets put before the DRAFT on the "right-page"
versus "left-page" even tho the dsssl code is the same.?
Here is the code I have tried:
(page-header
(make sequence
(make display-group
(make paragraph
use: para-style
quadding: 'center
font-weight: 'bold
(literal "DRAFT")))
(literal "Program Name")
(make display-group
(make paragraph
use: para-style
quadding: 'start
(process-first-descendant "MONTH")
(literal " ")
(process-first-descendant "YEAR")))
(make rule
orientation: 'horizontal
space-before: %block-sep%
space-after: %block-sep%
line-thickness: 1pt
length: %body-width%)
)))
Any pointers would be greatly appreciated.
Cheers,
Glenn
--------------------
Glenn R. Kronschnabl
Applied Research Laboratories | grk@xxxxxxxxxxxxxxxx (PGP/MIME ok)
The University of Texas at Austin | http://www.arlut.utexas.edu/~grk
PO Box 8029, Austin, TX 78713-8029 | (Ph) 512.835.3642 (FAX) 512.835.3808
10,000 Burnet Road, Austin, TX 78758 | ... but an Aggie at heart!
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Call for Participation SGML/XML'97, Deborah Aleyne Lapey | Thread | Re: "Multi-line header" - how?, James Clark |
| Re: API to formatters and grove eng, Jean-Xavier Lotthé | Date | Re: "Multi-line header" - how?, James Clark |
| Month |