Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Texts are

...

built in a

...

A text begins with a root node; this root node generally contains the metadata for the text

...

Pages are added to this root node; these pages are the children of the root

...

Child pages can be added to any page; the page they are added to is the parent page

...

Pages that share the same parent are siblings

...

A page may have multiple children, but will have only one parent

...

Pages will be arranged in the text according to the linear order that they appear in the table of contents

...

For example, see the text contents below:

  • Main Title

    • Introduction

    • Section A

      • Subsection 1A

      • Subsection 2A

    • Conclusion

data tree structure. To guide you through the structure, we'll slowly build a table of contents that represents the text. 

To begin a text, start with your first page. This page contains all the metadata for your text. Learn how to begin a text. Remember, every text needs to be in a collection

Once you've created your first page, you can add sections to that first page by inserting more pages: these are child pages of the section. In the example below, we've added three pages (Introduction, Section A, and Conclusion) to the Main Title page. Learn how to add sections to texts. 


What happens if you want subsections on a certain page, say Section A? Just add more 'child pages' under Section A, in the same way you inserted Section A into the Main Title

 


You can continue building your text this way indefinitely. This can give you complex structures, like the partial table of contents below from a real example. Remember: you can only have one main, top-level page. 

 

In the example above:

...

"Main Title" is the root node

...

"Introduction," "Section A," "Section B," and "Conclusion" are the children of "Main Title"

...

"Subsection 1A" and "Subsection 2A" are the children of "Section A"

...

"Section A" is the parent of "Subsection 1A" and "Subsection 2A"

...

"Subsection 1A" and "Subsection 2A" are siblings

...