Hussein, I followed your instructions and was able to change the line height 
for *most* text in our PDF documents.

However, I have not been able to figure out how to change the line height for 
table of contents entries (including lists of tables and figures) or the text 
that appears in cells of simple tables.  If you would provide the names of 
those attribute sets, I can try to fix them also.

Thank you very much,
Julie

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Monday, January 19, 2015 1:14 AM
To: Julie McHam
Cc: [email protected]
Subject: Re: [ditac] Line spacing

On 01/13/2015 11:17 PM, Julie McHam wrote:
> The line spacing increased on DOCX files created by using the XSL 
> Utility to convert DITA files to DOCX. Please see the 4.8.2 version of 
> the file attached. The line spacing is correct. The file attached that 
> was generated with the 5.1 version is not correct.

That's right. We have slightly changed the "line-height" attribute everywhere 
in recent versions of XMLmind DITA Converter to make the output files 
typographically more correct.

See for example "Vertical Rhythm In Typography" -- 
http://blog.8thlight.com/chris-peak/2012/12/30/vertical-rhythm.html



> We did not make any
> changes that would affect across-the-board changes to line spacing.
> Please explain what I need to do to fix this.
>

There is no easy way to revert to exactly what  did XFC v4.8.2 (other than 
downgrading to XFC v4.8.2 of course).

Please use our XSL customizer to set attribute "line-height" to "1.2".
The stock value of this attribute is "1.33".

Unfortunately, this attribute belong to many attribute sets with slightly 
different values (depending on the value of attribute "font-size"). You may 
start by modifying attribute "line-height" in the attribute set called 
"base-style" and see if this is sufficient.

See "Customizing a stock XSLT stylesheet" -- 
http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/com.xmlmind.xslutil.ConversionEditor.html#customizing_xslt




--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to