Atsume converts tsume-go problems in ASCII-format to PostScipt source. It processes one file at a time, and tries to parse each paragraph it encounters as a tsume-go problems. Lines starting with whitespace are assumed to denote the problem itself (i.e. they correspond with a line on the go board), the other lines in a paragraph may contain keywords supplying additional information about the problem - such as which characters are used for white stones and black stones. Atsume puts the tsume-go problems onto a grid the parameters of which can be specified on the command line. Examples are the number of problems across the width of the page and the spacing of the problems. The appearance of the problems itself can also be adjusted on the command line. Parameters include the board linewidth, the border linewidth, the (white) stone outline linewidth, the radius of the stones, and the spacing of the lines. EXAMPLE INPUT FOR ATSUME Atsume is quite permissive about the input. In the following example the same tsume-go problem is specified in four different ways, in increasingly sloppy notation. Beginning of line. | |______________________________________________ | | | | | | | V V V V orientation[tr] ----- ---------- - whitechar[o] .#.O.| . # . O . | #.O.| blackchar[*] .#.O.| . # . O . | #.O. * o .#O..| . # O . . | #O.. * o #.#O.| # . # O . | #.#O. *o ..#O.| . . # O . | #O. * *o ...##| . . . # # | .## *o ..#..| . . # . . | # ** * //////////////////////////////////////////////////////////// Currently atsume expects the following input format. Each paragraph in the file denotes a tsume-go problem. Within each paragraph: + Lines specifying the tsume-go problem must start with whitespace. + Empty spots are denoted by `.', but in most cases it is not necessary to supply them. The case where it *is* necessary is if there is a row or column in the diagram without any stones. If it were left blank, atsume would just ignore it. + Options and parameters can be given using keywords at the beginning of line. Current options are: orientation[X] where X is a string for which the characters are a subset of {b,l,t,r} (bottom left top right), or where X is `c' (center). This is one of the two manners in which the position of the tsume-go problem on the board can be specified. The second manner is by including ascii borders in the problem itself -- see the examples above. whitechar[X] where X is a character. The default is `O'. blackchar[X] where X is a character. The default is `#'.