Writing Tools

The Codex

Steps for

The Codex is your story's memory: who is who, where things happen, and the objects and history that matter. This article shows how to add entries, let Fleuron find names in your book, see where each one appears, and rename a character throughout the book.

The Codex is for you. Nothing in it appears in your book, except the entries you choose for a glossary page (see Making a glossary page).

The Codex: characters and places found in your book, their details, and a glossary page.

Opening the Codex

  • Click the Codex button at the top right, beside Split Screen and the preview's button. The Codex opens where the preview is, so you can keep writing with it open.
  • Or choose View ▸ Codex (Characters, Places, Items, Lore)….
  • Or click Codex… at the top of the Corkboard, Outliner or Timeline.

The tabs along the top show All your entries, or just the Characters, Places, Items, Lore, Groups, Languages or Nature (animals and plants).

the Codex window with a character selected

Keeping the Codex beside your writing

Beside the text, the Codex lists In this chapter first: the entries the chapter you're writing mentions, and how often. Everyone else comes below. Click a name in your text to open its entry there, and change its notes as you write.

  • ⤢ opens the full Codex window, for tidying a long list or putting it in your own order. Close it to come back.
  • ×, or the preview's button, brings the preview back.

On a phone, and in the Corkboard, the Codex opens as a window.

the Codex beside the text, In this chapter first, with an entry's notes below

Adding an entry

  1. Click + Add. (On the Places tab it says + Add Place, and so on.)
  2. Type the Name.
  3. Fill in as much of the rest as you like:
    • Also called: nicknames, titles, a first name on its own. Separate them with commas.
    • Type: Character, Place, Item, Lore, Group, Language, or Animal or Plant.
    • Role (characters only): Main, Supporting or Minor.
    • Say it like: how to pronounce the name, for example “TAM-zin”.
    • Colour: used for the entry's dot in the Codex and the Timeline.
    • Notes: anything you want to remember.
  4. Click Done. Fleuron saves as you type.
a new entry on the Places tab, after clicking + Add Place

Note: An entry without a name is removed when you click Done.

Letting Fleuron find names

Fleuron can look through your book for likely names and suggest them.

  1. Click Find in Book…. (On the Characters tab it says Find Names in Book….)
  2. Fleuron lists the names, places, items, lore and groups it found, with how often each appears. Tick the ones you want, or click Select All.
  3. If it missed one, type it in the box at the bottom (choose its kind, if the list shows several) and click Add.
  4. Click Add to Codex. (If you started from one tab, such as Characters, the button says Add Characters.)
Find in Book: the names Fleuron found, with how often each appears

Fleuron only suggests names that turn up more than once. You can change an entry's type later.

Seeing where an entry appears

Choose an entry to see how many times it's mentioned in the book (in the text and in chapter titles, by its name or any name under Also called), in how many elements, and where it first appears. For characters, it also shows how many chapters are told from their point of view.

  • Under the counts, a button for each chapter that mentions the entry, with its chapter number and how many times (Ch. 4 × 23). Hold the pointer over one to see the chapter's title; click it to jump there.
  • Click Find Mentions to step through the mentions with the find bar. It looks for the main name, or the first other name that's in the text.
  • If Fleuron spots words one letter away from the name (like “Tamsyn” for “Tamsin”), it lists them as Possible misspellings. Click one to find it.
an entry’s mentions: the counts, the chapters it appears in, and a possible misspelling

Names in the editor

Names from your Codex are underlined while you write. Hover over a name to see its card, with its notes and pronunciation. Click Open in Codex on the card to go to the entry.

the card that appears when you hover over a name in the editor

To turn the underlines off (or on again), choose View ▸ Highlight Codex Names.

Renaming a character everywhere

  1. Choose the entry and click Rename Everywhere….
  2. If the entry has more than one name, choose which name to change.
  3. Type the new name and click Rename.
Rename: choosing which of the entry’s names to change

Fleuron changes the name in your chapters, titles, notes and synopses. A word written in capitals keeps its capitals. Before renaming, Fleuron saves a version of the whole book, so you can go back with File ▸ Revert to Saved / Version History…. See Snapshots and Versions.

Note: Elements reused from another book are left alone. See Reusing Elements.

Putting the list in order

Choose an order with Order at the top of the Codex:

  • Most mentioned: the entries this book mentions most come first.
  • Your order: drag a name up or down the list. Dragging a name switches to Your order.
  • A to Z, or Type (characters, then places, items and so on).

Two entries with the same name

If two entries have the same name, the top of the Codex says so. Click Show, then Merge Them on the entry: Fleuron makes one entry of them, with both sets of other names and notes, and the chapters told from either one's point of view keep it. Undo splits them again.

Removing an entry

Choose the entry and click Remove. Your book's text isn't changed.

Sharing a Codex across a series

When a book belongs to a series, its Codex is shared with every book in that series by the same author. Add a character in book 2 and it's there in book 3 too.

The top of the Codex tells you whether it is shared. To share it, give the book a series in Title Info. See Series.

Sharing only some entries

Not every series shares a whole world. For standalones in a series, choose entry by entry:

  • On an entry, Shows in is Every book in the series or This book only. A character who returns in a later book, or an easter egg, is shared; a character who belongs to one book stays there. In the list, ⇄ marks a shared entry and ● one that's in this book only.
  • New entries, at the top of the Codex, is Shared or This book only: what new entries start as. It's the same for every book in the series.
  • Hide 3 Not Here (the number is how many there are) takes the entries this book never mentions (the cast of book 1, say) out of this book's Codex and Timeline. The other books keep them. Show Hidden brings them back.

Pronunciations for your narrator

The Say it like pronunciations go into the pronunciation guide of the narrator script for audiobooks. See Word Export and Narrator Script.

Making a glossary page

Fantasy and historical novels often end with a glossary of names, places and terms. Fleuron can make one from your Codex.

  1. In each entry you want in the glossary, tick Put in the glossary (the green box under the entry's Type).
  2. Write its Glossary text: what readers see, such as "The harbour below the lighthouse". Your Notes stay private and are never printed.
  3. Click Make Glossary Page.

Fleuron adds a Glossary page to the back matter, before the acknowledgments and About the Author, with the entries in alphabetical order. Each shows its name in bold, how to say it (from Say it like) and its glossary text.

To change the glossary, change the entries in the Codex and click Make Glossary Page again: Fleuron updates the same page. In a series, every book shares the Codex, so each book can make its own glossary from the same entries.

Tip: The Codex also shows up in Search Fleuron (⌘K): type a character's name to open their entry. See Search Fleuron and Find & Replace.