empserver/info/route.t
Markus Armbruster 4ea4a01fd5 (info, html): Implement.
(all): Depend on info.

Flatten info directory.  This undoes the move to one subdirectory per
chapter, which was done during Empire 2.  The structure doesn't buy us
much, as the info name space is flat, and it complicates makefiles.

Overhaul info.pl:
- It now wants to run in the root of the build tree.
- Information on source files and subjects is now stored in makefiles,
  thus info.pl no longer picks up random junk from the file system.
- Clean up Perl anachronisms, in particular use subroutine arguments and
  results rather than global variables where convenient.
- Change format of diagnostics to the common format used by GNU tools,
  so that Emacs and the like can parse it.
- Catch missing .SA.
- When creating a new subject file, cowardly refuse to overwrite an
  existing file.
- Subject files contain topics sorted by chapter, then by name.  The
  order of chapters used to depend on how Perl sorts hash keys.  Fix
  it.
2005-12-22 10:09:17 +00:00

63 lines
1.6 KiB
Raku

.TH Command ROUTE
.NA route "Display delivery routes"
.LV Expert
.SY "route <ITEM> <SECTS>"
The route command generates a graphic display
of the delivery arrangement
for a specific deliverable item
in a given sector area.
.s1
The <SECTS> argument is as described in \*Qinfo syntax\*U.
<ITEM> is one of the following:
.NF
u uncompensated workers
f food
s shells
g guns (not gold)
p planes
i iron ore
d dust, (gold)
b bars of gold
o oil
l light construction materials
h heavy construction materials
r radioactive materials
.FI
The delivery routes are indicated with \*Qgo-to\*Us
using the following codes, (assuming the sector in question is a mine):
.NF
.sp
m/ up-right (u in census)
m> right (j in census)
m\e down-right (n in census)
/m down-left (b in census)
<m left (g in census)
\em up-left (y in census)
$m$ distribution ($ in census)
<m$ left & distribution (g and $ in census)
etc.
.FI
.sp
An example:
.sp
.EX route f #
.NF
.eo
- - - 0 0 0 0 0 0 0 0 0 0 1 1 1
3 2 1 0 1 2 3 4 5 6 7 8 9 0 1 2
-5 /a$ /a$ /a$ -5
-4 /k <o /g <a$ -4
-3 a> h> \j \a$ + -3
-2 \a$ \a$ $a\ /a$ /a$ -2
-1 /a$ $a\ /a$ b /+ + -1
0 m c u t \i 0
1 \a$ \l \a \a 1
2 a/ \a a/ $a$ 2
- - - 0 0 0 0 0 0 0 0 0 0 1 1 1
3 2 1 0 1 2 3 4 5 6 7 8 9 0 1 2
.ec
.FI
.sp
.s1
.SA "deliver, census, Syntax, Distribution"