8.0.007

Table of Contents

Enhancements
Interword spacing
Image import
Improved publication/partition copying
Improvements to Layout Editor
Add DITA file types in replace document dialog
Improvements to Mapping Editor
Index sorting option to keep punctuation at start of item
Simplify processing of non-breaking spaces
Overriding the line breaking rules
Mapping Editor access to TopLeaf Help
Bug Fixes
Abnormal exit if "end partition" mode not enabled
Incorrect mapping in secondary transform file
Ignore undefined jump targets in secondary transforms
Missing leading in $document is treated as 0.1pt
Layout was not recompiled after an undo last save
Table tags incorrectly coerced to lower case
Cannot set box text indents to zero
Black font color treated as inherit
Restore mapping assistant position after reload
TopLeaf workstation generated an abnormal exit when including a leaf group
Value of attribute variable is incorrect
Mapping Assistant could hang on find if no match was found
Cannot open file from partition booklist
Invalid Xref entry
Error loading Mapping Assistant content
Label offset ignored in $pagenote-body and $colnote-body mappings
Abnormal exit when processing CALS table in SGML mode
Java path not reset after changing GUI preferences
Duplicate page footnote is missing
Inconsistent default partition type in Workstation and API
Error referencing a deleted mapping
Mapping Editor did not fully honour read-only setting
Tag occurrence mappings ignored
Table & box style not set when copying a mapping
CJK line breaking
Graphics warnings not reported
Page footnote position is incorrect

Date of release: 2015-06-22

Enhancements

The following enhancements were applied in this build.

Interword spacing

(bug 2651) The <topleaf-properties /> wordspace property specifies the algorithm used by TopLeaf to resolve the width of an interword space. When you set this property to legacy, TopLeaf uses an algorithm that assumes a uniform font size within a paragraph. If your paragraph content uses mixed font sizes then set this value to normal. If not specified, the default value is legacy.

[Warning] Warning

For some stylesheets, changing the wordspace property may also change the line break position within a paragraph. In a publication that relies on output differencing, this can have a significant effect on every page of a document.

Image import

(bug 2736) The Import stylesheet image command selects an image file and copies it into the graphics folder of the publication. You can access the imported images from a stylesheet mapping by setting the image search path to {publication-folder}/graphics.

Improved publication/partition copying

(bug 2741) The Copy To... action in the Open partition dialog has been modified so that it is now possible to enter the full path of the destination when copying a publication or higher level. When copying a partition the former behaviour is retained (so it is only possible to make the copy in the same publication). In addition, the new path is selected when the dialog is opened so the new value can be typed over it.

Improvements to Layout Editor

(bug 2743) The following general enhancements have been applied : fixed a problem with overlapping block display and implement better control display for small window sizes.

Add DITA file types in replace document dialog

(bug 2744) The .dita file type is now selectable when replacing a partition document from the TopLeaf GUI.

Improvements to Mapping Editor

(bug 2750) The following general enhancements have been applied : Speed up custom tab load by loading command data in a separate thread, use syntax-colouring within the custom content editor; improved controls within layout.

Index sorting option to keep punctuation at start of item

(bug 2764) TopLeaf provides facilities for generating an index from your content. When creating a sorted index, you can now add the option ignore-punc=inner to the <index-sorter/> command to retain punctuation at the start of the item.

Simplify processing of non-breaking spaces

(bug 2768) Some inefficiencies when processing a non-breaking space (U+00A0) have been removed.

Overriding the line breaking rules

(bug 2776) You can use a word joiner (U+2060) code to prevent a line break after a designated word break character.

Mapping Editor access to TopLeaf Help

(bug 2786) A menu item has been added to the Mapping Editor to provide quick access to the custom content command summary table.

Bug Fixes

The following bug fixes were applied in this build.

Abnormal exit if "end partition" mode not enabled

(bug 2638) In some circumstances, composing a full looseleaf partition generated an abnormal exit if the top level end tag mapping did not enable an End partition.

Incorrect mapping in secondary transform file

(bug 2729) A mapping attribute path that contained a percentage (U+0025) character was written incorrectly to the secondary transform file.

Ignore undefined jump targets in secondary transforms

(bug 2742) A warning is no longer flagged when referencing an empty jump target identifier.

Missing leading in $document is treated as 0.1pt

(bug 2747) Unless specified, the default document leading within a $document mapping is assumed to be 13pt.

Layout was not recompiled after an undo last save

(bug 2748) The stylesheet layout was not recompiled after undoing the last stylesheet save.

Table tags incorrectly coerced to lower case

(bug 2749) The secondary transforms and Mapping Assistant failed because a table row start tag name and end tag name were not identical.

Cannot set box text indents to zero

(bug 2751) The box text indents for a mapping style can now be set to zero.

Black font color treated as inherit

(bug 2755) The black font color for a mapping style was incorrectly treated as an inherited color state.

Restore mapping assistant position after reload

(bug 2756) The on-screen position of the Mapping Assistant is now restored after reloading.

TopLeaf workstation generated an abnormal exit when including a leaf group

(bug 2757) The TopLeaf Workstation generated an abnormal exit when attempting to include a leaf group.

Value of attribute variable is incorrect

(bug 2758) The value assigned to an attribute variable was incorrect when a tag mapping was selected using the DITA class attribute.

Mapping Assistant could hang on find if no match was found

(bug 2760) In some circumstances, the Mapping Assistant could hang when attempting to find a search string.

Cannot open file from partition booklist

(bug 2761) The content for a partition consisted of two or more files defined within a partition booklist. An attempt to edit a file selected from the booklist was ignored.

Invalid Xref entry

(bug 2762) An invalid xref entry was created if the content of that entry contained a REVERSE SOLIDUS (U+005C) character.

Error loading Mapping Assistant content

(bug 2763) A Java error exception occurred when loading the Mapping Assistant.

Label offset ignored in $pagenote-body and $colnote-body mappings

(bug 2766) A user variable declaration for a label offset was ignored when referenced from a $pagenote-body or $colnote-body mapping.

Abnormal exit when processing CALS table in SGML mode

(bug 2770) The typesetting engine generated an abnormal exit when processing an SGML CALS table.

Java path not reset after changing GUI preferences

(bug 2771) The TopLeaf workstation did not reset the selected Java runtime path after the user preferences were changed.

Duplicate page footnote is missing

(bug 2773) Page footnote note merging was enabled, and two or more page footnotes were referenced from within bound content. If the bound content contained a footnote duplicate, the footnote content was not rendered.

Inconsistent default partition type in Workstation and API

(bug 2777) An error identifying the implied partition type has been corrected.

Error referencing a deleted mapping

(bug 2778) The Mapping Assistant generated a Java error exception when an attempt was made to reference a deleted mapping.

Mapping Editor did not fully honour read-only setting

(bug 2779) If the TopLeaf workstation stylesheet read-only mode was enabled, selecting a mapping enabled mapping edit & delete.

Tag occurrence mappings ignored

(bug 2781) After scanning the content of a nested tag, the composition engine failed to select tag mappings that specified a !last occurrence qualifier.

Table & box style not set when copying a mapping

(bug 2788) The Mapping Editor did not set the table & box style when copying a mapping.

CJK line breaking

(bug 2792) An error identifying the optimal line break position within Chinese, Japanese, and Korean content has been corrected.

Graphics warnings not reported

(bug 2794) When creating a PDF, a graphic warning, such as falling back to a raw format, did not produce a log file.

Page footnote position is incorrect

(bug 2796) The position of a page footnote within a mirrored page layout was incorrect.