Flowing a story
How to put a manuscript written in the story editor into a layout. Once you decide which style each tag of the manuscript uses and where it goes, you can flow it again whenever the manuscript changes to bring the layout up to date.
Tagging objects
Tag the frames that flowed text should go into. For example, if you tag the text frame meant for the book title with book-title, the manuscript's book-title element goes into that frame when you flow.
- Select one object on the canvas.
- Right-click › Tag…. If the object already has a tag, the menu shows its name.
- Enter the tag name (in Latin letters) and click OK. To remove it, click Delete tag.
You can also see and change the selected object's tag in the tag field of the inspector.
Related questions
- How do I tag a frame?
- How do I make the manuscript's title go into the title frame?
Flowing
- The flow window opens from the Reflow button that appears when you open a layout whose flowed story has been saved again. To put a PodoBookDTD story in for the first time, use “Importing a story” below.
- Choose the story to flow. The story's last saved version is flowed — save it in the story editor first.
- For each tag used in the manuscript, set the paragraph and character styles and where it Goes to (the tag map). The number of uses is shown with each.
- Click Flow. A summary of the result appears (paragraphs flowed; numbers of footnotes, endnotes, tables and images; paragraphs left out; and so on).
Goes to is one of the following.
| Goes to | Meaning |
|---|---|
| Main flow | Goes in order into the flow of the primary text frames. Pages are added when they run out |
| Placeholder frame | Goes into the text frame with the same tag (spots such as the title page or copyright page) |
| Repeat (template master) | Makes one page per element from the Template master and fills that master's tagged frames |
| Footnote·Endnotes | Turns inline elements into real footnotes or endnotes |
| Table | Turns table > row > cell containers into inline tables |
| Remove | Not flowed |
- To use a different paragraph style for the same tag depending on its enclosing container, class or attributes, add context styles with Context on that tag's row (for example, a different style for p inside a quotation).
- Attributes in the manuscript (list type and start number, table header rows and merged cells, ruby, language and so on) become formatting when flowed. Images are copied into the layout and placed before their captions.
- One Undo reverts the whole flow.
Related questions
- Can I autoflow my manuscript into the layout?
- Can I map each tag to a paragraph style?
- How do I make each chapter start on a new page?
Set up PodoBookDTD layout
Prepares a layout so a manuscript written with PodoBookDTD can be flowed right away (PodoBookLayout). Choose Set up PodoBookDTD layout from the File menu to create all of the following in one go. One Undo reverts it.
- Two book-information pages — placeholder frames for the book title, subtitle, creators and original-edition details on page 1, and for the description and rights notice on page 2
- A template master for each section — dedication, epigraph, foreword, preface, acknowledgments, notice, abbreviations, cast, chronology, part, chapter, afterword, appendix, glossary, bibliography, credits and about the author. The primary text frame on the master pages carries that section's tag
- Paragraph styles — named after the element and its place (chapter-title, foreword-p, chapter-section-heading and so on). Each paragraph style has a character style ending in '-char', and the inline elements (em, strong …) get character styles too
- The tag map — sections go to Repeat (template master) and the book information to Placeholder frame
When you then put the manuscript in with Import PodoBook DTD Story…, each section gets pages from its template master, and pages are added when the text overflows. If the book has parts, each part's pages carry the chapters inside it (each chapter starts on a new page); chapters outside parts get pages from the chapter template. If the layout had only blank pages, those pages are removed. Edit the created styles and masters to change the look of the book. Choose the cover layout separately (see "Choosing a cover layout"). A layout set up this way can also take the manuscript through Import PodoBook DTD Story… (see "Importing a story").
Related questions
- I want to set up a layout for a book manuscript quickly
- How do I make a PodoBookDTD layout?
- Can each chapter have its own page design?
Importing a story
Before putting a PodoBookDTD story into a layout that fully meets PodoBookLayout, you can see how well the manuscript fits the layout. Choose Import PodoBook DTD Story… from the File menu. The command is available only when the layout has every style, placeholder frame, template master, tag-map entry and the contents page that PodoBookLayout needs. If it is dimmed, hover over it to see what is missing, then fill it in with Set up PodoBookDTD layout.
- The Story list shows only stories whose saved version passes the PodoBookDTD check with no problems. The number of stories left out is shown below it, by reason.
- The left side of the table lists the layout's placeholder frames and template masters with the paragraph styles in them; the right side shows the manuscript's tag paths that go to each style, with paragraph counts. A tag path is the manuscript's tags from the outside in, joined with '-' (for example body-part-chapter-title), and the part of it that forms a style name (chapter-title) picks the style.
- Above the table you see how many paragraphs match a style, as a number and a percentage, and how many places the manuscript uses. Tag paths with no matching style and character elements are listed below the table.
- Click OK to flow the manuscript by the layout's tag map. Whatever was flowed before, from any story, is cleared first and the layout is filled from scratch: pages stamped from template masters are removed, and placeholder frames this manuscript doesn't use go back to their placeholder text. One Undo reverts it.
Related questions
- Can I check whether my manuscript fits the book layout first?
- The Import Story command is grayed out
- My manuscript isn't in the story list
Reflowing and text edited in the layout
- If the story is saved again after you flowed it, opening the layout shows a notice that it changed and a Reflow button. Reflowing puts the new manuscript in with the same tag map; repeated pages keep their positions, pages are added for new elements, and pages of removed elements are deleted.
- If you edit flowed text in the layout and then flow again, those edits are lost. The flow window warns you when elements were edited in the layout, and you must turn on Overwriting is fine before you can flow.
- To bring text edited in the layout back into the manuscript, open Flowed layouts in the story editor. For each layout this story was flowed into, the elements edited in its last save are shown with the Flowed text and the Text in the layout; use Apply to story (or Delete in story too for a deleted element) to put them into the manuscript. Open opens that layout in a new tab.
Related questions
- I changed the manuscript — how do I update the layout?
- I want to copy edits made in the layout back into the manuscript
- Will reflowing wipe out the edits I made in the layout?
Choosing a cover layout
Set the cover layout that goes with a body layout. With no object selected, click Choose… in the Cover Layout field of the Attributes tab and choose a cover layout. Change it with Change…; clearing it only removes the link. Cover layouts are made with New Layout › Cover on the dashboard (see "Creating a cover" in the "Dashboard" document). A cover with the book information tags gets the PodoBookCover certified mark. When you choose a cover, its certification is checked: if the cover is not certified or has not been checked yet, you are told so and the missing tags are shown in the field. Certification is checked again every time the cover layout is saved. You can set up a PodoBookLayout and put the manuscript in without a cover.
Related questions
- Can I link the body layout and its cover layout?
InDesign (IDML) and tags
When you export IDML, object tags and the elements in the text (paragraph, character and container) go along as InDesign's XML structure. When you import IDML made in InDesign, its XML structure comes back as object tags and elements in the text (see the "Importing InDesign documents" document).
Related questions
- Are InDesign XML tags kept?
- Can I use tagged content from InDesign's Structure pane?