From 573053f8e947cfe97e44522550a3ff54293db3b7 Mon Sep 17 00:00:00 2001 From: Glenn Hutchings Date: Sun, 17 Jul 2016 11:20:40 +0100 Subject: [PATCH] Add a few more autoindex entries. --- chapters/02.rst | 32 ++++++++++++++++++++++++++++++++ tools/autoindex.cfg | 12 +++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/chapters/02.rst b/chapters/02.rst index 1d40017..f930ee8 100644 --- a/chapters/02.rst +++ b/chapters/02.rst @@ -87,6 +87,9 @@ about -- by humans. .. index:: single: IBM PC pair: NotePad; text editor + pair: SimpleText; text editor + pair: TextEdit; text editor + pair: Windows; operating system How do you create that source file? Using a third software program: an :term:`editor`. However, unlike the compiler and interpreter, this program @@ -197,6 +200,10 @@ Follow these steps: double-click the file, it should open in NotePad so that you can see how it's written, though it probably won't mean much -- yet. +.. Generated by autoindex +.. index:: + single: batch file + 4. ``MyGame1.bat`` is an MS-DOS batch file (an old kind of text-only computer program, from the days before point-and-click interfaces) which runs the Inform compiler. Double-click it; a DOS window opens as the @@ -331,10 +338,18 @@ doing. There are four parts to the first line: off the top of the MS-DOS window. Press the space bar to continue the compilation. +.. Generated by autoindex +.. index:: + pair: Windows; operating system + The second line -- ``pause "at end of compilation"`` -- just prevents the window from closing before you can read its contents, as it otherwise would on Windows NT, 2000 and XP. +.. Generated by autoindex +.. index:: + single: batch file + You'll need to have a new batch file like this to match each new source file which you create. The only item which will differ in the new file is the name of the Inform source file -- ``MyGame1`` in this example. You @@ -346,6 +361,7 @@ can stay the same in each ``.bat`` file that you create. .. Generated by autoindex .. index:: pair: NotePad; text editor + pair: TextPad; text editor Although NotePad is adequate when you're getting started, you'll find life much easier if you obtain a more powerful editor program. We recommend @@ -369,6 +385,10 @@ the small amount of time needed to obtain and configure TextPad. Inform on an Apple Macintosh (running OS X) =========================================== +.. Generated by autoindex +.. index:: + pair: Mac OS X; operating system + Whereas our instructions for using Inform on a PC apply to just about all versions of Windows, on the Macintosh we need to be more precise. Our guidance here is specifically for Mac OS X, rather than for its predecessor @@ -391,6 +411,10 @@ your Mac OS X: run in the Classic environment of OS X; roughly speaking, Classic is an emulation of the older Mac systems. +.. Generated by autoindex +.. index:: + pair: Linux; operating system + * X11: based on a windowing system designed for the UNIX/Linux world. They need an X-Windows server to run, and their appearance and functionality may seem a lot different to what the Aqua user expects. @@ -460,6 +484,10 @@ Follow these steps: * select ``Open with`` and choose ``Other...`` + .. Generated by autoindex + .. index:: + pair: TextEdit; text editor + * in the ``Open with`` dialog, go to the ``Applications`` folder and select TextEdit. @@ -713,6 +741,10 @@ that works really well, please let us know. .. rubric:: More about the editor +.. Generated by autoindex +.. index:: + single: syntax colouring + As well as the ones that we recommend, other good text editors are listed at http://www.firthworks.com/roger/editors/. One feature that's well worth looking out for is "hotkey compilation" -- being able to run the compiler diff --git a/tools/autoindex.cfg b/tools/autoindex.cfg index 3c020d0..8e4d579 100644 --- a/tools/autoindex.cfg +++ b/tools/autoindex.cfg @@ -7,18 +7,28 @@ noindex = :: *$ [keywords] +batch file DOSI IBM PC IF Archive IF Competition Infocom -NotePad = text editor NPC RAIF RGIF Strict mode +syntax colouring TADS +NotePad = text editor +SimpleText = text editor +TextEdit = text editor +TextPad = text editor + +Windows = operating system +Linux = operating system +Mac OS X = operating system + [rolemap] obj = library object const = library constant -- 2.31.1