; VPPROF.XSU - Crossword Publisher 1.0 Setup file for Xerox Professional Extension ; 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. ; ; This file illustrates one possible way of generating text from a crossword ; for direct importation into Professional Extension as an ASCII text file. ; Print it out and examine it. ; The lines controlling the format of the clues text file are the same as in ; the other setup files, since we assume you will use Ventura Publisher to ; typeset your clues. ; The matrix is generated as a Professional Extension table. Cell tint is used ; to make blank cells black. ; ; 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"; ; String for solved cell - receives number and one letter of solution "%s\t%c"; ; String for number - receives number "<^>%d"; ; String for blank cell - sets tint of cell "<$!B18>"; ; String separating cells ", "; ; String ending row of cells "\n\n"; ; String starting crossword matrix - receives width in cells "@Z_TBL_BEG = COLUMNS(%d), DIMENSION(IN), VGUTTER(.056), BOX(Z_SINGLE), \n" "HGRID(Z_SINGLE), VGRID(Z_SINGLE), KEEP(OFF)\n\n" "@Z_TBL_BODY = "; ; Header row cell text - blank suppresses header row - this is a tag name "CROSSWORD"; ; String ending crossword matrix "@Z_TBL_END = \n\n"; ; 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";