← Prev in month
← Prev in thread
DOCBOOK-APPS: DSSSL to get section and chapter title in header
Hi, I'm looking for ways to generate a header using the DSSSL style sheets (openjade/pdfjadetex), that is like: PageNo ChapterTitle | SectionTitle Page No --------------------------|----------------------------- | R H Page | L H page | ie. with page number, chapter and section titles on left and right pages all with a rule underneath. Some questions: 1) How do you refer to both the chapter and section (sect1) title when producing a header? 2) How do you build a header line that has the first part quadded left and the last part quadded right with a rule underneath? My attempts so far have resulted in: ---------------------------------------- Outer Inner by defining page-outer-header, page-inner-header and a rule as page-center-header. The problem now is that I want the rule underneath the text. Setting space-before or space-after appears to makes no difference. The secret lies somewhere with the rule. By not having a rule I can get: Outer Center Inner Or a rule above the centered text: ---------------------------------------- Outer Center Inner Having centered text and with a rule underneath results in: Center ---------------------------------------- Outer Inner and rules above and below the centered text results in: Having centered text and with a rule underneath results in: ---------------------------------------- Center ---------------------------------------- Outer Inner In other words the rule is forcing the other headers down. By drawing rules on all footers (outer, center and inner) I start to get what I'm after, although there appears to be some problem with getting the baselines lined up. I'm sure there must be a cleaner way. Thanks. Dave Brooks
← Prev in month
← Prev in thread