This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: footnote formatting
- From: Togan Muftuoglu <toganm at users dot sourceforge dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 24 Apr 2002 07:33:22 +0300
- Subject: Re: DOCBOOK-APPS: footnote formatting
- References: <20020423222047.GD434@gantek.com>
Hi,
* Baurjan Ismagulov; <ibr@gantek.com> on 24 Apr, 2002 wrote:
>Hello,
>
>I need to have the bop-footnotes formatted as follows:
>
>1. two lines before the rule, one line after;
>2. the rule should extend from the left margin to the right one;
>3. numbers reset on each page;
>4. the font size should be 10pt, the number should be superscript.
>
>I searched the whole /usr/share/sgml directory of my Debian system with
>no results.
Well I searched my SuSE system and and found the following part (just
kidding I do not know where I found this sowehere on the web ) This is
for the cooter rule
(define ($custom-header-footer$)
(let ((component (ancestor-member (current-node)
(append (division-element-list)
(component-element-list)))))
(make sequence
font-weight: 'bold
font-posture: 'upright
(make rule
orientation: 'horizontal
length: %text-width%
line-thickness: 1pt
start-indent: 0pt
space-before: (/ %block-sep% 4))
(literal "For internal use only"))))
(define (page-inner-footer gi)
(empty-sosofo))
(define (page-center-footer gi)
(cond
((equal? (normalize gi) (normalize "dedication")) (empty-sosofo))
((equal? (normalize gi) (normalize "lot")) (empty-sosofo))
((equal? (normalize gi) (normalize "part")) (empty-sosofo))
((equal? (normalize gi) (normalize "toc")) (empty-sosofo))
(else ($custom-header-footer$))))
HTH
--
Togan Muftuoglu