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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: DOCBOOK-APPS: Images at top of book


Thanks.  I'm using the 1.50 XSL stylesheets, and when I transform to HTML, I
get none of the images for the bookinfo element?  Is that correct?


Thanks.
---------------------------------------------------------------------------
 Jeff Rancier                         jeff.rancier@softechnics.com

 SofTechnics, Inc.                Tel   (315) 706-1111
 7063 Interstate Island Rd.  Fax  (315) 706-9999
 Syracuse, NY 13209          http://www.softechnics.com
---------------------------------------------------------------------------

----- Original Message -----
From: "Jeff Beal" <jeff.beal@ansys.com>
To: "'Jeff Rancier'" <jeff.rancier@softechnics.com>; "Docbook-Apps@Lists.
Oasis-Open. Org" <docbook-apps@lists.oasis-open.org>
Sent: Monday, April 01, 2002 3:09 PM
Subject: RE: DOCBOOK-APPS: Images at top of book


Semantically speaking, your best option will be using the <bookinfo> tag,
which allows <mediaobject> as a child.  Doing it this way, getting the
images to show up in a single line will need to be a stylesheet
customization.

However, <bookinfo> also allows several tags (such as <corpname>) which
allow <inlinemediaobject>, which will then show up on a line.

So, the following should work fairly easily:
<book>
 <bookinfo>
   <title>...</title>
   <subtitle>...</subtitle>
   <corpname><inlinemediaobject>. .
.</inlinemediabobject><inlinemediaobject>. .
.</inlinemediaobject></corpname>
 </bookinfo>
 . . .
</book>

You may want to look at other valid children of bookinfo which allow
inlinemediaobjects.  (Subtitle also allows for inlinemediaobject's, but if
you're using subtitle for something else, you'll just have your company
logos inline with that line.

Jeff Beal
Ansys, Inc.
(724)514-3150
jeff.beal@ansys.com

-----Original Message-----
From: Jeff Rancier [mailto:jeff.rancier@softechnics.com]
Sent: Monday, April 01, 2002 2:51 PM
To: Docbook-Apps@Lists. Oasis-Open. Org
Subject: DOCBOOK-APPS: Images at top of book

Hello,

I am trying to generate a book which currently starts out like so:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//Arbortext//DTD DocBk XML V2.0//EN"
"file:///docbookx.dtd" []>
<?xml-stylesheet href="file:///docbook.xsl" type="text/xsl"?>

<book>
  <title>My Product<trademark></trademark> Enhancement Requirements</title>
  <subtitle>My SubTitle</subtitle>
  <dedication>
    <screenshot>
      <mediaobject>
        <imageobject>
          <imagedata fileref="images/image1.gif" format="gif"/>
        </imageobject>
      </mediaobject>
    </screenshot>
    <screenshot>
      <mediaobject>
        <imageobject>
          <imagedata fileref="images/image2.gif" format="gif"/>
        </imageobject>
      </mediaobject>
    </screenshot>

Is there any way of doing this without the dedication element?  The images
represent company logos, and that's why I want them at the top, below the
title.  Also,  the above also generates images that are stacked up
vertically.  Is there any way to get them in a row (i.e. without a break at
the end of the image?

Thanks.
---------------------------------------------------------------------------
 Jeff Rancier                         jeff.rancier@softechnics.com

 SofTechnics, Inc.                Tel   (315) 706-1111
 7063 Interstate Island Rd.  Fax  (315) 706-9999
 Syracuse, NY 13209          http://www.softechnics.com
---------------------------------------------------------------------------



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


Powered by eList eXpress LLC