1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00
inform7/indoc/Tests/Basic/indoc-instructions.txt

273 lines
8.3 KiB
Plaintext

volume: The Indoc Manual
volume: The Second Volume
cover: combined_cover.png
images: resources/Imagery/doc_images/
examples
contents_expandable = yes
treat_code_as_verbatim = no
inform_definitions_mode = yes
alphabetization = word-by-word
dc:title: The Indoc Test Case Book
dc:creator: Graham Nelson
dc:subject: Interactive Fiction
dc:identifier: indoc
css: p.quoted + {
font-family: "Lucida Grande", Geneva, Arial, Tahoma, Verdana, Helvetica, Helv;
}
css: SV: body.papertint + {
background-color: #ffffe0;
}
css: td.midnightrighthalfpage ++ {
background-color: #ffffe5;
}
css: SV: div.egpanel + {
background-color: #ffffc0;
}
css: SV: span.midnightbannertext + {
color: #ffffe0;
}
css: p.warning ++ {
color: #A00000;
font-size: 1.2em;
}
css: |text| = typewriter
css: ::text:: = quadpoint
css: span.quadpoint ++ {
color: #00A000;
font-size: 0.8em;
border-style: dotted;
border-width: 2px;
padding: 2px;
}
css: <i>text</i> = italic
css: <b>text</b> = boldface
# Define all the index notations. Most of these have the form "headword+KEY+",
# because that's easy to read. A couple of the most commonly used also have
# magic prefix symbols.
# All of these categories are going to come down to a handful of display
# styles:
# - normal
# - dark blue monospace (for terms that appear in I7 source)
# - light blue italics (for bracketed arguments in I7 source terms)
# - dark green serif (for words that appear in player commands)
# Note that the manual itself uses dark blue indented blocks, but not
# monospace, to display I7 source. We don't have the opportunity to indent,
# so we use the monospace font to distinguish it.
# General source-text category. Used for all sorts of cases. (Thus, no
# label is attached.)
index: ^{headword+source+} = source
index: ^{`headword} = source
# Category for player commands.
index: ^{headword+command+} = command
index: ^{>headword} = command
# Category for people's names.
index: ^{headword+name+} = name (invert)
index: ^{@headword} = name (invert)
# For source text which will include bracketed arguments.
# (The brackets are displayed.)
index: ^{headword+sourcearg+} = sourcearg (bracketed)
# For terms which will contain just a few source-text words in a normal line.
# (Here, in contrast, the brackets are markup -- they are not displayed.)
index: ^{headword+sourcepart+} = sourcepart (unbracketed)
# For terms which will contain just a few player-command words in a normal
# line.
index: ^{headword+commandpart+} = commandpart (unbracketed)
# Category for terms labelled "user interface".
index: ^{headword+ui+} = ui ("user interface")
# Category for terms labelled "use option".
index: ^{headword+useopt+} = useopt ("use option")
# Category for terms labelled "of source text". Words may be bracketed for
# the source-text style.
index: ^{headword+ofsource+} = ofsource ("of source text") (unbracketed)
# Category of terms labelled "bibliographic data".
index: ^{headword+biblio+} = biblio ("bibliographic data")
# Category of terms labelled "web site".
index: ^{headword+web+} = web ("web site")
# Category of terms which are titles, so should be in italics. (No label,
# because it could be a title of any sort of thing.)
index: ^{headword+title+} = title
# Category of terms labelled "extension".
index: ^{headword+ext+} = ext ("extension")
# For player commands labelled "testing command".
index: ^{headword+testcmd+} = testcmd ("testing command")
# For kinds (source text style).
index: ^{headword+kind+} = kind ("kind")
# For top-level assertions, with bracketed arguments.
index: ^{headword+assert+} = assert ("assertion") (bracketed)
# For rulebooks, with bracketed arguments. (Not rulebook arguments per se,
# but parameterized cases like "check (action)".)
index: ^{headword+rb+} = rb ("rulebook") (bracketed)
# For phrases, with bracketed arguments. Note that there is a prefix form
# for this one.
index: ^{headword+phr+} = phrase ("phrase") (bracketed)
index: ^{+to+headword} = phrase ("phrase") (bracketed)
# For "say" phrases, with bracketed arguments. With prefix form.
index: ^{headword+sayphr+} = sayphrase ("say phrase") (bracketed)
index: ^{+tosay+headword} = sayphrase ("say phrase") (bracketed)
# For "if" phrases, with bracketed arguments. With prefix form.
index: ^{headword+ifphr+} = ifphrase ("if phrase") (bracketed)
index: ^{+toif+headword} = ifphrase ("if phrase") (bracketed)
# For "outcome" phrases (e.g. "it is likely"). The bracketed argument
# is the rulebook name to which the outcome applies.
index: ^{headword+outphr+} = outphrase ("outcome phrase") (bracketed)
index: ^{+toout+headword} = outphrase ("outcome phrase") (bracketed)
# For properties (source text style).
index: ^{headword+prop+} = prop ("property") (bracketed)
# For properties (source text style), auto-filed into "properties: catalogue".
# This has no label, because the group term is sufficient.
index: ^{headword+propcat+} = propcat (bracketed) (under {properties: catalogue})
# For adjectives, with bracketed arguments (the kind the adj applies to).
index: ^{headword+adj+} = adj ("adjective") (bracketed)
# For relations. We permit bracketed arguments for the odd case of
# "mapping (direction)".
index: ^{headword+rel+} = rel ("relation") (bracketed)
# For relations, auto-filed into "relations: predefined". No label.
index: ^{headword+relcat+} = relcat (under {relations: predefined}) (bracketed)
# For relation verbs.
index: ^{headword+relverb+} = relverb ("relation verb")
# For global variables, with type. We conventionally format this as
# "{VARNAME (-- TYPE)}", using an em-dash inside the brackets.
index: ^{headword+glob+} = glob ("global variable") (unbracketed)
# For action variables, with type. We conventionally format this as
# "{VARNAME (-- TYPE)}", using an em-dash inside the brackets.
index: ^{headword+actvar+} = actvar ("action variable") (unbracketed)
# For constants, with type. We conventionally format this as
# "{CONSTNAME (-- TYPE)}", using an em-dash inside the brackets.
index: ^{headword+const+} = const ("constant") (unbracketed)
# For actions. We generally use the short form ("taking") unless the action
# has two arguments, in which case we mention the first one
# ("asking (actor) about").
index: ^{headword+action+} = action ("action") (bracketed)
# For activities.
index: ^{headword+activity+} = activity ("activity")
# Another entry for activities, auto-filed into "activities: catalogue".
index: ^{headword+activitycat+} = activitycat (under {activities: catalogue})
# One more for activities. Enough of them fit in this subgroup that it's
# worth having a special tag.
index: ^{headword+descactivity+} = descactivity (under {descriptions (displayed): activities})
# For tokens of understanding. (Square brackets are generated for the
# index listing.)
index: ^{headword+token+} = token ("grammar token") (bracketed) (prefix "[") (suffix "]")
# The category for everything else.
index: ^{headword} = standard
# Auto-generated entries for each activity.
index: {act_} = activity ("activity")
# Another auto-generated entry for activities, auto-filed into
# "activities: catalogue".
index: {act_} = activitycat (under {activities: catalogue})
index: definition = phrase ("phrase") (bracketed)
index: if-definition = ifphrase ("if phrase") (bracketed)
index: say-definition = sayphrase ("say phrase") (bracketed)
index: example = example ("example")
web {
format = HTML
navigation = architect
examples_mode = openable
images_copy = yes
}
ebook {
granularity = 2
examples_mode = open
follow: epub-css-tweaks.txt
}
osx_app {
# HTML documentation for the OS X app
follow: in-application-instructions.txt
assume_Public_Library = yes
support_creation = yes
retina_images = yes
declare: OSX
}
windows_app {
# HTML documentation for the Windows app
follow: in-application-instructions.txt
assume_Public_Library = yes
support_creation = yes
retina_images = yes
suppress_fonts = yes
declare: Windows
destination = ../../Build/Documentation/
}
linux_app {
# HTML documentation for the Linux app
# This is for command-line Linux, so there's no in-application tweaking
declare: Linux
assume_Public_Library = yes
destination = i7/Documentation/
images_copy = no
}
gnome_app {
# HTML documentation for the GNOME app
follow: in-application-instructions.txt
assume_Public_Library = yes
declare: GNOME
destination = ../inform7-ide/src/inform/
}
plain {
# Plain text for screenreaders
format = text
images_copy = no
navigation = lacuna
examples_mode = open
}