home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d2xx
/
d243
/
lpe.lha
/
LPE
/
lpe.ReadMe
< prev
next >
Wrap
Text File
|
1989-09-04
|
9KB
|
249 lines
LPE V1.0
A LaTeX-Picture-Editor for the Amiga
Written and Copyright (C) 1989 by
Joerg Geissler
Distelweg 30
2805 Stuhr 3
West-Germany
Version 1.0 8/20/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.
INTRODUCTION
LPE stands for LaTeX-Picture-Editor and is a graphical
editor to produce "pictures" for the LaTeX system which
may be imported. It is my first project with Amiga-C and
Intuition. For this reason, I do not offer any source for
this version because that would be too painful for me.
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.
As a matter of fact, I do not know any command to check
if you are using a PAL-Amiga or the NTSC-version (someone
may help me in this case). Because of this, there are
special versions for the NTSC guys with smaller screen
dimensions ("lpeNTSC" and "lpeNTSC.NoRun"). I hope they
are ok, I wasn't able to check it out.
FIRST IMPRESSION
When the program has loaded, you will see a Hires-Interlace(sorry!)-
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 Project menu will appear with
functions like loading and saving.
Later versions may have a button to turn off the interlace
(although it looks so professional).
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.
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, VECTOR,
CIRCLE, TEXT and TBOX, and other like UNDO, CLEAR, CENTER, GRID.
They may be used by clicking on their gadgets.
Later on, when you have chosen one of those functions, some
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, error messages etc. I hope, you will never need this
documentation when using LPE.
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 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, another 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.
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!
Note: you may wonder why only one pair of co-ordinates
changes whereas the other pair doesn't if you want to
fix the first point. This last one is the pair of the second
point used in the previous drawing action. You may now
fix the actual first point right on the same place as the
previous second one. It is the way to draw continuous lines.
VECTOR see LINE
The orientation of the vector is important: it is the
second point, symbolized by a small circle.
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 large gadget (called
"Text") where you may input your text. THEN click on
TEXT to place it in the drawing area and adjust the text.
I know, it is a quite primitive way, but I did not like
to work on an input requester in this version of LPE.
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
large gadget, then click on TBOX to draw the box. LPE
will center your text as possible.
UNDO deletes last object
CLEAR deletes whole picture
CENTER Place an new origin in the drawing area.
Note: There is still a bug when you save a picture with a
changed origin! Be careful!
GRID turns the grid and the origin on/off
THE PROJECT MENU
You may use the following functions in the Project menu:
LOAD LPEFILE loads a LPE file.
Be sure that you have entered the file name in
the large gadget.
WARNING: if you try to load an existing file
which is not a LPE file, you may meet the GURU.
I suggest the suffix ".lpe".
LOAD LATEXFILE not yet implemented
SAVE AS LPEFILE saves the actual picture as LPE file.
File name is the text in the large gadget!
Suggested suffix: ".lpe"
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.
Note: suffix should be ".tex"!
ABOUT what ? of whom ? when ?
HELP not yet implemented (unnecessary ?)
QUIT quits the program
You may also quit by click on the close gadget.
KNOWN BUGS
You already know the bug at CENTER. Furthermore, there may
be a 00000003 GURU when using LINE. I never had this message
when I work with LPE in my C programming environment
(1.4MB in VD0:), but it sometimes appears on normal Disk use!?
Nevertheless, the stack should be 16000 or higher.
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
- a few friends who were of the opinion that I would
never be able to write even a much more simple LPE;
they will be surprised about future versions
- Douglas Adams for "So long, and thanks for all the fish"-
the only novel I did not understand; the same feeling like the
first steps on Amiga C
Did you hear the news? Commodore decided to produce an Amiga
with a 150 MHz CPU, 200 MB of RAM, 1.5 GB on Disk, a screen
resolution of 4096x4096 pixels (24Bit), voice recognition input,
portable (fits in your shirt pocket) and costs about $400! What's
the first question of the computer community? "Is it PC compatible?"
Have fun with LPE.
Suggestions, donations, insults and test results may be send to
the address above.
- Joerg -