\c2\f1The MicroTeX-System Editor Manual\c1\f0


This text will give you all the information you need to write an
article for the MicroTeX-System.


\c2\f21. Basics:\f0\c1\l
You should enter your text in no particular format.  Just start
CygnusEd, enable Word-Wrap and start.  The MicroTeX-System will ignore
all extra spaces between words and all the Linefeeds at the end of a
Line.  What you are typing is some kind of source-file containing
plain text and control-sequences.  The article will be broken in lines
and paragraphs when the reader selects it with the menu, so you won't
have to care about the block at all.  The MicroTeX-System will insert
one linefeed for any line in the source-file that is empty or does
only contain controll-sequences. If you want to get no free line
between two paragraphs, just enter two RETURNs, and for every free
line between them one additional RETURN.


\c2\f22. Simple control sequences:\f0\l\c1
Control-sequences consist of a backslash (\c3\\\c1) and one specifing character.
there are two basic control-sequences. \c3\\l\c1 is a synonym for
RETURN (Linefeed), and \c3\\p\c1 will start a new page, ignoring all
predescending and succeding Spaces and RETURNs. If you want a backslash
(\c3\\\c1)
in your text, simply type two (\c3\\\\\c1) (how many backslashed did I need
to type »\c3\\\\\c1« ? Yes! »\c3\\\\\\\\\c1«!)


\c2\f23. Fonts:\f0\l\c1
Sixteen fonts are available, and they can be selected by \c3\\f0\c1
to \c3\\f9\c1 and \c3\\fa\c1 to \c3\\ff\c1 according to the
hexadecimal system. See the fonts-example to find out what the fonts
look like, and be shure not to use unassigned font-numbers because you
will get garbage on the screen. Till now the system can handle 8 and 16
bit wide fonts with any hight and 1 or two planes. 3 plane fonts
will be added, but I need the GFX!


\c2\f24. Colors:\f0\l\c1
Sixteen colors are available, and they can be selected by \c3\\c0\c1
to \c3\\c9\c1 and \c3\\ca\c1 to \c3\\cf\c1 according to the
hexadecimal system. See the fonts-example to see how colors and fonts
combine if a font has more than 1 plane.


I Think, the colors should be allways the same, that looks more
professional. 0 is Background, 1 is for nornal text and \c22\c1 is for
Headlines. \c33\c1 and \c44\c1 are for \c3specail text\c1. 5 is
for warnings (\c5Your disk~drive might get damaged if you try
this!!!\c1)


\c2\f25. Hyphenations:\f0\l\c1
The biggest problem when breaking lines are big words. If you have:


neosylebroonistic society for paraphilosopy and progressive
brooning


it looks awfull. Of course we can not implement real hyphenation-rules
in this small microtex-system, but you can specify special
hyphenation-hints by typing the tilde-sign in long words, and you
will get


neosylebroonistic society for pa~ra~phi~lo~so~phy and
progressive brooning


The MicroTeX-System will assume the normal »-«  always as
hyphenation-point.


\c2\f26. Tricking the Layout:\f0\l\c1
You can bind words together by typing an ALT-space instead of
normal spaces. These Words will be handled as one word, and no line-break
will occur between them.


If you want to overwrite the old line you may specify
\c3\\9\c1 to disable the vertical increase after the end of a line.
This is usefull if you want to combine big and small fonts (see
fonts-example).


If you don't want to use the auto-line-break at all (i.e, for adds), you can
enter the »advertisement-mode« with \c3\\a\c1. The text will now be printed exactly
the way you type it. You can leave the advertisement-mode with another
\c3\\a\c1.


If you want something indented like

- \tthis,

this

and this.\T

you type \c3\\t\c1 (tab) when the cursor is in the correct colum, and
\c3\\T\c1 (upper case!)
when you want to leave the tab-mode. Please be carefull, when you do
tabs inside of tabs, in very rare (and useless) cases the system crashes.


\c2\f27. Gfx and Colors:\f0\l\c1
There are two ways of combining Text and Gfx. Gfx with one bitplane
will be inserted in the page with the cursor-color, gfx with more
bitplanes will be drawn in the 8-15. A Picture with 4 planes will be
drawn with the colors 0-15. This makes it possible to include a
Picture with 8 colors without changing the background and the normal
pen color (1)


In all cases, the gfx must be saved as a DPaint-Brush. The width
SHOULD be a multiple of 16. You include it by typing
\c3\\gfilename\\\c1,
that means a \c3\\g\c1, the \c3filename\c1 and a \c3\\\c1. The programm 
recognised whether the gfx has one or more planes.


If you want to change the pallete of the screen, you can load an
iff-picture with \c3\\ifilename\\\c1. The palette of this picture (or brush)
will be used, but the picture will not be displayed. If you want a
picture to be displayed, you need two commands, a \c3\\g\c1 for the gfx and
a \c3\\i\c1 for the colors. \c3\\i\c1 is the only way to change the colors, and
the colors 0 and 1 can't be changed at all.


You can change a single color by type \c3\\IXRGB\c1. \c3X\c1 is the
number of the color~register (in hex) and \c3R G B\c1 are the three
parts of the color (of course in hex, too). You may change several colors 
at once by typing \c3\\IXRGB,XRGB,XRGB,...\c1


\c2\f28. Software tools:\f0\l\c1
You should use \c3CygnusEd\c1 to edit you texts. Your main problem will be,
that you can't see the result of your control-sequences. I coded a
little programm called \c3SHOW\c1 that will help you. You must start it with
run and it will stay totally in the background. Now you load CED (and
only CED!) and edit your article. Now you can start the show-programm
with the \c3Joystick-button\c1. It will display the \c3current
cygnus-ed text\c1 as an article. Although ths show-programm uses the
ARexx-Port of CygnusEd, you need \c3not\c1 to start \c3ARexx\c1. If you
use Ced, this is the next thing to a real editor, if you don't use Ced
or if you are short on memory your've got a problem. You can leave the
show-programm with \c3escape\c1, and you can quit it totally with
\c3shift-escape\c1


