empserver/info
Markus Armbruster fef643031c info/Empire4.3: Work around "nroff: Out of temp file space"
Solaris 10's nroff can't deal with the lengthy .NF ... .FI: it
complains, writes truncated output, and terminates
successfully (*boggle*).  Split the .NF ... .FI in two.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-23 07:08:21 +01:00
..
accept.t Remove option TREATIES 2014-02-16 11:44:14 +01:00
add.t Rename add argument "new" to "player" 2011-12-29 11:47:05 +01:00
announce.t Slight info markup normalization 2009-12-05 15:19:37 +01:00
anti.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
apropos.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
arm.t Add commands related to nukes to Subject Nukes. 2006-06-24 22:36:42 +00:00
army.t
assault.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
attack.t
Attacking.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
Basics.t Use all-caps for a few acronyms and for "OK" 2017-08-07 10:08:31 +02:00
bdes.t Fix info bdes on funny designation arguments 2012-06-11 17:02:15 +02:00
bestpath.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
Blank.awk Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
bmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
board.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
bomb.t Limit nukes to strategic missions 2009-12-13 07:46:00 +01:00
break.t break: Honor new designation of sanctuaries 2013-06-08 13:36:32 +02:00
Bridges.t Clean up extra headline in info Bridges 2011-04-18 19:17:12 +02:00
BTU.t Limit BTU production to 1000 civilians instead of 999 2008-06-15 08:49:26 +02:00
budget.t Make budget's "Sector building" line look better 2009-07-19 13:58:47 -04:00
Bugs.t trade: Don't increase negative mobility to zero on trade 2017-08-12 08:07:44 +02:00
build.t config: Make work to build units independently configurable 2017-08-06 14:04:32 +02:00
buy.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
bye.t
capital.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
cargo.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
census.t Add missing land units to discussion of avail usages. 2006-06-25 11:53:29 +00:00
Chainsaw.t info: Improve .NA and first paragraph of change log pages 2017-08-12 08:07:44 +02:00
change.t
Citizens.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
coastwatch.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
collect.t collect: Don't permit confiscation of active capital 2017-08-06 19:59:59 +02:00
commodity.t
consider.t Remove option TREATIES 2014-02-16 11:44:14 +01:00
convert.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
country.t
CRT.MAC Don't .ds <= and >=, use \(<= and \)>= directly 2011-04-17 17:52:31 +02:00
cutoff.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
Damage.t Correct spelling as one word and as two words 2017-08-07 10:08:31 +02:00
declare.t Remove option SLOW_WAR 2011-02-13 15:59:49 +01:00
deliver.t update: Delivery abandons sectors incorrectly, fix it not to 2017-08-06 20:09:17 +02:00
demobilize.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
designate.t designate: Drop support for designate costing money 2017-08-06 19:59:58 +02:00
disable.t New command show updates: 2007-07-15 13:34:22 +00:00
disarm.t
distribute.t subs/control: Grant bonus for capability security 2017-08-06 20:09:20 +02:00
drop.t Make drop require capability cargo 2009-12-08 08:15:51 +01:00
dump.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
echo.t
edit.t edit: Implement edit nuke 2014-01-02 14:33:48 +01:00
Education.t
emp2html.pl Update copyright notice 2021-01-05 10:41:28 +01:00
Empire2.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
Empire3.t info: Trim .SA of change log pages to just "Server" 2017-08-12 08:10:17 +02:00
Empire4.0.t info: Split Empire4 into Empire4.0, Empire4.2, Empire4.3 2017-08-12 09:32:00 +02:00
Empire4.2.t Drop a a few accidentally repeated words 2017-08-12 09:32:01 +02:00
Empire4.3.t info/Empire4.3: Work around "nroff: Out of temp file space" 2021-01-23 07:08:21 +01:00
Empire4.4.t info/Empire4.4: Fix more 4.4.0 change log entry typos 2021-01-19 08:56:38 +01:00
enable.t New command show updates: 2007-07-15 13:34:22 +00:00
enlist.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
execute.t Document restrictions. Warn of common client bugs. 2007-12-09 17:42:12 +00:00
Expert.t
explore.t Update description for map command. 2006-07-12 23:41:42 +00:00
Fallout.t Add commands related to nukes to Subject Nukes. 2006-06-24 22:36:42 +00:00
financial.t Drop trailing space in output of financial 2013-05-08 06:57:57 +02:00
fire.t info: Fix option NOMOBCOST misinformation 2015-12-05 12:41:15 +01:00
Flak.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
flash.t Don't advertize ^D as means to end a telegram 2009-03-22 09:52:06 +01:00
fleetadd.t
fly.t Clarify flying command info pages on plane selection 2009-12-08 08:15:51 +01:00
Food.t Don't use automatic supply to avoid starvation at the update 2009-02-15 12:51:05 +01:00
force.t (relo): New command. 2007-07-13 06:04:03 +00:00
fortify.t Remove option FUEL 2008-05-12 09:25:20 +02:00
give.t info/edit info/give: Add see also swapsector 2013-06-08 13:36:57 +02:00
God.t
grind.t anti, give, grind take <SECTS> argument, fix their documentation 2013-01-12 17:56:26 +01:00
Guerrilla.t Drop a a few accidentally repeated words 2017-08-12 09:32:01 +02:00
Guide.t Update copyright notice 2018-04-29 10:33:19 +02:00
Happiness.t
harden.t Add commands related to nukes to Subject Nukes. 2006-06-24 22:36:42 +00:00
headlines.t
help.t
Hidden.t (repo_header, repo_list): HIDDEN used to suppress column status. 2006-01-05 15:36:49 +00:00
Hints.t
History.t info: Update change log for 4.4.0 2017-08-12 09:35:55 +02:00
Hitchance.t Use all-caps for a few acronyms and for "OK" 2017-08-07 10:08:31 +02:00
improve.t
INFO.MAC Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
info.t
Infrastructure.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
Innards.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
Interception.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
Item-types.t collect: Derive collection value from power value 2017-08-06 19:59:59 +02:00
Kill.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
Land-units.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
land.t info: Belatedly update for change of stop prefix to '!' 2015-12-05 12:41:16 +01:00
launch.t Use all-caps for a few acronyms and for "OK" 2017-08-07 10:08:31 +02:00
lbmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
lboard.t
lcargo.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
ldump.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
ledger.t
level.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
list.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
lload.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
llookout.t
lmap.t Clean up map info pages a bit 2011-04-14 20:21:22 +02:00
lmine.t Clean up info lmine a bit 2009-02-17 19:30:34 +01:00
load.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
lookout.t Spell BTU and ETU consistently 2017-08-07 10:08:31 +02:00
lost.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
lradar.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
lretreat.t info/retreat info/lretreat: Fix truncated glossary list items 2017-09-03 11:11:50 +02:00
ls2html.pl Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
lstat.t
ltend.t Don't suggest only supply ships can tend in info tend and ltend 2009-02-17 19:30:35 +01:00
lunload.t
Maintenance.t Units no longer die from lack of maintenance 2011-07-10 21:08:50 +02:00
map.t Clean up map info pages a bit 2011-04-14 20:21:22 +02:00
march.t info/march: Correct and clarify 2015-02-28 16:13:15 +01:00
market.t
Merc.t info: Improve .NA and first paragraph of change log pages 2017-08-12 08:07:44 +02:00
mine.t Fix info build, mine, navigate, sweep on mines 2009-03-31 23:03:41 +02:00
mission.t info/mission: Correct land unit missile interdiction limit 2015-02-28 16:13:15 +01:00
mksubj.pl Update copyright notice 2021-01-05 10:41:28 +01:00
mktop.pl Update copyright notice 2021-01-05 10:41:28 +01:00
Mobility.t info/Mobility: Belatedly remove security unit mobility use 2017-08-07 10:08:31 +02:00
morale.t Clean up land unit retreat chance and fix its documentation 2013-05-08 06:55:19 +02:00
motd.t
move.t subs/control: Grant bonus for capability security 2017-08-06 20:09:20 +02:00
Moving.t Spell ID and UID consistently all-caps 2017-08-12 08:07:44 +02:00
name.t
nation.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
navigate.t info/navigate: Correct and clarify 2015-02-28 16:13:15 +01:00
nbmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
ndump.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
newcap.t Make newcap's second argument mandatory 2008-03-26 22:10:29 +01:00
neweff.t
newspaper.t info torpedo: Say "torpedo", not "torp" 2015-03-02 08:20:49 +01:00
nmap.t Clean up map info pages a bit 2011-04-14 20:21:22 +02:00
Novice.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
Nuke-types.t info/Nuke-types: Document show columns avail, res, abilities 2015-12-05 12:41:16 +01:00
nuke.t info: Belatedly update for change of stop prefix to '!' 2015-12-05 12:41:16 +01:00
offer.t Remove option TREATIES 2014-02-16 11:44:14 +01:00
Old-empire.t info: Trim .SA of change log pages to just "Server" 2017-08-12 08:10:17 +02:00
Options.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
origin.t (orig): Allow moving origin to another country's origin. This is a 2006-01-04 14:36:21 +00:00
Overview.t info: Consistently spell Empire 2, 3 and 4 with a space 2017-08-12 08:27:50 +02:00
paradrop.t Clarify flying command info pages on plane selection 2009-12-08 08:15:51 +01:00
path.t Trim .SA. 2007-12-02 16:49:04 +00:00
payoff.t Remove option TRADESHIPS, customize table ship-chr instead 2011-06-25 16:52:08 +02:00
pbmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
pboard.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
pdump.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
peek.t
Plague.t Pilots and air cargo now spread the plague 2012-07-13 20:15:33 +02:00
Plane-types.t info/Plane-types: Document helo takeoff/landing in mountains 2017-08-12 08:07:44 +02:00
plane.t info: Belatedly update for change of stop prefix to '!' 2015-12-05 12:41:16 +01:00
players.t
pmap.t Clean up map info pages a bit 2011-04-14 20:21:22 +02:00
power.t power: Include sector maximum population in power factor 2017-08-06 19:59:58 +02:00
pray.t Make info pray point to version (for e-mail) and flash 2011-04-16 15:53:01 +02:00
production.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
Products.t Fix "info Products" on how to query sector type p.e. 2013-05-08 06:57:58 +02:00
pstat.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
Quick-ref.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
quit.t
radar.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
Railroad.t Info markup fixes 2009-12-05 15:19:37 +01:00
range.t
read.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
README tests/README: Cover info.ps and document .NA use for commands 2015-03-08 12:44:02 +01:00
realm.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
recon.t Clarify flying command info pages on plane selection 2009-12-08 08:15:51 +01:00
reject.t Remove option TREATIES 2014-02-16 11:44:14 +01:00
relations.t Use all-caps for a few acronyms and for "OK" 2017-08-07 10:08:31 +02:00
reload.t (relo): New command. 2007-07-13 06:04:03 +00:00
repay.t
report.t
Research.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
reset.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
resource.t Don't claim which resources are renewable and which aren't, because 2006-07-11 18:52:26 +00:00
retreat.t info/retreat info/lretreat: Fix truncated glossary list items 2017-09-03 11:11:50 +02:00
route.t Document delivery of civilians and military 2008-06-02 07:02:26 +02:00
sabotage.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
satellite.t
sbmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
scrap.t Spell harbor consistently 2017-08-07 10:08:31 +02:00
scuttle.t Remove option TRADESHIPS, customize table ship-chr instead 2011-06-25 16:52:08 +02:00
sdump.t info/Clients: Outdated and misleading, delete 2017-08-12 08:27:44 +02:00
sect.t Clean up info sect on highlighting 2012-02-21 18:12:23 +01:00
Sector-ownership.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
Sector-types.t production: Use update code instead of duplicating it 2017-08-06 20:08:29 +02:00
Selector.t Spell ID and UID consistently all-caps 2017-08-12 08:07:44 +02:00
sell.t Fix info sell on second argument 2011-12-29 11:47:04 +01:00
set.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
setresource.t setsector setresource: Mark as obsolete 2013-06-06 19:59:30 +02:00
setsector.t setsector setresource: Mark as obsolete 2013-06-06 19:59:30 +02:00
sharebmap.t Clean up bmap commands' flags argument 2011-04-14 20:21:22 +02:00
shark.t Spelling corrections 2017-08-07 10:08:31 +02:00
Sheep.t
Ship-types.t info/Ship-types: Belatedly remove capability spy 2015-12-05 12:41:16 +01:00
ship.t info: Belatedly update for change of stop prefix to '!' 2015-12-05 12:41:16 +01:00
shoot.t
show.t info/show: Update example to current output 2014-01-06 20:50:03 +01:00
shutdown.t Abstract from shutdown initiation mechanism: 2007-01-20 20:40:52 +00:00
sinfrastructure.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
skywatch.t
smap.t Clean up map info pages a bit 2011-04-14 20:21:22 +02:00
sonar.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
Spies.t assault: Don't send spies into combat 2017-08-06 20:09:19 +02:00
spy.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
sstat.t
start.t Change level to Expert to match stop's. 2006-07-14 23:07:22 +00:00
starvation.t Don't use automatic supply to avoid starvation at the update 2009-02-15 12:51:05 +01:00
stockpile.t stockpile: New command, counterpart of fleetadd, wingadd, army 2014-01-02 14:33:48 +01:00
stop.t Stop ships, planes, land units and nukes on violent takeover 2008-09-15 19:40:44 -04:00
strength.t
subjects.mk Declare subjects instead of picking them up automatically 2013-05-08 06:57:57 +02:00
Suggestions.t Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
supply.t Fix a few inaccuracies in info supply 2009-02-17 19:32:14 +01:00
survey.t (info, html): Implement. 2005-12-22 10:09:17 +00:00
swapsector.t setsector setresource: Mark as obsolete 2013-06-06 19:59:30 +02:00
sweep.t Make sweep require capability sweep 2009-12-08 08:15:51 +01:00
Syntax.t Slight info markup normalization 2009-12-05 15:19:37 +01:00
Taxes.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
Technology.t Don't capitalize words in the middle of sentences 2010-05-24 18:23:32 +02:00
telegram.t Drop a a few accidentally repeated words 2017-08-12 09:32:01 +02:00
tend.t Don't suggest only supply ships can tend in info tend and ltend 2009-02-17 19:30:35 +01:00
territory.t info/territory: Drop the "id" from "territory id number" 2017-08-12 08:07:44 +02:00
test.t Add command test to info subject Transportation 2008-05-15 19:41:32 +02:00
threshold.t
Time.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
toggle.t
torpedo.t info/fire info/torpedo: Purge references to option MULTIFIRE 2015-03-02 08:20:53 +01:00
Trade-ships.t Spell harbor consistently 2017-08-07 10:08:31 +02:00
trade.t Document that nukes can be traded 2008-04-15 20:56:07 +02:00
transport.t Tweak info on movement commands' map drawing sub-commands 2011-04-14 20:21:22 +02:00
TROFF.MAC Don't .ds <= and >=, use \(<= and \)>= directly 2011-04-17 17:52:31 +02:00
turn.t Clarify info turn: turn off doesn't disable updates 2011-04-17 17:52:31 +02:00
Unit-types.t Revert "Don't let trains load trains" 2021-01-05 07:25:18 +01:00
unload.t Spell harbor consistently 2017-08-07 10:08:31 +02:00
Update-sequence.t info/Update-sequence: Explicitly document prepare order 2017-09-01 20:17:15 +02:00
update.t Replace .SA Obsolete by .LV Obsolete 2013-05-08 06:57:56 +02:00
upgrade.t
version.t Update copyright notice 2021-01-05 10:41:28 +01:00
wall.t Don't advertize ^D as means to end a telegram 2009-03-22 09:52:06 +01:00
wingadd.t
wipe.t Spell the plural of an acronym consistently without apostrophe 2017-08-12 07:59:26 +02:00
wire.t Fix trailing whitespace 2008-09-17 21:31:40 -04:00
work.t
xdump.t info/xdump: Update advice on xdump evolution 2017-08-12 09:32:01 +02:00
zdone.t Swap zdone's deity arguments 2008-07-25 08:16:38 -04:00

        --- How to build the info pages ---

Make remakes info pages, table of contents and index automatically.
This requires Perl 5 and troff.  To remake just formatted info pages,
run make info.

To make HTML info, run make html.  This is not done by default.  The
recommended start page is TOP.html, but you may also like all.html.

To make a single PostScript file for printing, run make info.ps.  This
is not done by default.  The result is currently quite ugly.


        --- How to add a new info page ---

To create a new info page, follow these steps:

1.  Decide which chapter to put your info page in:
      Commands     - Empire Commands
      Concepts     - Game concepts
      Introduction - General info about playing Empire
      Server       - Info about the server

2.  Decide what to call your info page:
    - If it's an Empire command, give it the same name as the command
      as listed in lib/player/empmod.c
    - Info names are case-insensitive.  Make sure there isn't another
      one that differs only in case.
    - Make sure your info page doesn't have the same name as an existing
      subject or chapter.

3.  Format your info page.

The file name for a page NAME must be NAME.t.  It's easiest to start
with an existing file.

The first line must be a title header:
.TH arg1 arg2
  - arg1 should be the chapter, one of: Command, Concept,
    Introduction, Server
  - arg2 is the title of your page.  If it contains more than one
    word, make sure it's in double quotes
  - if the info page is for an Empire command, then arg2 must be the
    command name in ALL UPPERCASE.

The second line must be a name header:
.NA arg1 arg2
  - arg1 must be the name
  - if the info page is for an Empire command, then arg2 must be the
    exact command name
  - arg2 is a one-line description of the info page which will be put
    on the subject pages that your info page belongs to.  It should be
    in double quotes

The third line must be a level header:
.LV arg
  - arg must be a level, one of Basic, Expert, Obsolete

The last line should be a see also:
.SA "item1, item2, ..., subject1, subject2"
  - the stuff in quotes is a list of other info pages which are
    related to this page, and subjects to which this page belongs.
  - the stuff in quotes must all be on the same line
  - You must include at least one subject in the list (at the end of
    the list by convention).  Valid subjects are listed in
    info/subjects.mk.

The lines in between can contain troff requests.  The following
additional requests are available:

Empire command syntax:
.SY "command <ARGS>"

An Empire command example:
.EX "command args"

No Formatting:
.NF
this stuff
won't be formatted
.FI

Begin paragraph:
.s1

Item in a description:
.L

Fancy troff magic is prone to break HTML output.

4. Format your info page, update table of contents and index
  Run make info html.  If it fails, peruse the error messages and fix
  your info page.  Run tests/info-test for additional consistency
  checking.


==APPENDIX A  -  What exactly the Perl scripts do==

The scripts read all of the info pages and create a two-level table of
contents for them, organized by subject.  An info page belongs to a
subject if that subject appears as an entry in the .SA ("SEE ALSO")
field of the info page.

The output of these scripts is a bunch of .t files.  The file TOP.t is
the top-level table of contents and lists all of the subjects.  Then
for each SUBJECT, a SUBJECT.t file is created, listing all of the info
pages that belong to it.