Aha! yes, now I see ... I was misunderstanding the hierarchy. And indeed, the 
underlining now works perfectly. Thanks again for helping me achieve the 
required results!

N

-----Original Message-----
From: Hussein Shafie [mailto:huss...@xmlmind.com]
Sent: woensdag 19 april 2017 10:52
To: Grundtvig Nielsen Niels
Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com
Subject: Re: [XXE] adding border-bottom when using fo_indent.xsl

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



*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to