This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: Need "one point rule" for Articles
- To: "'docbook at lists dot oasis-open dot org'" <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: RE: Need "one point rule" for Articles
- From: "Rolander, Dan" <Dan dot Rolander at marriott dot com>
- Date: Fri, 19 Oct 2001 12:37:23 -0400
- List-Id: <docbook.lists.oasis-open.org>
I'm not sure if it's the best way, but I was able to fix this by copying all
of the article-titlepage code to my customization driver and inserting the
code here:
[*snip*]
(if (article-titlepage-content? elements side)
(make sequence
;----------------------------------------------------------------
; This "one point rule" added to put the logo in the right place.
; See dbttlpg.dsl book-titlepage.
(make paragraph
line-spacing: 1pt
(literal ""))
;-----------------------------------------------------------------
(let loop ((nl nodelist) (lastnode (empty-node-list)))
(if (node-list-empty? nl)
[*snip*]
Is there a better way?
Thanks,
Dan
-----Original Message-----
From: Rolander, Dan
Sent: Friday, October 19, 2001 12:25 PM
To: docbook@lists.oasis-open.org
Subject: Need "one point rule" for Articles
Hi,
I'm trying to put a logo at the top of an article titlepage, and I'd like it
right-justified. It works fine in a book, but in an article the imagedata
ends up on the same line as the title. I just found this in dbttlpg.dsl
which apparently fixes the problem for book-titlepage but it is not included
in article-titlepage:
;; This hack is required for the RTF backend. If an external-graphic
;; is the first thing on the page, RTF doesn't seem to do the right
;; thing (the graphic winds up on the baseline of the first line
;; of the page, left justified). This "one point rule" fixes
;; that problem.
(make paragraph
line-spacing: 1pt
(literal ""))
I'm not sure how to implement this hack for articles. Can somebody help?
Please respond to me directly as well as to the list.
Thanks,
Dan
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>