public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* Graphic in <artheader>
@ 1999-12-01 21:23 howard mann
  1999-12-02  4:52 ` Norman Walsh
  0 siblings, 1 reply; 2+ messages in thread
From: howard mann @ 1999-12-01 21:23 UTC (permalink / raw)
  To: docbook-tools-discuss

Hi,


I am trying to get an image in my <artheader> with the following :

<artheader>
<title>Online Troubleshooting Resources : HOWTO</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/meghan1.jpg" align="left" format="jpg">
</imageobject>
<textobject>
<phrase>Linux Documentation Project</phrase>
</textobject>
</mediaobject>
etc.

I am using the "db2html" script. No image appears in the HTML version.

Is there something in the "cygnus-both.dsl" that prevents this from
happening ?

I have the following in that file ( HTML portion):
 
(define %graphic-extensions% 
  '("gif" "jpg" "jpeg" "tif" "tiff" "eps" "epsf" "png"))

Cheers,

-- 
Howard Mann
http://www.newbielinux.com
Online Troubleshooting Resources:HOWTO
( http://www.xmission.com/~howardm/t1.html )

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Graphic in <artheader>
  1999-12-01 21:23 Graphic in <artheader> howard mann
@ 1999-12-02  4:52 ` Norman Walsh
  0 siblings, 0 replies; 2+ messages in thread
From: Norman Walsh @ 1999-12-02  4:52 UTC (permalink / raw)
  To: howard mann; +Cc: docbook-tools-discuss

/ howard mann <howardm@xmission.com> was heard to say:
| I am trying to get an image in my <artheader> with the following :

Because the *Info (and ArtHeader :-) elements can contain a lot
of bibliographic metadata that you might not want rendered, the
stylesheets allow you (force you :-) to list the elements that you
want displayed. (Hmmm, maybe I ought to add a switch for this...)

Create your own stylesheet driver and redefine the following
variable to include "mediaobject" and you should get the results
you desire:

(define (article-titlepage-recto-elements)
  (list (normalize "title")
	(normalize "subtitle")
	(normalize "corpauthor")
	(normalize "authorgroup")
	(normalize "author")
	(normalize "releaseinfo")
	(normalize "copyright")
	(normalize "pubdate")
	(normalize "revhistory")
	(normalize "abstract")))


                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | What good is a can of worms if you
http://nwalsh.com/                 | never open it?--Bob Arning

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-02  4:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-01 21:23 Graphic in <artheader> howard mann
1999-12-02  4:52 ` Norman Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).