home *** CD-ROM | disk | FTP | other *** search
/ DTP Toolbox / DTPToolbox.iso / propage4.0 / datalibrary / readme_files / donsgenies / ppagegenies.readme < prev    next >
Encoding:
Text File  |  1992-08-26  |  11.7 KB  |  255 lines

  1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2.    Professional Page Genies by Robin Evans   (R.EVANS6 on GEnie)
  3.  
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6. This archive contains four genies for use with Gold Disk's Professional
  7. Page software version 3.0 or higher. ARexx must be running to take
  8. advantage of the genies in PPage.
  9.  
  10. These genies are offered as what I'll call comment-ware. Use them as you
  11. wish, distribute them as you will (as long as you don't take my name off).
  12. All I ask is that you send a note to me or leave a message in the StarShip
  13. RT with suggestions, complaints, or other matters.
  14.  
  15. Install the genies in the same directory where other PPage #?.pprx files
  16. are located. The Gold Disk installation program puts them in the rexx:
  17. directory, but they can be moved to another location if the value after RX
  18. in the file 's:PPage.ini' is changed to point to the new location.
  19.  
  20. ~~~~~~~~~~~~~~~~~~~~~~~~~
  21. PSPrintInfo
  22.  
  23. This genie will produce a listing of information about a document. The list
  24. includes page size, crop setting, number of color plates, and (what's
  25. usually most important) names of fonts which will be downloaded with the
  26. document along with names of those which should be online at the service
  27. bureau.
  28.  
  29. You will be given a choice of printing the listing or saving it to a disk
  30. file. The second requester presents a list of output resolutions. Select
  31. one to tell your bureau how to print the document.
  32.  
  33. This genie uses information which is recorded by using the genie called
  34. 'EnterPersonalInfo' which included in the PPage 3.0 distribution disk.
  35. Once the the personal data is recorded with that genie, it will be
  36. available whenever PPage is running.
  37.  
  38. PSPrintInfo should be executed after a document has been printed using the
  39. PostScript option. It will not record accurate information for a document
  40. which has not yet been printed -- at least to a disk file.
  41.  
  42. ~~~~~~~~~~~~~~~~~~~~~~~~~
  43. Fraction
  44.  
  45. This genie will convert fractions to superscript and subscript form. The
  46. genie works only when PPage is in edit mode. Highlight a fraction of the
  47. form '1/2' or '99/100' before executing the genie.
  48.  
  49. It's best to use this genie only after text has been entered into the
  50. document because text entered immediately after the fraction, will take on
  51. the attributes of the fractions divisor -- it will shown as a small
  52. subscript font.
  53.  
  54. ~~~~~~~~~~~~~~~~~~~~~~~~~
  55. ChooseDLFont
  56.  
  57. This genie is an aid for those of us who use service bureaus extensively.
  58. It allows the user to choose which fonts used on a page or in a document
  59. will be downloaded. If the genie doesn't find a .psfont file for one of
  60. the fonts chosen, it will provide the option of moving the proper file
  61. from another directory or device. The genie also prevents fonts which you
  62. don't wish to download from being included in a file. It does that by
  63. renaming the file with a "_" in front of the name. (That "_" prefix will
  64. be removed by this genie if you later decide to download the font.)
  65.  
  66. This genie reads the 's:PPage.ini' file to determine the location of PPage
  67. PS files. That's usually 'cgfonts:PS', but may be changed by altering the
  68. value after 'PS' in the '.ini' file.
  69.  
  70. Options:
  71.  
  72. Page/Document listing
  73.    The first requester asks whether you wish to look at a list of all
  74.    fonts used in a document, or only those included on the current page.
  75.    If you choose 'Page' the genie will make sure that other fonts included
  76.    in the document are not downloaded when the page is printed.
  77.  
  78. Pick fonts to download
  79.    The second requester lists each of the fonts used on the page or in the
  80.    document. Highlight the names of all fonts which should be downloaded
  81.    with the file.
  82.  
  83. Fonts not available for DL
  84.    A list of any fonts which could not be found in the PS directory is
  85.    presented after that directory has been searched. If you have some .ps
  86.    files stored on a different disk or in a different directory, choose
  87.    the 'Transfer' option.
  88.  
  89.    After choosing 'Transfer', you will be presented with a PPage file
  90.    requester. Enter the directory path of the extra files. The genie will
  91.    then search that directory and copy any of the matching download files
  92.    to the PS directory.
  93.  
  94.    If there are still more files not available, the process will be
  95.    repeated. This allows you to transfer files from several different
  96.    disks or directories.
  97.  
  98.    Press 'Finished' when you're done with the transfer process.
  99.  
  100.    (Unfortunately, Gold Disk has not yet provided ARexx ports on their
  101.    utility programs, so it isn't possible to call CreateFont from this
  102.    GEnie.)
  103.  
  104. ~~~~~~~~~~~~~~~~~~~~~~~~~
  105. MakeCalendar
  106.  
  107. This is the most complex of the four genies in the archive. It creates a
  108. calendar of any size, using any font, and any colors.
  109.  
  110. The code used to calculate the dates is by Mike Meyer whose 'month.rexx'
  111. was included on early releases of Bill Hawes's ARexx. The same code was
  112. used last year by Marvin Weinstein for a pair of articles in the last two
  113. issues of AW'S Tech Journal (more on that later).
  114.  
  115. Sizing your calendar
  116.    Before executing the GEnie, drag an empty box to the size you want the
  117.    calendar to be. After it is started, the genie will ask you (with a
  118.    message in the PPage titlebar) to click on the box which will hold the
  119.    calendar.
  120.  
  121. Calendar preferences
  122.  
  123.    Month
  124.       You may enter a number from 1 to 12 or characters in this string
  125.       gadget. If you enter characters, you need only enter enough of them
  126.       to uniquely identify the month. Three characters are enough to
  127.       distinguish any month, although three months can be identified with
  128.       just one character and five others with a single character.
  129.  
  130.    Year
  131.       Calendars can be created for any year from 100 through 9999. It's
  132.       possible to truncate the year to just the last two digits for any
  133.       year from 1950 to 1999 or from 2000 to 2050.
  134.  
  135.       The date-making code takes into account the change from Gregorian to
  136.       Julian calendar. It makes the change in 1752, which is when US
  137.       calendars were changed. Other countries made the switch on different
  138.       dates.
  139.  
  140.    Colors
  141.       Colors must be specified for the calendar's TITLE (the month and
  142.       year which appear above the calendar), DATES (the numerals 1 through
  143.       30ish which appear in the calendar itself), and GRID (the lines
  144.       separating the rows and columns representing weeks of the month and
  145.       days of the week).
  146.  
  147.       There are two ways to enter the color value. The exact name of a
  148.       color ('grey 33%', for example -- upper/lowercase doesn't matter)
  149.       may be entered in the text gadget in the large prefs requester, or
  150.       any of those gadgets may be left blank, in which case a list of
  151.       defined colors will be presented for each of the unspecified choices.
  152.  
  153.       The list of available colors will also be presented for any of the
  154.       color options which don't contain the name of an already defined
  155.       color.
  156.  
  157.       Whichever way the colors are chosen, they must have been previously
  158.       defined. That means that 'blue 47%' will not be a valid color unless
  159.       it was created with a PPage color requester before the macro began.
  160.       (Unfortunately, there doesn't yet seem to be a way to call up the
  161.       PPage color requester from a genie.)
  162.  
  163.    Bold
  164.       The title of the calendar and/or the date numerals will be entered
  165.       as bold versions of the specified font by entering 'y' or 'yes'
  166.       after the 'Bold' entries.
  167.  
  168.    Memo fields
  169.       Memo fields are text boxes which can be used to enter text into a
  170.       date's box on the calendar.
  171.  
  172.       Although I haven't at this point provided any way to enter data into
  173.       the fields short of clicking on each box and entering the text in
  174.       the normal way, each box is named with the day of the week, the
  175.       month, and the date. For example, a memo field box might have the
  176.       name 'Sat Aug 22'. That allows for access to the calendar's memo
  177.       fields from another genie which might add info to a calendar.
  178.  
  179.    Small font
  180.       When using memo fields it's usually a good idea to use a smaller
  181.       than normal font, since text in the memo field will be set up to
  182.       begin below the date's numeral. This field tells the genie to
  183.       calculate a small font for the calendar.
  184.  
  185. Fonts
  186.    A standard PPage font requester is used to specify the font to be used
  187.    for the date numerals (the same font will be used for the title) and
  188.    a font for the memo fields.
  189.  
  190. Once the requesters have been satisfied, the genie will go to work. It
  191. will indicate its progress with occasional messages in the PPage titlebar
  192. and with that screen flashing with which we've become so familiar.
  193.  
  194. Among other things, the genie will calculate the largest font that will
  195. fit in the defined space (unless the 'Small font' option is chosen).
  196. That's where the greatest problem arises. As near as I can tell, there's
  197. no way with the current version of PPage to determine the width of a
  198. string of text in a certain font. That made it difficult to set up size
  199. and spacing values which will work with any font. I used a compromise
  200. method which works well with most fonts and adequately with all that I've
  201. tried.
  202.  
  203. ~~~~~~~~~~~~~~~~~~~~
  204. Editing a calendar
  205.  
  206. If the spacing of the numerals isn't quite right, the best way to fix that
  207. is simply to change the left margin on the box which contains the date
  208. numerals.
  209.  
  210. I've noticed a spacing problem with single-digit numbers on a couple of
  211. public domain and translated fonts. (They're all decorative fonts which
  212. one would be well advised to avoid on a calendar.) The value of the space
  213. in some of these fonts seems to be larger than normal. That will make the
  214. single-digit numbers appear out of place. In order to justify the single
  215. digits, each of the numbers is actually entered as a thin space + soft
  216. space + character (that's '\T n' where 'n' is the number). The soft space
  217. may have to be replaced by hand on some of the PD fonts even though it
  218. works well with all the Gold Disk fonts I've tried.
  219.  
  220. Another oddity which may be observed when editing one of the calendars
  221. created with this genie crops up in the box which contains the title. If
  222. that line needs to be edited it's best to transfer the text first to the
  223. Article Editor. In that box, the month is left-justified and the year is
  224. right-justified -- apparently on the same line. It's actually two lines of
  225. text, though, with negative leading equal to the size of the font. That
  226. negative leading makes it difficult to do any on-screen editing.
  227.  
  228. ~~~~~~~~~~~~~~~~~~~~
  229. One final note about directions others may wish to go with this genie:
  230.  
  231. I mentioned above that it would be possible to fill in memo fields with
  232. input from another program. One good candidate for an off-line entry
  233. program would be the date-book program by Marvin Weinstein which appears
  234. in Volume 2, Numbers 1 and 2 of AmigaWorld's late (and lamented) Tech
  235. Journal. Any other date-book program with a good ARexx interface could
  236. also be used. There are a number of ways to implement such a connection.
  237. However it's done, though, the box names of the memo fields would have to
  238. be collected on the PPage side. Those names can tell the data-entry
  239. program where the data should be stored.
  240.  
  241. The connection (dare we call it a link?) could even be implemented as a
  242. very-warm-tying-together of the programs. As long as the PPage genie
  243. understands the file format of the input program, it's a minor matter to
  244. add a field which would indicate when information for a date has been
  245. changed.
  246.  
  247. Representatives of a certain software company (one which hasn't yet gotten
  248. around to supporting this vital feature of the new OS with an ARexx
  249. interface on their programs) insist that ARexx couldn't possibly provide
  250. anything close to publish-and-subscribe abilities on the Amiga. Such
  251. statements indicate more about their lack of understanding (or marketing
  252. blindness) of ARexx than they do about the utility of this feature of the
  253. Amiga.
  254.  
  255.