This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Image in <artheader>
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Image in <artheader>
- From: chr at siteloft dot com (Christian Nybø)
- Date: 15 Nov 1999 11:45:09 +0100
- Posted-Date: Mon, 15 Nov 1999 09:51:59 +0100
- References: <382F7CB8.2FE89E54@xmission.com>
- Reply-To: docbook at lists dot oasis-open dot org
howard mann <howardm@xmission.com> writes:
> Hi,
>
> I am trying to specify an image (logo) in the <artheader> of my article.
>
> I have tried the following:
>
> <title>Online Troubleshooting Resources : HOWTO</title>
> <mediaobject>
> <imageobject>
> <imagedata fileref="/home/howard/public_html/cforget2.jpg" format="jpg"
> align="left" scale="75">
> </imageobject>
> <textobject>
> <phrase>Linux Documentation Project</phrase>
> </textobject>
> </mediaobject>
>
> Neither the .jpg image nor the <phrase> appears when I produce a HTML
> version. I'm not sure how to specify the location of the .jpg image,
> which is obviously in my
> " /home/howard/public_html " directory at present.
I think you may have more luck using a relative link. For a cheesy
header in all html pages, I add this to the .dsl stylesheet:
;; customize the html stylesheet
(define ($html-body-start$)
(make element gi: "IMG"
attributes: (list (list "SRC" "images/logo.jpeg"))
(empty-sosofo)))
--
chr