On 09/23/2013 03:29 PM, Vic Steadman wrote:
I am using XMLMind/ditac to output to a pdf file. I want to be able to turn off the underlining for all headings/titles but cannot find where this style attribute is controlled. I would be grateful if you could advise how I might do this.
--> You need to customize the fo.xsl XSLT stylesheet as explained here: 2. Customizing the look of the PDF files generated by ditac http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-6.html#customAttributeSet--> If you want to suppress the underlining for all titles, whatever its kind, your custom fo.xsl file must contain the following attribute-set:
---
<xsl:attribute-set name="topic-title">
<xsl:attribute name="border-bottom-style">none</xsl:attribute>
</xsl:attribute-set>
---
The stock value of this attribute-set being:
---
<xsl:attribute-set name="topic-title" use-attribute-sets="title">
<xsl:attribute name="font-size">160%</xsl:attribute>
<xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
<xsl:attribute name="border-bottom-style">solid</xsl:attribute>
<xsl:attribute name="border-bottom-color" select="$title-color"/>
<xsl:attribute name="padding-bottom">0.05em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1.5em</xsl:attribute>
<xsl:attribute name="space-before.minimum">1.2em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.8em</xsl:attribute>
</xsl:attribute-set>
---
Attribute-sets having the same name are merged, that's why this works fine.
--> More generally, if you cannot customize the output using a
documented XSLT stylesheet parameter, then you can generally do it by
redefining an attribute-set.
Attribute-sets are not documented. You need to browse the source of the XSLT stylesheets to find what to do by yourself.
--> XMLmind XML Editor (http://www.xmlmind.com/xmleditor/) and XMLmind XSL Utility (http://www.xmlmind.com/foconverter/xsl_utility.html) both allow to customize an XSLT stylesheet without creating a customization file by hand.
It took me just 2 minutes to create and put to use the attached fo_custom.xsl from within XMLmind XML Editor.
More information in: * 11. The "Customize Document Conversion Stylesheets" dialog box http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionStylesheetsEditor.html * 11.3. The "XMLmind XSL Customizer" application http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xslcustom.Customizer.html You can use the attached fo_custom.xsl with ditac if you replace: <xsl:import href="xxe-config:dita/xsl/fo/fo.xsl"/> by: <xsl:import href="ditac-xsl:fo/fo.xsl"/>
fo_custom.xsl
Description: application/xslt
-- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

