On 11/18/2014 11:09 PM, Julie McHam wrote:
I do not know if this is a bug or an issue with my formatting.
Currently, I convert DITA files to DOCX files using the XSL Utility,
make a few fixes in the Word file, and then create a PDF file. Ideally,
I like to have as few manual fixes to the Word file as possible.
When I convert DITA files to DOCX using the XSL File Utility, notes that
are less than one line long end up wrapping to create two lines. Like this:
In the example above, the word “tab.” Should be on the line above
instead of wrapping to a second line. So I end up having to manually
increase the width of the table in Word before creating a PDF.
Is there something you suggest that I do to correct this issue?
--> I'm not sure there is any issue here.
First attached screenshot shows a note found in a PDF file generated by
ditac v2.5.3+RenderX XEP v4.22.
Second attached screenshot shows the same note found in a DOCX file
generated by ditac v2.5.3+XMLmind XSL-FO Converter v5.1.
As you can see it in both screenshots, a note is formatted as follows:
* Smaller font size;
* 4em left and right margins.
May be you simply don't like this formatting.
This formatting is specified in attribute-set called "note" found in
DITAC_INSTALL_DIR/xsl/fo/body.xsl:
---
<xsl:attribute-set name="note" use-attribute-sets="display-style">
<xsl:attribute name="font-size">0.9em</xsl:attribute>
<xsl:attribute name="line-height">1.48</xsl:attribute>
<xsl:attribute name="margin-left">4em</xsl:attribute>
<xsl:attribute name="margin-right">4em</xsl:attribute>
<xsl:attribute name="space-before.optimum">1.48em</xsl:attribute>
<xsl:attribute name="space-before.minimum">1.4em</xsl:attribute>
<xsl:attribute name="space-before.maximum">1.5em</xsl:attribute>
<xsl:attribute name="space-after.optimum">1.48em</xsl:attribute>
<xsl:attribute name="space-after.minimum">1.4em</xsl:attribute>
<xsl:attribute name="space-after.maximum">1.5em</xsl:attribute>
</xsl:attribute-set>
---
XMLmind XSL Utility has a way to modify the "note" attribute-set without
hand-editing any XSL file.
Please use "XMLmind XSL Customizer"
(http://www.xmlmind.com/foconverter/_distrib/xslutil/doc/help/com.xmlmind.xslutil.ConversionEditor.html#customizing_xslt)
to adjust the value of attribute "margin-right" of attribute-set "note".
--> If what's above does not apply to your case and in fact, you think
that you have found a bug, then please file a formal bug report. More
information in http://www.xmlmind.com/foconverter/support_policy.html
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support