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] | [List Home]


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


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