Edit and validate book structure

A new book file has a structure with a highest-level element called NoName and an element called BOOK-COMPONENT for each document and generated file you added to the book. When you update the book, the elements for structured files change to the tag of the highest-level element from the file.

In most cases, you need to make a few corrections in the structure of a book file after updating. For example, you should change the NoName element to the highest-level element defined for the book. And if any file elements are still called BOOK-COMPONENT, add structure to those files and then generate and update again.

The book’s element definitions may also require you to group elements in higher-level elements such as FrontMatter, Body, and Appendixes.

Typical structure for a book file

bk_29.png

tip:   To open a file quickly, double-click its bubble in the Structure View.

You can edit the structure of a book in most of the same ways that you edit a document—by inserting, wrapping, and changing elements; merging and splitting; dragging and deleting bubbles in the Structure View; and so on. However, you cannot merge or split elements that represent files, and you cannot undo a cut or paste in a structured book that contains anything other than the default structure.

Validate structure

You can validate an entire book (including its files), only the book file, or only the current element in the book file. If you validate the entire book, the structure of the book and each file is checked against the Element Catalog for the book.

1)In the book window, choose Element > Validate.

2)Select Entire Book, Book Elements Only, or Current Element to specify the scope of the vali­dation.

3)To exclude missing elements or attribute values from the search, turn on Ignore Missing Elements or Ignore Missing Attribute Values.

If these settings are on, FrameMaker does not look for places where a required child element or a required attribute value is missing. You may want to turn these on if you are not trying to build a complete book at this time.

4)Click Start Validating.

5)If FrameMaker finds an error, specify whether to allow the error to remain, and then click Start Validating again.

The top part of the Element Validation dialog box shows the tag of the element and a brief message about the problem.

6)Repeat step 5 until FrameMaker does not find any more errors.

Clear all special cases

1)Choose Element > Validate.

2)Click Clear Special Cases. FrameMaker clears the special cases in the entire book, only the book file, or only the current element—whichever scope is selected in the dialog box.


September 30, 2016

Legal Notices | Online Privacy Policy