summaryrefslogtreecommitdiff
path: root/support/xtexshell/help/help_xtex
blob: 83116140e17589c2d0c3bb884cce2b20a71b98fa (plain)
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
:entry
_helpxtexedit
:header
The XTeX Build-in Editor
:description
:bold Cursor :bold Movement:
:tt
:el
:li Up        : Previous line
:li Left      : Left character
:li Right     : Right character
:li Down      : Next line
:li Home      : Start of line
:li End       : Last character of line
:li Tab       : Jump to next tabulator position
:li Shift-Tab : Jump to previous tabulator position
:li PgUp      : Page Up (-25 lines)
:li PgDn      : Page Down (+25 lines)
:li ^PgUp     : First Page (Top of file)
:li ^PgDn     : Last Page (Bottom of file)
:eel
:bold Insert :bold and :bold Delete:
:tt
:el
:li BS, ^h    : Delete character left of cursor
:li Del       : Delete character under cursor
:li Ins       : Toggle insert/delete mode
:li ^Home     : Delete to start of line
:li ^End      : Delete to end of line
:li ^Y        : Delete current line
:eel
:bold Hypertext :bold Help:
:tt
:el
:li ^F1       : Hypertext help for word under cursor
:li Button 3  : Hypertext help for word under mouse pointer
:eel
:bold Search :bold and :bold Replace:
:tt
:el
:li ^QF, ^KF  : Find, search
:li ^QA, ^KA  : Replace
:li ^L, ^F    : Continue Find / Replace
:eel
:bold Block :bold Commands:
:tt
:el
:li ^KB       : Mark start of block
:li ^KK       : Mark end of block
:li ^KC       : Copy block
:li ^KV, ^KM  : Move block
:li ^KY       : Delete block
:li ^KR       : Read Block from file
:li ^KW       : Write Block to file
:eel
:bold Saving :bold Files:
:tt
:el
:li ^KS       : Save and resume
:li ^KD       : Save, done edit
:eel
:bold Mouse :bold Functions:
:tt
:el
:li Single-But-1         : Mark character under cursor
:li Double-But-1         : Mark word under cursor
:li Triple-But-1         : Mark line under cursor
:li Press But-1 and move : Mark region
:li Double-But-2         : Insert block/selection. You can also insert the
                           selection of another window
:li Press But-2 and move : Fast scrolling
:li Single-But-3         : Hypertext help for word under mouse pointer
:eel
:endentry

*********************************************************************
:entry
_helpxtex
:header
Help about XTeX: The README file
:description
Additional help for XTeXShell Version 0.91
------------------------------------------

A manual for XTeXShell is in preparation and will be out soon.  If you have
worked with BORLAND or TURBO C, C++, or Pascal before, you won't have
problems to use XTeXShell. If not, please read the help pages about XTeX from
the main XTeX-window and try what the menu entries and buttons do.


Start XTeXShell with

        xtexsh [filename] [-m mainfilename]

If you specify filename, XTeXShell will automatically start the editor and
load filename. 

The XTeXShell editor hates tabs and replaces them with spaces when loading
a file. This can take a while if you have large files, because a Tcl program
isn't as fast as a compiled program.  In that case, you may wish to convert
your text file before loading it into the editor, for example with the
program TFC.


The following sections are information about features and the way XTeXShell
works, which you probably won't find out by trying.

1) HyperText-Help

From the XTeXShell-Editor, you can get online-help for LaTeX-commands by
   - moving the mouse pointer on the word you want help for and press
     the right mouse button
   - moving the cursor on the word you want help for and press Ctrl-F1
   - Select LaTeX Help Index in the Help menu


2) X-Selection

You can insert the X-Selection in the XTeX-Editor with a double click on
mouse button 2.  This change to the normal X-definition (single click) was
necessary, because Tcl/Tk allows fast scrolling by moving the mouse with
button 2 pressed and I wanted to keep this feature.  See "XTeX-Editor help"
entry in help menu for a detailed explanation of key/mouse functions.

----------------------------------------------------------------------
*** If you are a novice user, you don't need to read the rest of the document!
----------------------------------------------------------------------

3) Setup System

During Initialization, XTeXShell reads information and it's default values
from a setup file and a shortcuts file.  Because XTeX was designed for a
multiuser system, the setup system is more complicated than in a single-user
environment:

   - Setup system.  The default variables for XTeXShell are stored in the
     setup files. Initialization is done in 3 steps:

      1) XTeXShell loads the system-wide setup information.  This is either
         the  file "setup.orig" in the XTeXShell root directory, or if exists,
         the file "setup" in the same directory.  Both files must be valid
         Tcl/Tk scripts.

         "setup.orig" is the original setup file and you should *NEVER* change
         it. If you want to modify default values, copy this file to "setup"
         and make your system specific modifications there!

      2) After completing system setup, XTeXShell continues with the user
         setup. If available, it will read the file ~/.xtexsh.setup. Defaults
         for users should go here.  For creating your own ~/.xtexsh.setup file,
         copy the file "setup" from the XTeX root directory.
         An easier way is to use Options/Save options/Save global
         function from the XTeX-Shell which will make the copy automatically
         if no user setup file is present.

      3) Sometimes it is nice to have special default values for a particular
         task.  Therefore the last step of XTeXShell is to try to read the
         file "./.xtexsh.setup" in your current directory. This means that you
         can make the behavior of XTeXShell dependent on the directory where
         you start it.
         If you want to use this feature, copy the file "~/.xtexsh.setup" to
         your current directory.  You can also use the function Options/Save
         Options/Save Options Local, which will automatically make a copy, if
         the file doesn't exist.

   - Shortcuts.  The entries of the Shortcuts-menu and the text which is
     inserted after invoking a shortcut is stored in the shortcuts-files.
     Initialization happens in the same way as the setup-files, but the
     filenames are:

         (XTeXShell-Root)/shortcuts.orig
         (XTeXShell-Root)/shortcuts
         ~/.xtexsh.shortcuts
         ./.xtexsh.shortcuts

-----------------------------------------------------------------------

4) Known Bugs

   - The Purge Button doesn't work -- yet

-----------------------------------------------------------------------

:endentry
*********************************************************************