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: Image in <artheader>


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


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