OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC