home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
miscutil
/
lpe.lzh
/
LPE
/
LPE.DOC
< prev
next >
Wrap
Text File
|
1991-08-16
|
11KB
|
301 lines
LPE V1.1
A LaTeX-Picture-Editor for the Amiga
Written and Copyright (C) 1989 by
Joerg Geissler
Distelweg 30
2805 Stuhr 3
West-Germany
Version 1.1 11/01/89
This program is freeware. You know what that means.
It may be freely copied. For distribution with any
commercial product you need a written approval of
the author.
-------------------------------------------------------------------
Changes since V1.0:
- new drawing tools: dashed lines, dashed text box and double
vectors
- the functions grid, clear and center are in an additional
menu strip called EDIT
- the grid is drawn in relation to the origin
- no more menu functions which are not yet implemented
- BOTH x-/y-coords of the actual object will be fixed
- opens screen on Workbench size, so no more special
PAL/NTSC/Overscan versions
- LPE's own mouse pointer works on both windows
- the value for LaTeX's dashed box may be changed, the value
for the grid size, as well
- one extra string gadget for the filename
- the gadget window may be disappeared to look at the whole picture
- automatic suffix (".lpe" for LPEfiles and ".tex" for LaTeXfiles)
- more requesters for errors
- the possibility to build 255 objects (not 100 as in V1.0)
- code will be loaded to fast memory
- optimized code
Bugs fixed:
- UNDO seems to work correct now
- the string gadgets have a correct cursor; no more centered
strings
- no more GURU when you try to load an existing file which is
not a LPEfile or if you often use the menu
- no more mouse buffering in the window you are not working in
NOTE: THE NEW LPE-FILES ARE INCOMPATIBLE TO LPE V1.0 !!! (sorry)
-------------------------------------------------------------------
INTRODUCTION
LPE stands for 'LaTeX-Picture-Editor' and is a graphical
editor to produce "pictures" for the LaTeX system which
may be imported.
LPE is an interesting tool for those of you, who are
looking for a small quick program which allows you
to produce even more complex combinations of objects in
a picture environment for LaTeX.
- you will get best results when you place LPE on your
TeX: disk with all your Workbench files
- a tool like Heliosmouse or DMouse (what I use) might be helpful
- be sure that mathtrans.library is available
- 16000 is a good stack value.
GETTING STARTED
LPE may be run from Workbench simply by double-click on
its icon.
CLI users may start it by typing its name:
lpe
There is another version to run LPE without the run
command: it is called "lpe.NoRun" and detaches LPE from CLI.
LPE will open its screen on Workbench size, so there won't be
any problems with PAL/NTSC. My Workbench is using PAL/Overscan
and it works fine.
FIRST IMPRESSION
When the program has loaded, you will see a Hires-Interlace-
Screen with one bitplane. It contains a large window
with a grid and a smaller one full of gadgets. The large
window is the drawing area, the gadget window contains the drawing
tools and some other functions.
By pressing the right mouse button, a menu (Project/Edit) will
appear with functions like loading, saving, grid, center etc.
The mouse pointer has chanded to crosshairs.
THE DRAWING AREA
The large window with the grid is the drawing area. Here you will
compose your picture. It is a 10 units grid to facilitate any
estimation. You may turn it off as you will see later on. Maybe
you want to change those grid units, as well.
Additionally, there is a cross in the lower left corner of the
drawing area. That is the origin (0,0) of the system of co-
ordinates used by LPE. It may be moved by the user.
THE GADGET WINDOW
In the gadget window you will find most of the functions LPE
offers. There are the drawing tools BOX, DASHBOX, LINE, D(ash)LINE,
VECTOR, 2(double)VECTOR, CIRCLE, TEXT, T(ext)BOX and
D(ashed)T(ext)BOX, plus the UNDO function. They may be used by
clicking on their gadgets. Furthermore, there are two gadgets
for text (filename and picture text).
Later on, when you have chosen one of those functions, three
pairs of digits will appear on the right side of this window.
These are the co-ordinates of the cursor according to the
origin.
In the title of the window you will find some notes: what to do,
what LPE does etc. I hope, you will never need this documentation
when using LPE.
ATTENTION: The close gadget of this window is no longer the way
to quit LPE ! It is used to hide the window when you want to
see the whole picture !
THE GADGETS
The following gadgets are available in this version:
BOX You may draw a box with this drawing tool.
First, one edge, then the opposite one. It
does not make any difference, if you first fix the
upper left corner and then the lower right one
or if you first fix the lower left and then ...
or ... or ...
Note: because of the single bitplane LPE uses,
a box right on the same place like another box
with the same dimensions would delete the first
one on the screen so that both are invisible though
both still exist!
Before you fix the first edge of the box, a pair of
numbers will appear to the right of the gadget window.
They stand for x- and y-co-ordinates of the cursor
according to the origin.
After you have fixed the first point, its coords will be
copied to the next line and a third pair
will appear: it describes the co-ordinates according
to the first point. It is the grade of a straight line
from point one to point two.
Using these information, it is easy to make a box with
specific dimensions.
When you have finished the box, the second point coords
will be copied to the third line of numbers.
Once again: the first of the three pairs always
represents the actual position of the mouse pointer.
The second one has the coords of the first point of the
object you are drawing. If there is no first point yet,
it is the one of the previous object (!). The third
pair is the second point of the actual/previous object.
So you always have the points of the object before; this
helps you to draw things like polygons.
DASHBOX see BOX
The difference: the box is drawn using dashed lines.
LINE You need a line? OK. Click on LINE.
Like a box, you have to fix first and second point of
the line.
But stop! LaTeX only knows lines of a specific grade!
This is why LPE continuously checks the grade of the
line from the fixed first point to the variable second
one. If you see an "OK" above the displayed co-ordinates
you have a line LaTeX will accept. If you fix the second
point without any "OK" no line will be drawn!
DLINE see LINE
This is a dashed line.
NOTE: For LaTeX there are no dashed lines! This is why
LPE uses a dashed box of height/width 0. So you only
may draw horizontal/vertical lines (look out for "OK").
VECTOR see LINE
The orientation of the vector is important: it is the
second point, symbolized by a small circle.
2VECTOR see VECTOR
It is a double vector with small circles at its ends.
CIRCLE First, set the center of the circle and then its radius
(the line from point one to point two). Circles larger
than the drawing area will not be drawn.
Note: LaTeX (the version I know) is not able to draw
every circle you can think of. Just try and error.
TEXT You may place a text up to 80 characters in the picture.
First, you have to click on the lower large gadget (called
"Text:") where you may input your text. Then click on the
TEXT gadget to place it in the drawing area and adjust
the text.
TBOX LaTeX offers the possibility to draw a box with a centered
text in it. That is T(ext)BOX. First input your text in the
lower large gadget, then click on TBOX to draw the box. LPE
will center your text as possible.
DTBOX see TBOX
This is a text in a dashed box. D(ashed)T(ext)BOX
The CloseGadget lets the gadget window disappear. You may click
somewhere in the drawing area to bring it back.
There are two gadgets left: Grid and Dash.
The Grid gadgets includes the actual grid size. You may change
the value by clicking in it and enter a new one (it has to be
10 or higher).
The value in the Dash gadget may be changed as well, if you
would like to have another one for the dashed lines/boxes. It
will not have any consequences on LPE but on the LaTeXfile
LPE creates.
THE PROJECT MENU
You may use the following functions in the Project menu:
LOAD LPEFILE loads a LPE file after asking if you know that
everything in the actual picture will be deleted.
Be sure that you have entered the file name in
the upper large gadget called "File:" when you
call this function. PLEASE DO NOT USE ANY
SUFFIX, because LPE will do that automatically. All
LPEfiles have the suffix ".lpe", the LaTeXtext
".tex". If loading is succesful, LPE will draw the
picture.
SAVE AS LPEFILE saves the actual picture as LPE file.
File name is the text in the upper large gadget.
SAVE AS LATEXFILE saves the picture as an ASCII-file in a format
that can be imported by LaTeX.
The picture environment is scaled to 640x400
with a unitlength of 0.2mm.
You may change these values with a file monitor;
it can be found as ASCII in the source.
ABOUT what ? of whom ? when ?
QUIT quits the program
THE EDIT MENU
has the following items:
GRID turns the Grid on/off
The grid size may be changed in the Grid gadget.
CLEAR deletes the drawing area and all objects
CENTER gives you the chance the place a new origin in the
drawing area.
Any changes influence the coordinates of all
objects you are working on.
NOTE: the new center will not be saved with the
objects!
CREDITS AND THANKS
Special thanks to:
- Commodore for this highly advanced computer
- Manx for the Compiler and the terrific SDB
- Fred Fish for this great AmigaLibDisks series
- those of you who will test LPE and send me bug reports,
comments and lots of suggestions for future enhancements
Have fun with LPE.
Suggestions, donations, insults and test results may be sent to
the address above.
- Joerg -
Nov 1, 1989