home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff372.lzh / Magnetic_Pages / Editor / Editor.docs < prev    next >
Text File  |  1990-10-08  |  24KB  |  469 lines

  1.               M A G N E T I C  P A G E S: Editor (V1.0)
  2.              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. Introduction:
  5.     The Editor is the largest and most complex part of Magnetic Pages. With
  6. it you create the articles for your magazine. Each article can contain up to
  7. 100 pages. You use the editor to create you page layouts, import your text,
  8. graphics, sound and music and put them all together. Note that you must
  9. import your text, graphics, etc. The Editor is not a word processor or a
  10. paint program. You must write you articles on a word processor, save them
  11. as text files and them load them into the Editor. The same is true for
  12. any graphics, sound or music you want to use. You must have already created
  13. it with the appropriate program and then import it into the Editor.
  14.     There are two page types available. The most common is called the
  15. 'text page'. It's called a text page because it can contain text as well as
  16. graphics. A 'text page' is displayed on an 8 or 16 colour non-interlaced
  17. hires display. (ie 640*256 pixels PAL, or 640*200 pixels NTSC). Most pages
  18. should only need 8 colours, but some graphics look better if you use 16
  19. colours. Just remember that when you are using a 16 colour screen your
  20. articles will use more memory (to display and store) and will be
  21. slower to display. A text page is made up of a series of boxes defined by
  22. the user. On a text page you can create two types of boxes. Text
  23. boxes and Graphics boxes. Text boxes are used to display text and Graphics
  24. boxes are used to display pictures. All boxes can be set up to allow the
  25. reader to branch to different sections in the magazine by clicking on them.
  26. They can also be used to play a piece of sound or music when the user
  27. clicks on them. When a box is clicked on by a user the box works like a
  28. push button. A graphics box may have up to 30 frames of animation instead
  29. of the push button effect.
  30.     A 'graphics page' is a lot simpler than a text page. Its primary use
  31. is to display pictures that use different screen modes from that used by a
  32. 'text page'. For example you can display HAM (Hold & Modify), Extra
  33. Half-Brite, Lo-Res 32 colours, etc. A 'graphics page' contains no boxes at
  34.  all.
  35.     In addition to the sound/music that can be played by clicking on a box
  36. you can set up a page so that as soon as the page is displayed a specific
  37. sound or score will start playing.
  38.  
  39.  
  40. Running the Editor
  41. ~~~~~~~~~~~~~~~~~~
  42.     The Editor will run on a standard 512k machine. However, the more
  43. memory you have the better. If you have enough memory, it is very convenient
  44. to run a word-processor and a paint program at the same time. The Editor can
  45. be run from the workbench or the CLI. If you run the Editor from the CLI,
  46. make sure you have a stack size of at least 10k.
  47.  
  48.  
  49. Editor Functions
  50. ~~~~~~~~~~~~~~~~
  51.     The following is a description of the menu commands available in the
  52. editor. All action is carried out using menus and their associated
  53. requesters. Many of the menu commands have keyboard equivalents. I recommend
  54. you use these instead of the menus once you are familiar with the commands.
  55.  
  56. PROJECT
  57.  
  58. About        - Displays a window with information about the program.
  59.  
  60. New Article  - Allows the user to start a new article. A requester will
  61.                allow the user to cancel this command, as the previous
  62.                article will be erased.
  63.  
  64. Load Article - Load a previously saved article. Note that any current
  65.                article will be erased by the article loaded. Also at this
  66.                point I find all floppy disk access is speeded up by moving
  67.                the workbench screen to the front. This is becuase the
  68.                editor uses a 16 colour hires screen, which slows down DMA
  69.                activities.
  70.                Compressed articles will be decrunched automatically (see
  71.                Save Article below).
  72.  
  73. Save Article - Save an article to disk. Just enter the file name you want
  74.                the article saved as. Note that once an article has been
  75.                saved, you may compress it using Power Packer. This saves
  76.                disk space and reduces load time. When you are in Power
  77.                Packer, make sure you set the file type to 'Data File'.
  78.                Don't bother using the crunched article if it crunches to
  79.                less than a 30% saving.
  80.  
  81. Load IFF Pic - Use this command to load any graphics you want to use. Note
  82.                the picture must be saved as an IFF file. Brushes and
  83.                pictures are treated no differently. I recommend you use
  84.                DPaint III for creating icons, etc. Other useful programs
  85.                are PixMate (especially good for colour manipulation)
  86.                and PhotoLab (good for reducing the number of colours in a
  87.                picture).
  88.  
  89. Load Text   -  Allows you to load the text for your article. The text file
  90.                must be in ASCII format. It may also have ANSI control
  91.                sequences imbedded to allow you to change the text mode and
  92.                colour. Note that if you are using a word-processor to
  93.                write your article you must save the text as 'TEXT ONLY'.
  94.                You only load one text file per article. The text will flow
  95.                automatically from the 1st 'text box' to the next and from
  96.                page to page. The text is NOT truncated to fit in the number
  97.                of pages you have created. Therefore as you create more
  98.                pages and 'text boxes' more of the text will be displayed.
  99.  
  100.                     The following ANSI control codes are supported.
  101.                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  102.  
  103.                 ESC [0m  - Resets text to default colour and plain style
  104.                 ESC [3m  - Italics On
  105.                 ESC [23m - Italics Off
  106.                 ESC [4m  - Underline On
  107.                 ESC [24m - Underline Off
  108.                 ESC [1m  - Boldface On
  109.                 ESC [22m - Boldface Off
  110.                 ESC [3nm - Set foreground colour (where n = 0 - 9)
  111.                 ESC [4nm - Set background colour (where n = 0 - 9)
  112.                 ESC [6"m - Shadow On    { Note: Normal ANSI uses 6"Z
  113.                 ESC [5"m - Shadow Off     and 5"Z for Shadow control. }
  114.  
  115.                 ESC = Ascii code 27 and appears as an inverse left square
  116.                       bracket. There should be no space between ESC and the
  117.                       [.
  118.  
  119.                 It is also possible to combine several commands in the same
  120.                 escape sequence by seperating them using semicolons.
  121.                 eg. ESC[3;4;35m - Turns on Italics, Underline and sets the
  122.                                   foreground text pen to 5.
  123.  
  124. Save Text   - Allows you to save your article text as an ASCII file for
  125.               re-editing. This allows you to load in some text, perform
  126.               some text manipulation commands (eg Re-Format, Justify, etc)
  127.               and then save the result so can do other editing from
  128.               within your text editor or word-processor.
  129.  
  130. Load Sound  - Allows you to load in digitized sound. This sound can be
  131.               stored as an IFF sound file or as a RAW file of data.
  132.  
  133. Load Music  - Allows you to load a Soundtracker music module. The module
  134.               must have been saved using Soundtracker V2.3 or above.
  135.               Note it must be a module and not just a song file.
  136.               The Editor does not check to see if the file you have loaded
  137.               is a valid Soundtracker module. This means if you load any
  138.               old file and try to play it, you may cause a system crash.
  139.  
  140. Remove IFF Pic - Allows you to discard a picture you have loaded but are
  141.               not going to use in the article. Note that even if you don't
  142.               use a picture in the article, it will still be saved as part
  143.               of the article.
  144.  
  145. Remove Sound - Same as Remove IFF pic except it removes a sound.
  146.  
  147. Remove Music - Same as Remove IFF pic except it removes a music module.
  148.  
  149. Quit        - Exit the Editor here.
  150.  
  151.  
  152. PAGE
  153.  
  154. New         - Creates a new page. This displays a requester which allows
  155.               you to define your page. This requester is also displayed when
  156.               you first run the Editor.
  157.  
  158.               Requester Fields:
  159.  
  160.                 Page Title: Title that appears in the title bar at the top
  161.                             of a page. This doesn't appear on a 'graphics
  162.                             page' so you should clear it. Click in the box
  163.                             to change the title. Note it is only displayed
  164.                             by the Displayer and not the Editor.
  165.  
  166.                 Page Type:  'Text' or 'Graphics'. Note if you specify a
  167.                             graphics page you must specify a picture to
  168.                             display before you save the article.
  169.  
  170.                 Colours:    Choose an 8 or 16 colour screen for you 'text
  171.                             page'. It has no effect on a 'graphics page'.
  172.  
  173.                 Page Colour: Use the + and - gadgets to select the pen
  174.                             you are going to use as the page colour.
  175.  
  176.                 Initial Sound: Use the + and - gadgets to select the
  177.                             sound to play as soon as the page is displayed.
  178.  
  179.                 Initial Music: Use the + and - gadgets to select the
  180.                             music to play as soon as the page is displayed.
  181.                             Note that you can only have sound or music
  182.                             played when the page is turned, not both.
  183.  
  184.                 IFF Picture to Display: Use the + and - gadgets to select
  185.                             the picture to be displayed. This is only used
  186.                             for a 'graphics page' to select the picture to
  187.                             be displayed.
  188.  
  189. Clear       - Deletes all the boxes on a page. Has no effect on the text.
  190.  
  191. Copy        - Allows you to make a copy of the current page. If the 'to
  192.               page' is greater than the number of pages in the article
  193.               it is tacked on the end, or if it's less than 1 it is put
  194.               at the start.
  195.  
  196. Move        - Similar to Copy except the current page is moved to the
  197.               specified position. Note that the text is not moved with it.
  198.  
  199. Edit        - Allows you to edit the page characteristics. See PAGE New for
  200.               more information.
  201.  
  202. Delete      - Deletes the page and all associated boxes. Has no effect on
  203.               the text.
  204.  
  205. BOX
  206.  
  207. New Text    - Creates a new 'Text Box'. Brings up a requester allowing you
  208.               to edit the box characteristics.
  209.  
  210.               Requester Fields:
  211.                    Text
  212.                 Left, Top     - Left and Top edge co-ordinates of the box.
  213.                 Columns, Rows - Number of Columns and Rows of text in the
  214.                                 Box.
  215.                 Text Colour 1 - The colour of the actual text.
  216.                 Text Colour 2 - The colour behind the text or if the text
  217.                                 is in shadow mode the colour of the text
  218.                                 shadow.
  219.  
  220.                    Border
  221.                 Width, Height - Width, Height of box border in pixels.
  222.                 Colour        - Actually this is the colour of the box.
  223.  
  224.                 Special       - Standard - This box is for displaying text
  225.                                            only. It cannot be clicked on.
  226.                                 Play Sound - If at least 1 sound has been
  227.                                              loaded then this option will
  228.                                              appear. Will play the sound
  229.                                              selected below when the reader
  230.                                              clicks on the box.
  231.                                 Play Music - Same as play sound but plays
  232.                                              music instead.
  233.                                 Go to Page - When clicked on by the reader
  234.                                              they will be taken to the
  235.                                              article specified in the
  236.                                              'Go to Page ?' field below.
  237.  
  238.                   Shadow
  239.                 XOff          - Offset of bottom shadow component from
  240.                                 the left edge of the box.
  241.                 YOff          - Offset of right shadow component from
  242.                                 the top edge of the box.
  243.                 Width         - Width of the right shadow component.
  244.                 Height        - Height of the bottom shadow component.
  245.                 Colour        - Shadow colour.
  246.  
  247.                 Go to Page ?  - the AmigaDos path and filename of the
  248.                                 article to be loaded when the user clicks
  249.                                 on the box. You must have selected
  250.                                 'Go to Page' in the 'Special' gadget or it
  251.                                 will be ignored.
  252.  
  253.                 Sound         - Sound to be played when the box is
  254.                                 clicked by the user.
  255.                                 You must have selected 'Play Sound' in the
  256.                                 special gadget or this field will be
  257.                                 ignored.
  258.  
  259.                 Music         - Music to be played when the box is
  260.                                 clicked by the user.
  261.                                 You must have selected 'Play Music' in the
  262.                                 special gadget or this field will be
  263.                                 ignored.
  264.  
  265.  
  266. New Picture  - Creates a new 'Picture Box'. Brings up a requester allowing
  267.               you to edit the box characteristics. You must have loaded at
  268.               least 1 IFF picture for this command to work.
  269.  
  270.               Requester Fields:
  271.                    Text
  272.                 Left, Top     - Left and Top edge co-ordinates of the box.
  273.                 Width, Height - The width and height of the picture. You
  274.                                 cannot change this.
  275.  
  276.                    Border
  277.                 Width, Height - Width, Height of box border in pixels.
  278.                 Colour        - Border colour around the picture.
  279.  
  280.                 Special       - Standard - This box is for displaying text
  281.                                            only. It cannot be clicked on.
  282.                                 Play Sound - If at least 1 sound has been
  283.                                              loaded then this option will
  284.                                              appear. Will play the sound
  285.                                              selected below when the reader
  286.                                              clicks on the box.
  287.                                 Play Music - Same as play sound but plays
  288.                                              music instead.
  289.                                 Go to Page - When clicked on by the reader
  290.                                              they will be taken to the
  291.                                              article specified in the
  292.                                              'Go to Page ?' field below.
  293.  
  294.                   Shadow
  295.                 XOff          - Offset of bottom shadow component from
  296.                                 the left edge of the box.
  297.                 YOff          - Offset of right shadow component from
  298.                                 the top edge of the box.
  299.                 Width         - Width of the right shadow component.
  300.                 Height        - Height of the bottom shadow component.
  301.                 Colour        - Shadow colour.
  302.  
  303.                   Animate
  304.                 PUSH/FRAME    - Gadget to toggle between a standard
  305.                                 push button box and a box with several
  306.                                 frames of animation.
  307.  
  308.                 Frames        - Number of frames of animation. Select
  309.                                 between 1 and 30.
  310.  
  311.                 Speed         - Number of 1/60ths of a second between
  312.                                 frames.
  313.  
  314.                 Picture       - Select the picture for the box or
  315.                                 current frame of animation.
  316.  
  317.                 Next/Prev Frame - Move to the Next/Prev frame of the
  318.                                   animation so a picture may be selected
  319.                                   for that frame.
  320.  
  321.                 Go to Page ?  - the AmigaDos path and filename of the
  322.                                 article to be loaded when the user clicks
  323.                                 on the box. You must have selected
  324.                                 'Go to Page' in the 'Special' gadget or it
  325.                                 will be ignored.
  326.  
  327.                 Sound         - Sound to be played when the box is
  328.                                 clicked by the user.
  329.                                 You must have selected 'Play Sound' in the
  330.                                 special gadget or this field will be
  331.                                 ignored.
  332.  
  333.                 Music         - Music to be played when the box is
  334.                                 clicked by the user.
  335.                                 You must have selected 'Play Music' in the
  336.                                 special gadget or this field will be
  337.                                 ignored.
  338.  
  339. Edit        - First choose a box to edit by clicking on it. Then you will be
  340.               presented with a text or graphics box edit requester. This
  341.               is the same requester used for 'New Picture Box' and 'New
  342.               Text Box'.
  343.  
  344. Move        - Pick a box, hold the mouse button down and drag the box
  345.               into the desired position.
  346.  
  347. Resize      - Pick a box, hold the mouse button down and drag out the box
  348.               to the desired size. If you resize a graphics box, then only
  349.               the border size will change. The actual picture will not
  350.               be resized. When you resize a text box, the new size will be
  351.               used to work out the maximum number of text rows and columns
  352.               for the box. Anything left over will be used for the borders.
  353.  
  354. Copy        - Pick an existing box, hold the mouse button down and drag
  355.               the copy into the desired position.
  356.  
  357. Erase       - Pick a box. If the box is a graphics box it will ask if you
  358.               want to delete the picture as well. If the picture is
  359.               being used by another box or page it won't let you remove
  360.               the picture.
  361.               If the box has sound or music associated with it, it will ask
  362.               if you want them removed as well. Again this may not be
  363.               possible if they are still being used by another box or page.
  364.  
  365.  
  366. TEXT
  367.  
  368. Re-format   - This command lets you remove unnecessary spaces from lines
  369.               of text and fill lines that can fit more words on them.
  370.               It is most useful when you import text. Lines that don't fit
  371.               in the text boxes are broken at word boundaries if possible
  372.               and put on the next line. This often leads to lines that
  373.               contain only 1 or 2 words. To fix this use Re-format. Simply
  374.               select text to re-format by clicking the mouse at the start
  375.               of the text you want and drag-select the rest. You may have
  376.               to do this several times on a box as the text is compacted.
  377.               Because you can only select the text from one box at a time
  378.               you often can't fill the bottom line of a box. If you want
  379.               to do this you will have to save the text and edit it using
  380.               a word processor. Re-format can also be used to unjustify
  381.               text that you have used 'Justify' on.
  382.  
  383. Justify     - Used to right justify text. Select the text to justify in the
  384.               same manner as you do for Re-format.
  385.  
  386. Centre      - Used to automatically centre text within a box. Select the
  387.               text to centre in the same manner as you do for Re-format.
  388.  
  389.     *** NOTE *** These text formatting commands may have slightly
  390.                  unpredictable results, when used on lines that contain
  391.                  ANSI control codes (see Load Text). If they don't format
  392.                  the text as required, you will have to save the text
  393.                  and edit it using a text editor/word-processor.
  394.  
  395. Set Style   - Not implemented in current version.
  396.  
  397. Edit Style  - Not implemented in current version.
  398.  
  399.  
  400. TURN TO
  401.  
  402. Self explanatory.
  403.  
  404. OTHER
  405.  
  406. Palette     - Allows you to change the page colours. You can use a pictures
  407.               palette by selecting the picture you want and then clicking
  408.               on picture colours. UNDO lets you undo a change you have
  409.               made to a colour. COPY allows you to copy a colour to another
  410.               position. Note that 3 of the proportional gadgets have no
  411.               effect on the colours. These are going to be used to alter
  412.               a colour's Hue, Saturation and Brightness in a future update.
  413.               I never quite got round to writing the code for it.
  414.  
  415. Show Pics   - Lets you view any picture you have loaded. Useful to view
  416.               pictures that use custom screen modes.
  417.  
  418. Play Sound  - Allows you to play any sound you have loaded. It also lets
  419.               you change the volume, period and number of cycles of a
  420.               sound. Set the number of cycles to zero to have the sound
  421.               play continuously (when played from the displayer).
  422.  
  423. Play Music  - Allows you to play any music you have loaded. It also lets
  424.               you change the number of times the music is played. Set the
  425.               number of cycles to zero to have the music play continuously
  426.               (when played from the displayer).
  427.  
  428.                     ------------------------------
  429.  
  430. Well that's it. If you have found any parts of this manual unclear, or
  431. incomplete, please let me know and I will address the problem in future
  432. updates. This manual was written pretty quickly and is meant only to be
  433. a reference. See the tutorial for a step by step, worked example of
  434. creating articles.
  435.  
  436.  
  437. Upgrades
  438. ~~~~~~~~
  439.     The Editor is by no means perfect. I will continue to work on it when
  440. I get the time. I'm not promising anything but if enough interest is shown
  441. in Magnetic Pages I hope to make the following improvements to the Editor.
  442.  
  443.  
  444.     * Total overhaul of the intuition interface. The current version is
  445.       quite rough and crude in parts. I'm a bit reluctant to spend a huge
  446.       amount of time on the perfect intuition interface when Workbench 2.0
  447.       is on the horizon.
  448.  
  449.     * Edit Text Style and Set Text Style commands implemented. These commands
  450.       will allow you to change text style and colour within the Editor by
  451.       simply selecting the text to change.
  452.  
  453.     * More powerful (intelligent) text formatting commands.
  454.  
  455.     * Proper file requesters. Again these weren't done properly as
  456.       Workbench 2.0 is supposed to have a standard one built in.
  457.  
  458.     * General optimization in all time critical areas.
  459.  
  460.     * Use the Clipboard device so text can be exchanged directly between a
  461.       wordprocessor/text editor.
  462.  
  463.     * An Arexx port. Only because it's trendy.
  464.  
  465.     The above improvements are just a few general ideas I have planned. If
  466. you have any suggestions, or complaints please let me know when you order
  467. the Organiser.
  468.  
  469.                                                             Mark Gladding.