| Chapter 20: Publishing |

| 20.4. Bibliographic data

Inform has a number of special named values to hold the bibliographic data about the work being created - who wrote it, what it is called, what headline it has, what genre it has and what its release number is, and so on.

These can be set as follows:

> The story title is "Mansfield Perk".
> The story author is "Janet Austen".
> The story headline is "An Interactive Romance".
> The story genre is "Romance".
> The release number is 7.
> The story description is "In Miss Austen's new interactive novella, Miss Henrietta Pollifax is adopted by the tempestuous landowner Sir Tankerley Mordant, and must make a new life for herself on the rugged moors."
> The story creation year is 2005.

Most of these are self-explanatory. The "story creation year" is provided so that if we need to revise the work to fix some bugs a year later - by no means an uncommon occurrence - then we can make sure it is correctly identified as still being basically a 2005 work. (Just as a book which has had innumerable revised printings may say "First published 1988" on its imprint page.) The "story description" is a piece of text, analogous to the back cover blurb on a book: it might be two or three paragraphs long, so the example above is rather minimal, but it should not be epic in length.

As we have already seen, a convenient abbreviation provides that if the first sentence of the source text consists solely of text in quotation marks, then that is considered the title. Thus if the source begins:

> "Mansfield Perk"

then that will be the "story title". Further, we can write

> "Mansfield Perk" by Janet Austen

with the obvious effect: quotation marks around the author's name are optional here, for convenience, but note that we'd better have them in cases like:

> "Three Men in a Boat" by "Jerome K. Jerome"

as otherwise the full stop after the K will end the sentence prematurely.

If the bibliographic named values are not set by the source text, Inform will still need to say something. Unset text and number variables evaluate to "" and 0 respectively, but this would make for a very unhelpful record. So Inform uses the following table instead of any value which is unset:

> Story title: Untitled
> Story author: Anonymous
> Story headline: An Interactive Fiction
> Story genre: Fiction
> Release number: 1

Previous | Contents | Next