; POSTSCPT.XSU - Crossword Publisher 1.0 Setup file for PostScript ; Copyright (c) 1990, Longridge Software. All rights reserved. ; Author: Richard L. Siddall, 07-OCT-90. ; ; IMPORTANT NOTE: XWP will object if any of these strings is missing, and ; expects them in this order. MODIFY THIS FILE CAREFULLY. KEEP A BACKUP. ; XWP concatenates strings on consecutive lines if the first line does not end ; with a semi-colon or comma. ; ; Although this file purports to be a PostScript output setup file, it actually ; only produces the matrix in PostScript. ; The lines controlling the output of the clues are the same as in the other ; setup files, since we assume you will use Ventura Publisher to typeset the ; clues for you. ; The matrix is printed out as a series of PostScript procedure calls. ; See the manual for details on how to create an encapsulated PostScript file ; from this output. ; ; String starting clues file - receives title and author "@Headline = %s<$M[CROSSWORD]>\n\n" "@Byline = Devised by %s\n\n" "@Section = CLUES ACROSS\n\n"; ; String starting clues down "@Section = CLUES DOWN\n\n"; ; String for each clue - receives number, clue and optional length "@Unindent = %d. %s%s\n\n"; ; String ending clues file "The solution to this crossword will be published in the next issue."; ; String for unsolved cell - receives number "(%s) () xcell"; ; String for solved cell - receives number and one letter of solution "(%s) (%c) xcell"; ; String for number - receives number "%d"; ; String for blank cell "bxcell"; ; String separating cells "\n"; ; String ending row of cells "\n\nnewrow\n"; ; String starting crossword matrix - receives width and height in cells "/width %d def\n/height %d def\n" "2 2 translate\n" "gsave\n" " pat1 0 showpattern\n" "grestore\n" "\n" "xboundary stroke\n" "0 cellheight height 1 sub mul moveto\n" "\n"; ; Header row cell text ""; ; String ending crossword matrix ""; ; String preceeding solution length in clues file " ("; ; String following solution length in clues file ")."; ; String separating parts of solution length in clues file ", "; ; String for "Same as 13 across" clue - receives number and direction of clue "Same as %d %s"; ; String for "Opposite of 13 across" clue - receives number and direction of clue "Opposite of %d %s"; ; String for across in generated clues "across"; ; String for down in generated clues "down";