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]
Other format: [Raw text]

Re: [docbook] Nested ItemizedLists with IE and PDF


I think this is a bug in IE6.  I wanted to see where  the nested <div
class="itemizedlist"> was positioned, so I put a border on it:

<div class="itemizedlist" style="border: 1pt solid black;">

When I did that, the gap disappeared.  I changed the color to white and it
looked fine.  8^)  But adding a border should not change the spacing!

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Ray Miller" <ray.miller@nist.gov>
To: <docbook@lists.oasis-open.org>
Sent: Monday, February 07, 2005 11:28 AM
Subject: Re: [docbook] Nested ItemizedLists with IE and PDF


> > How about providing a short sample of your input and the HTML output so
we
> > have a better idea of what is going on?
>
> Docbook XML
>
>            <itemizedlist>
>                 <title>
>                     <emphasis>Section Metrics</emphasis>
>                 </title>
>                 <listitem>
>                     <simpara>
>                         <emphasis>Project deliverables</emphasis>
>                     </simpara>
>                 </listitem>
>                 <listitem override="none">
>                     <itemizedlist>
>                         <listitem>
>                             <simpara>
>                                 <emphasis>Dates</emphasis>
>                             </simpara>
>                         </listitem>
>                         <listitem>
>                             <simpara>
>                                 <emphasis>Locations</emphasis>
>                             </simpara>
>                         </listitem>
>                         <listitem>
>                             <simpara>
>                                 <emphasis>Quantity Required</emphasis>
>                             </simpara>
>                         </listitem>
>                     </itemizedlist>
>                 </listitem>
>                 <listitem>
>                     <simpara>
>                         <emphasis>Delivery media specified</emphasis>
>                     </simpara>
>                 </listitem>
>                 <listitem>
>                     <simpara>
>                         <emphasis>Any special instructions for packaging
and
> handling</emphasis>
>                         <inlinemediaobject>
>                             <imageobject>
>                                 <imagedata depth="14pt" scalefit="1"
> entityref="imgChecklist"/>
>                             </imageobject>
>                         </inlinemediaobject>
>                     </simpara>
>                 </listitem>
>             </itemizedlist>
>
>
> HTML (ie6)
>
> <div class="itemizedlist"><p class="title"><b>
> <span class="emphasis"><em>Section Metrics</em></span>
> </b></p><ul type="disc"><li>
> <span class="emphasis"><em>Project deliverables </em></span>
> </li><li style="list-style-type: none"><div class="itemizedlist"><ul
> type="circle"><li>
> <span class="emphasis"><em>Dates</em></span>
> </li><li>
> <span class="emphasis"><em>Locations</em></span>
> </li><li>
> <span class="emphasis"><em>Quantity Required</em></span>
> </li></ul></div></li><li>
> <span class="emphasis"><em>Delivery media specified</em></span>
> </li><li>
> <span class="emphasis"><em>Any special instructions for packaging and
> handling</em></span>
> <span class="inlinemediaobject"><img
> src="file:/home/millerray/DocBook/images/checklist.gif"
height="18"></span>
> </li></ul></div>
>
> Another issue (maybe should start another thread :-):
>
> XML
>
> [
> ...
> <!ENTITY  imgChecklist  SYSTEM  "images/checklist.gif"  NDATA  GIF>
> ...
> ]
> ...
>                <listitem>
>                     <simpara>
>                         <emphasis>Any special instructions for packaging
and
> handling</emphasis>
>                         <inlinemediaobject>
>                             <imageobject>
>                                 <imagedata depth="14pt" scalefit="1"
> entityref="imgChecklist"/>
>                             </imageobject>
>                         </inlinemediaobject>
>                     </simpara>
>                 </listitem>
>  ...
>
> The ENTITY declaration resides within the doctype block; the itemizedList
> fragment resides in a separate <sect2> source file; linkage through nested
> xincludes.
> The resulting HTML source is not a relative image path but a fully
qualified
> uri (full path specification). When utilzing fileref in lieu of entityref,
> the full path directory of the source files is prepended to a full path
> specification resulting in two file:// statements in the image src=
output.
>
> Problem only exists when xincludes are implemented.
>
> -- 
> Ray Miller
>
>



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