This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Rule above and below headers


At 11:18 AM 2/25/01 +0100, Juan R. Migoya wrote:
>Some time ago I made this change in my customization layer:
>
>(define ($title-header-footer$)
>  (let* ((title (if (equal? (gi) (normalize "refentry"))
>     ($refentry-header-footer-element$)
>     ($title-header-footer-element$))))
>
>+         (make sequence
>+        (make rule
>+   orientation: 'horizontal
>+  length: %text-width%
>+  line-thickness: 1pt
> +  start-indent: 0pt
> +  space-after: (/ %block-sep% 2)
> +  keep-with-next?: #f)
>
>         (with-mode hf-mode
>    (process-node-list title))
>
>+   (make rule
>+   orientation: 'horizontal
>+   length: %text-width%
>+   line-thickness: 1pt
>+     start-indent: 0pt
>+     space-before: (/ %block-sep% 4)))))
>
>I added the lines marked with "+".
>
>Note that at this time I'm not longer using this file, so I'm not sure if
it was
>the final version of
>what I made.

Well, this got me so far, in that it did OK for headers. However, with the
current style-sheet setup, hacked up from Norm Walsh's, I am not sure if it
will work if I move to separate left and right header elements ...

Still can't figure out how to do footers, though.

>Regards,
>
>Juan R. Migoya
>
>P.S.  I guess this subject shoud be direccted to the docbook-apps list.
>
>Richard Sharpe wrote:
>
>> Hi,
>>
>> How do I force a horizontal rule above and below a header or footer?
>>
>> Regards
>> -------
>> Richard Sharpe, sharpe@ns.aus.com
>> Samba (Team member, www.samba.org), Ethereal (Team member,
www.ethereal.com)
>> Contributing author, SAMS Teach Yourself Samba in 24 Hours
>> Author, Special Edition, Using Samba
>>
>> ------------------------------------------------------------------
>> To unsubscribe from this elist send a message with the single word
>> "unsubscribe" in the body to: docbook-request@lists.oasis-open.org
>
>

Regards
-------
Richard Sharpe, sharpe@ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba



------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]