The <CHAPTER> tag

<CHAPTER>

Purpose

Defines a part or chapter.

Attributes
Content

The id attribute

This attribute is required. The chapter ID consists of the chapter prefix ch and a number.

Example: ch13

The type attribute

  • 0: Normal.

  • 1: Unused.

Default value: 0

The level attribute

  • 1: Part level.

  • 2: Regular chapter level.

Default value: 2

The isTrash attribute

  • 0: This is a chapter or part.

  • 1: This chapter is the novelibre project’s “trash bin”.

Default value: 0

The noNumber attribute

  • 0: Auto-number this chapter, if applicable.

  • 1: Exclude this chapter from auto-numbering.

Default value: 0

The hasEpigraph attribute

  • 0: There is no epigraph specified for this chapter.

  • 1: The chapter’s first section is an epigraph, if used.

Default value: 0