On 04/19/2017 09:21 AM, Grundtvig Nielsen Niels wrote:
Good morning! I’m puzzled …1. A few weeks ago, I generated a .pdf from a .bookmap and managed to get underlines (border-bottom) for the headings; so at some stage I must have successfully edited the relevant .xsl file. [see spicabookHeadings.pdf] 2. Then I discovered, to my delight, the .xsl file that indents the text body; thank-you again for that. 3. I noticed, however, that when I call indent.xsl and my custom.xsl, I no longer get the border-bottom.
This is normal. When using fo_indent.xsl, only the chapter titles are underlined using a thick border.
I've used Options > Customise configuration > Customise document conversion stylesheets to set chapter-title and section2-title as shown, but still no border-bottom for section2-title [see fo_indent_custom.xsl] What am I missing? (this time …)
May be your document does not contain any section2, but just chapters and sections contained in these chapters (section1). Please add:
<xsl:attribute-set name="section1-title"> <xsl:attribute name="border-bottom-style">solid</xsl:attribute> <xsl:attribute name="border-bottom-width">1pt</xsl:attribute> </xsl:attribute-set> to your customization. It works fine. It tested that with attached fo_indent_custom.xsl
fo_indent_custom.xsl
Description: application/xslt
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support