Glyph - <code>document.*</code>

The following configuration settings are related to the current Glyph document. Therefore, you should update them right after creating a project.
Name Description Default
document.author

The author of the document.

""
document.cover

The image used as the document cover (used only for e-book generation).

false
document.draft

If set to true, the document is considered a draft, so draft comments and todo items will be displayed.

false
document.filename

The name of the output file.

""
document.output

The format of the output file. It can be set to:

  • epub
  • html5
  • html
  • mobi
  • pdf
  • web5
  • web
"html"
document.revision

The document’s revision.

""
document.source

The main source file to compile. It can be also be overridden by calling the compile command with the -s option.

"document.glyph"
document.styles

How to process stylesheets. It can be set to one of the following values:

  • embed — Embed stylesheets within the document.
  • link — Link stylesheets.
  • import — Import stylesheets using the @import CSS directive.
"embed"
document.subtitle

The subtitle of the document, displayed using the subtitle macro.

""
document.title

The title of the document, displayed using the title macro.

""
document.isbn

The ISBN of the document, for e-book generation.

false