Thanks for the quick reply! I'll take a close look at my customisations. N
-----Original Message----- From: Hussein Shafie [mailto:huss...@xmlmind.com] Sent: donderdag 8 februari 2018 10:18 To: Grundtvig Nielsen Niels Cc: 'xmleditor-support@xmlmind.com'; ditac-supp...@xmlmind.com Subject: Re: [XXE] structure vs rendering My answer assumes that your question is about converting DITA to PDF, RTF, DOCX, ODT, etc (that is, an XSL-FO based output format). On 02/08/2018 09:24 AM, Grundtvig Nielsen Niels wrote: > Good morning! I have finally managed to argue my way to an update, and I > have recently welcomed a new colleague who is keen to work the same way > as I do ... and I continue rescuing content from (good-looking) binary > formats and transforming it into clean, re-usable DITA. > > > > This morning's question: I've just been checking the output from a > series of <task> topics, and it looks to me as though the topic title is > being rendered in a smaller font than labels such as Procedure and What > to do next. "Procedure" is styled using one of these attribute-set (XXE_install_dir/addon/config/dita/xsl/fo/task.xsl): --- <xsl:attribute-set name="steps-informal-title" use-attribute-sets="section-title"> </xsl:attribute-set> --- OR --- <xsl:attribute-set name="steps-title" use-attribute-sets="section-title"> </xsl:attribute-set> --- "What to do next" is styled using this attribute-set: --- <xsl:attribute-set name="postreq-title" use-attribute-sets="section-title"> </xsl:attribute-set> --- Attribute-set section-title is (XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl): --- <xsl:attribute-set name="section-title" use-attribute-sets="title"> <xsl:attribute name="font-size">1.2em</xsl:attribute> <xsl:attribute name="line-height">1.11</xsl:attribute> <xsl:attribute name="space-before.optimum">1.11em</xsl:attribute> <xsl:attribute name="space-before.minimum">1em</xsl:attribute> <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.55em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute> </xsl:attribute-set> --- Compare this to the attribute-sets used for topic titles (XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl): --- <xsl:attribute-set name="topic-title" use-attribute-sets="any-topic-title"> <xsl:attribute name="font-size">1.6em</xsl:attribute> <xsl:attribute name="line-height">1</xsl:attribute><!--Not 0.83--> <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.21em</xsl:attribute> <xsl:attribute name="space-before.optimum">0.83em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.9em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.41em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.5em</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="part-title" use-attribute-sets="topic-title"> <xsl:attribute name="font-size">1.8em</xsl:attribute> <xsl:attribute name="line-height">1</xsl:attribute><!--Not 0.74--> <xsl:attribute name="border-bottom-width">4pt</xsl:attribute> <xsl:attribute name="space-before.optimum">0.74em</xsl:attribute> <xsl:attribute name="space-before.minimum">0.7em</xsl:attribute> <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.37em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.3em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.4em</xsl:attribute> </xsl:attribute-set> ... <xsl:attribute-set name="section9-title" use-attribute-sets="topic-title"> <xsl:attribute name="font-size">1.2em</xsl:attribute> <xsl:attribute name="line-height">1.11</xsl:attribute> <xsl:attribute name="space-before.optimum">1.11em</xsl:attribute> <xsl:attribute name="space-before.minimum">1em</xsl:attribute> <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> <xsl:attribute name="space-after.optimum">0.55em</xsl:attribute> <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute> <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute> </xsl:attribute-set> --- > Not entirely logical :-} Indeed. > Is this something I may accidentally have done myself, May be. In principle, the font size used for a topic title of any kind cannot be smaller than the font size used for "Procedure" and "What to do next". > and if so how do I correct it? Recommended solution: review your customizations. Quick and dirty solution: redefine attribute-set "section-title". For example, change the "font-size" to "1em". ********************************************************************************************* 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