Re: [XXE] structure vs rendering

2018-02-08 Thread Grundtvig Nielsen Niels
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  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):

---
   
   
---

OR

---
   
   
---

"What to do next" is styled using this attribute-set:

---
   
   
---

Attribute-set section-title is
(XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl):

---
   
 1.2em
 1.11
 1.11em
 1em
 1.2em
 0.55em
 0.5em
 0.6em
   
---

Compare this to the attribute-sets used for topic titles
(XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl):

---
   
 1.6em
 1
 0.5pt
 solid
 
 0.21em
 0.83em
 0.8em
 0.9em
 0.41em
 0.4em
 0.5em
   

   
 1.8em
 1
 4pt
 0.74em
 0.7em
 0.8em
 0.37em
 0.3em
 0.4em
   

...

   
 1.2em
 1.11
 1.11em
 1em
 1.2em
 0.55em
 0.5em
 0.6em
   
---



> 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


Re: [XXE] structure vs rendering

2018-02-08 Thread Hussein Shafie
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  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):


---
  
  
---

OR

---
  
  
---

"What to do next" is styled using this attribute-set:

---
  use-attribute-sets="section-title">

  
---

Attribute-set section-title is 
(XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl):


---
  
1.2em
1.11
1.11em
1em
1.2em
0.55em
0.5em
0.6em
  
---

Compare this to the attribute-sets used for topic titles 
(XXE_install_dir/addon/config/dita/xsl/fo/topic.xsl):


---
  use-attribute-sets="any-topic-title">

1.6em
1
0.5pt
solid

0.21em
0.83em
0.8em
0.9em
0.41em
0.4em
0.5em
  

  
1.8em
1
4pt
0.74em
0.7em
0.8em
0.37em
0.3em
0.4em
  

...

  use-attribute-sets="topic-title">

1.2em
1.11
1.11em
1em
1.2em
0.55em
0.5em
0.6em
  
---




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".





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