1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
head 1.2;
access;
symbols;
locks
mys:1.2; strict;
comment @# @;
1.2
date 2000.08.15.22.33.43; author mys; state Exp;
branches;
next 1.1;
1.1
date 99.11.22.23.41.12; author mys; state Exp;
branches;
next ;
desc
@@
1.2
log
@*** empty log message ***
@
text
@############################################################
#::editor_hlp::
# The Editorwindow
#
############################################################
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What's an Editorwindow ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For me a editorwindow is a window where I am able to work on
a text under Tcltexed. Each editorwindow is assigned to one
text. Two attributs ar important several editorwindows exist:
the focus
and the marking of one of them to be the maindocument
-----
The focus ownes the editorwindow, which was at last in the
forground. All actions outside of the editorwindows opened
will effect only the one having the focus. An Example for
actions may be "text searching". One way to give one
editorwindow the focus is by mousebuttons.
-----
If you have made on editorwindow a maindocument, all calls
for extern programms like latex, xdvi, dvips and ghostview
are directed to this document. In this case only the document
of the maindocument gets compiled, so it should be executable
for latex, while the others don't need to. If no editorwindow
is declared to be the maindocument, each editorwindow
behaves as if it is the only one.
-----
The window consists of the following components :
a menubar / popupbar (Only Windows)
a buttonbar
and an input field.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usage of the buttonbar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From left to right :
a "picture", Save, Save As, latex, xdvi, dvips, ghostview, ispell, Syntax, Quit
and last but not least a display "L.C. ?.?"
-----
"picture"
The picture shows you the attributes of the editorwindow.
If it has the focus it you see a picture of some circular waves.
If it is colored (yellow/red) it is marked to be the maindocument.
You can make an editorwindow a maindocument by mouse click
on the picture. A second click removes the attribute to be
a maindocument.
-----
Save
You know this, simply save this document in a file assignend
to the editorwindow. If there is no file assigned "Save As"
is executed instead.
-----
Save As
Save a document into a file you choose and assign
it the actual editorwindow.
-----
latex
Executes "Save" for this editorwindow. Only it's document get's saved.
Then the program latex is executed with the assigned file.
If a maindocument exists as defined above the file assigned to
it is executed instead. latex produces the file with extention dvi,
the error output of latex is piped into the helpwindow of Tcltexed.
(if there accures an error under unix you must stop latex
by pressing "q" and "RETURN")
To make it easier to create an index, with the latex-commands
\makeindex \index etc. the program makeindex is started automaticly
if a suiting filename with extension idx exists.
-----
xdvi
Executes xdvi (or an other viewer) for to view the last latex outputfile.
Normaly the viewers reload the actual document if you produce
a new dvi file, so you have to start this only on time.
-----
dvips
Makes a output for ghostscript printer out of the dvi file.
The output will be saved into a file with extension ps.
-----
ghostview
Executes ghostview a viewer for ghostscript files with the last
dvips outputfile.
-----
ispell
Executes "Save" for this editorwindow. Only it's document get's saved.
Then ispell an interactive spell checker is executed and it's output
reloaded into the editorwindow.
-----
Syntax
Syntax Highlightning, all textarrays starting with \ are supposed
to be LaTeX-commands.
If this command is known it's letters gets green, if not red.
But be carefull, it doesn't look after the number of brackets behind
the command. (latex will do that for you !)
If it's text to be ignored (starting with %), the text get blue.
For many green marked commands exists a short description.
-----
Quit
Close this editorwindow. If modified it request's if it realy
should do so without saving before.
-----
Display
Shows you the position of the curser (line and row).
One "line" is here defined as a number of letters follewd
by a "RETURN", not as the number of real lines displayed by the
editorwindow.
If you press this Button, a window opens, with which you can
change the position of the curser manualy by numbers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Usage of th menubar / popupbar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The menubar exists only if you use Windows and tcl/tk 8.x.
Menubar and popupbar implement the same functions.
Pressing the right mousebutton opens the popupbar.
From top to bottom listed (left to right) :
Undo, Cut, Copy, Paste, Clear, Block, + % und - %.
-----
Undo
For to undo most of your last actions within the text. (I hopfully
think so) In lack of infinity memory recources you can't undo
everything.
-----
Cut, Copy, Paste, Clear
Bearbeitet den mit Maus selektierten Bereich, ratet mal was da
passiert ... . Die Aktionen sind Windows und X-Window kompatibel.
(theoretisch)
-----
Spell
Marks all not right spelled words in your text with a red color.
-----
Nearly
Takes the word which the curser is within and displays a list of
words which nearly match this word.
-----
Block
Makes out of the selected aria a "Block - aria" ala Borland.
-----
+ %
Inserts at the beginning of each selected line %, but only
if there doesn't exist one.
-> easy way to mark lines for latex to be ignored
-----
- %
The other way around as "+ %".
-----
...
Looks for LaTeX-command matching with letters between
the last "\" and the curser.
Only commands marked under "Options -> packages"
are listed here.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Usage of the inputfield
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hey that's the part each editor has, don't ask silly questions.
(look for Editor-keymap for some key combinations)
-----
Spelling
If you wanna register a word as right spelled, you have to set
the curser on it and make a double click on the left button of
your mouse.
-----
Examples for automatical complition of LaTeX-commands
\fra ---> \frac{}{}
\enumerate --->
\begin{enumerate}
\item
\end{enumerate}
Compiltion of brackets
{ ---> {}
$ ---> $$
-----
For \begin and \end the name of the enviroment will be inserted
as below :
\beg --->
\begin{}
\end{}
\bege --->
\begin{e}
\end{e}
\begenum --->
\begin{enum}
\end{enum}
-----
If some text is selected by mouse and you press "\"
than gets this not deleted as usualy done, but gets
some brackets inserted around the selected text.
@
1.1
log
@Initial revision
@
text
@d38 1
a38 1
a "picture", Save, Save As, latex, xdvi, dvips, ghostview, Syntax, Quit
d82 5
@
|