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


Subject: customization of single step procedures


Hi,

 

I have the problem that we have to customize the look of single step procedures in *.chm output  (single and multi step procedures always have the same look with an arrow in front of the title.)

The title of the single step procedure should be in line with the text of the “single” step.

That’s what I did so far to customize it:

 

<xsl:template match="procedure">

<xsl:choose>

                                               <xsl:when test="count(step) = 1">

                                                           <table border="0">

                      <tr>

                        <td><font face="Arial, Helvetica, sans-serif"><b>

                                                                       <xsl:text>&#x25ba;</xsl:text><xsl:value-of select="procedure|title"/><xsl:text>, </xsl:text></b></font>

                                                                       <font size="2" face="Arial, Helvetica, sans-serif">

                                                                       <xsl:apply-templates

                                                                                              select="step

                                                                                  |comment()[preceding-sibling::step]

                                                                                  |processing-instruction()[preceding-sibling::step]"/>

                                                                       </font></td>

                        </tr>

                                                           </table>

                                               </xsl:when>

                                               <xsl:otherwise>

….

….

 

 

And it worked!

 

But now we have the next request: sometimes inline graphics are required within the step description. And I have no idea how to manage the correct display. What approach I have to choose?

I would appreciate any help.

 

Thanks

Isabel

 

 



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