summaryrefslogtreecommitdiff
path: root/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/GoingfurtherOthertools.html
blob: 37ae9212042b62ccf7618cf1f4799e9d3483d3b5 (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
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>5 Going further: Other tools</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)"> 
<!-- info,2,imgdir:images/,sec-filename,next,index=2,url-enc,html --> 
<meta name="src" content="index.tex"> 
<link rel="stylesheet" type="text/css" href="index.css"> 
</head><body 
>
<!--l. 5--><p class="noindent" ><div id="container"> <!--l. 5--><div class="crosslinks"><p class="noindent">[<a 
href="AdvanceduseScripting.html" >next</a>] [<a 
href="GoingfurtherEditingtools.html" >prev</a>] [<a 
href="GoingfurtherEditingtools.html#tailGoingfurtherEditingtools.html" >prev-tail</a>] [<a 
href="#tailGoingfurtherOthertools.html">tail</a>] [<a 
href="index.html#GoingfurtherOthertools.html" >up</a>] </p></div>
<!--l. 5--><p class="indent" >   <div class="chapternumber">5</div><h1><a 
 id="x30-300005"></a>Going further: Other tools</h1>
   <h3 class="sectionHead"><span class="titlemark">5.1   </span> <a 
 id="x30-310005.1"></a>SyncTeX&#8217;ing between source and preview</h3>
<a 
 id="dx30-31001"></a>
<!--l. 10--><p class="noindent" >When you are reading a document in the preview window and see something to
change, it is convenient to go immediately to the corresponding place in
the source. To do so, hold down <span class="keystroke">Ctrl</span> (Mac OS X: <span class="keystroke"> <img 
src="images/MacCmdKey.png" alt="pict"  
></span>) and click at the
appropriate place in the preview; the cursor will move and highlight the
corresponding location in the source window. The same is true in the other
direction: <span class="keystroke">Ctrl</span> <img 
src="images/LMB.png" alt="pict"  
> in the source will highlight the same line in the preview
window.<span class="footnote-mark"><a 
href="index31.html#fn1x6"><sup class="textsuperscript">1</sup></a></span><a 
 id="x30-31002f1"></a>
<!--l. 14--><p class="indent" >   <div class="OSspecific"><div class="OSspecificLogo OSWindows"></div> Here a remark for users under Windows: this only works if <b>all</b> the names for
folders/files/&#x2026;do <b>not</b> have accented characters. If, for example, your document is
in <tt>C:\Documents and Settings\Propriétaire\My Documents\thesis</tt> it will not
work because of the <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">é</span></span></span> in <tt>Propriétaire</tt>! </div>
   <h3 class="sectionHead"><span class="titlemark">5.2   </span> <a 
 id="x30-320005.2"></a>Special comment strings</h3>
<!--l. 20--><p class="noindent" >Special comments, at the very beginning of the files, can be used to manage two
other aspects of the compilation.
<!--l. 22--><p class="indent" >   By default, T<sub>E</sub>Xworks uses the &#8220;utf-8&#8221; encoding<a 
 id="dx30-32001"></a> for loading and saving files, but some
files could be saved in another encoding. Common ones are &#8220;latin1&#8221;<a 
 id="dx30-32002"></a>, which is the
dominant encoding on Windows when using western languages, and &#8220;Apple
Roman&#8221; which is dominant on Mac OS.
<!--l. 24--><p class="indent" >   To set a different encoding<a 
 id="dx30-32003"></a> for a specific file one can put the following at the
beginning of that file:<a 
 id="dx30-32004"></a> 
   <div class="fancyvrb" id="fancyvrb10"><a 
 id="x30-32006r1"></a><span 
class="ec-lmtt-10x-x-109">%</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;!TeX</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;encoding</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;=</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;latin1</span></div>
<!--l. 29--><p class="indent" >   Note that without this line, you must tell T<sub>E</sub>Xworks the correct encoding manually.
Otherwise, your data could be corrupted! To override T<sub>E</sub>Xworks&#8217;s default choice of
encoding, use the menu that appears when you click on the editor window&#8217;s
                                                                          

                                                                          
middle status bar widget.
<!--l. 31--><p class="indent" >   If you opened a file in T<sub>E</sub>Xworks that was not saved as utf-8 but is lacking the
<span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">%</span><span 
class="ec-lmtt-12">&#x00A0;!TeX</span><span 
class="ec-lmtt-12">&#x00A0;encoding</span></span></span> line, it might be displayed with (some) weird characters<a 
 id="dx30-32007"></a>. In
that case, you can specify the correct encoding via the status bar widget menu in
the same way, but it is <em>imperative</em> that you then use <em><b>Reload using selected
encoding</b></em> from the same menu! This forces T<sub>E</sub>Xworks to open the document again with the
encoding you selected, the weird characters should be replaced by normal ones,
and only then it is safe to continue to work normally. To avoid having to
repeat this procedure each time you open this file, you should either switch
to utf-8 for saving it in the future or add a proper <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">%</span><span 
class="ec-lmtt-12">&#x00A0;!TeX</span><span 
class="ec-lmtt-12">&#x00A0;encoding</span></span></span>
line.
<!--l. 33--><p class="indent" >   If we want to compile a file with another programme<a 
 id="dx30-32008"></a> than the default T<sub>E</sub>X or L<sup>A</sup>T<sub>E</sub>X, we
put at the beginning of the file: <a 
 id="dx30-32009"></a>
   <div class="fancyvrb" id="fancyvrb11"><a 
 id="x30-32011r1"></a><span 
class="ec-lmtt-10x-x-109">%</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;!TeX</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;program</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;=</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;&#x003C;the_programme&#x003E;</span></div>
<!--l. 38--><p class="noindent" >for example: 
   <div class="fancyvrb" id="fancyvrb12"><a 
 id="x30-32013r1"></a><span 
class="ec-lmtt-10x-x-109">%</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;!TeX</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;program</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;=</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;xelatex</span></div>
<!--l. 43--><p class="indent" >   Pay attention to this last instruction. You have to use the name of the
programme here which should be used for the whole project, as the first
encountered programme when starting typesetting is used (which is the one from
the sub-document you are in). T<sub>E</sub>Xworks will use that programme, even if another name
appears in the main document!
<!--l. 45--><p class="indent" >   When opening a document which contains a <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">%</span><span 
class="ec-lmtt-12">&#x00A0;!TeX</span><span 
class="ec-lmtt-12">&#x00A0;program</span></span></span> line, the
specified programme will become the one to use and its name will appear in the
drop down menu in the toolbar; you can, however, override this by selecting a
different one from the drop down list, if you want.
<!--l. 49--><p class="indent" >   In addition, you can set the spell checking language by a similar comment line:
<a 
 id="dx30-32014"></a>
   <div class="fancyvrb" id="fancyvrb13"><a 
 id="x30-32016r1"></a><span 
class="ec-lmtt-10x-x-109">%</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;!TeX</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;spellcheck</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;=</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;&#x003C;language_code&#x003E;</span></div>
<!--l. 54--><p class="noindent" >The language codes available on your system are listed in parentheses in <em><b>Edit</b></em>
<span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Spelling</b></em> next to the human-readable name of the language.
                                                                          

                                                                          
<!--l. 57--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">5.3   </span> <a 
 id="x30-330005.3"></a>Formatting the source for legibility</h3>
<!--l. 59--><p class="noindent" >To facilitate legibility of the source, one can use indentation<a 
 id="dx30-33001"></a> as programmers do:

   <div class="fancyvrb" id="fancyvrb14"><a 
 id="x30-33003r1"></a><span 
class="ec-lmtt-10x-x-109">\begin{itemize}</span><br class="fancyvrb" /><a 
 id="x30-33005r2"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\item</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;First</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;element</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;of</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;the</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;list;</span><br class="fancyvrb" /><a 
 id="x30-33007r3"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\item</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;second</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;element;</span>
<br class="fancyvrb" /><a 
 id="x30-33009r4"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\item</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;last</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;element:</span><br class="fancyvrb" /><a 
 id="x30-33011r5"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\begin{itemize}</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;%</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;beginning</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;of</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;a</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;sub-list</span>
<br class="fancyvrb" /><a 
 id="x30-33013r6"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\item</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;first</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;sub-element;</span><br class="fancyvrb" /><a 
 id="x30-33015r7"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\item</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;second</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;sub-element.</span>
<br class="fancyvrb" /><a 
 id="x30-33017r8"></a><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;\end{itemize}</span><br class="fancyvrb" /><a 
 id="x30-33019r9"></a><span 
class="ec-lmtt-10x-x-109">\end{itemize}</span></div>
<!--l. 72--><p class="indent" >   This increases legibility, but works well only on short lines, without text
wrapping; or if one chooses not to use text wrapping by unchecking <em><b>Format</b></em>
<span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Wrap lines</b></em><a 
 id="dx30-33020"></a>.
<!--l. 74--><p class="indent" >   The command <em><b>Format</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Indent</b></em> or the shortcut <span class="keystroke">Ctrl</span><span class="keystroke">]</span> (Mac OS&#x00A0;X: <span class="keystroke"> <img 
src="images/MacCmdKey.png" alt="pict"  
></span><span class="keystroke">]</span>) will
indent the line, or the selected lines, by inserting a tab character. You can repeat
the process to increase the indent.
<!--l. 76--><p class="indent" >   To remove one level of indentation, use <em><b>Format</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Unindent</b></em> or the shortcut <span class="keystroke">Ctrl</span><span class="keystroke">[</span> (<span class="keystroke"> <img 
src="images/MacCmdKey.png" alt="pict"  
></span><span class="keystroke">[</span> on
Mac OS X).<span class="footnote-mark"><a 
href="index32.html#fn2x6"><sup class="textsuperscript">2</sup></a></span><a 
 id="x30-33021f2"></a>
<!--l. 78--><p class="indent" >   As <span 
class="ec-lmro-12">indent </span>only indents the first part of very long (wrapped) lines, this is not
very satisfactory in some cases. But one can ask T<sub>E</sub>Xworks to split a long line (longer than
the width of the editing window) into short ones adding a hard coded line feed.
<em><b>Format</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Hard Wrap...</b></em><a 
 id="dx30-33022"></a> opens a dialog box in which you can specify the
width of the lines; you can also re-format lines which have already been
split.
   <h3 class="sectionHead"><span class="titlemark">5.4   </span> <a 
 id="x30-340005.4"></a>Showing the tags</h3>
<!--l. 86--><p class="noindent" >When a document is becoming long and you want to move to a specific place (a
chapter, a section, a subsection, &#x2026;)<a 
 id="dx30-34001"></a> you normally need to scroll the editing window
to find the desired location, or use the Find dialog if you remember a keyword in
the chapter&#8217;s title.
                                                                          

                                                                          
<!--l. 88--><p class="indent" >   To the same end, though a lot more comfortable, you can also use the
structural information in the document to navigate the source: the menu item
<em><b>Window</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Show</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Tags</b></em> opens a panel showing the information detected by T<sub>E</sub>Xworks.
Clicking on an item in the panel moves the cursor to the corresponding part in
the source. That panel, like any other, can be resized by dragging its
border.
<!--l. 90--><p class="indent" >   The same action is possible in the PDF window from <em><b>Window</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Show</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Table
of contents</b></em><a 
 id="dx30-34002"></a>, but this only works if one has created structure tags in the PDF file
using the package <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">hyperref</span></span></span>.
<!--l. 92--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">5.5   </span> <a 
 id="x30-350005.5"></a>Organising the windows</h3>
<!--l. 94--><p class="noindent" >By default, the editor/source window opens on the left and the preview one on
the right (when the corresponding PDF file exists), thus splitting the screen in
two.
<!--l. 96--><p class="indent" >   You can change the position of the windows in the <em><b>Window</b></em> menu. <span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Stack</b></em> and
<span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Side by side</b></em> give the default effect if there is only one document open. If not,
<span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Stack</b></em> creates a mosaic with all the windows. The other options allow to place
the windows for your convenience. It is also always possible to resize and move the
windows manually, of course.
<!--l. 98--><p class="indent" >   For the preview you can change the way it is presented and of course the zoom<a 
 id="dx30-35001"></a>
by <em><b>View</b></em><span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Actual size</b></em>, <span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Fit to width</b></em> and <span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Fit to window</b></em>; you can also zoom in
and out. Shortcuts exist for all these actions and are shown next to the menu
items.
<!--l. 100--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">5.6   </span> <a 
 id="x30-360005.6"></a>Cleaning the working folder</h3>
<a 
 id="dx30-36001"></a>
<!--l. 103--><p class="noindent" >Very soon when one uses (L<sup>A</sup>)T<sub>E</sub>X, one discovers that the working folder is cluttered by
many files which have the name of the source file but different extensions: <span class="path">.aux</span>,
<span class="path">.log</span>, <span class="path">.toc</span>, <span class="path">.lof</span>, <span class="path">.lot</span>, <span class="path">.bbl</span>, &#x2026;
<!--l. 105--><p class="indent" >   All these are files needed by (L<sup>A</sup>)T<sub>E</sub>X to be able to create the table of contents, lists of
figures/tables, the bibliography, the cross references and, also very importantly, to
keep track of what it did (in the <span class="path">.log</span> file).
                                                                          

                                                                          
<!--l. 107--><p class="indent" >   Apart from the external files, images, pictures, &#x2026;, the only files required are
the <span class="path">.tex</span> files, the sources of the document. One can erase all the others.
Sometimes, this is even necessary when (L<sup>A</sup>)T<sub>E</sub>X gets stuck after an error.
<!--l. 109--><p class="indent" >   This can be done using a T<sub>E</sub>Xworks command from the <em><b>File</b></em> menu with the <span 
class="lmsy-10x-x-120">&#x2192;</span><em><b>Remove
Aux files&#x2026;</b></em><a 
 id="dx30-36002"></a> item.
<!--l. 111--><p class="indent" >   When you use this command, a dialog box opens in which you can check/uncheck the files you
want to remove.<span class="footnote-mark"><a 
href="index33.html#fn3x6"><sup class="textsuperscript">3</sup></a></span><a 
 id="x30-36003f3"></a>
The dialog box will only list files that actually exist in the folder; if you removed
all these auxiliary files before, you get a message box saying that there is no file to
remove at the moment.
<!--l. 113--><p class="indent" >   The list of auxiliary files which are taken into account is defined in the file
<span class="path">texworks-config.txt</span><a 
 id="dx30-36004"></a> in the <span class="path">configuration</span> folder of the T<sub>E</sub>Xworks resources folder. You could
add some if required.
   <h3 class="sectionHead"><span class="titlemark">5.7   </span> <a 
 id="x30-370005.7"></a>Changing the configuration</h3>
<!--l. 117--><p class="noindent" >We have seen in section <a 
href="Installation.html#x7-40002">2<!--tex4ht:ref: chap.installation --></a> (on page <a 
href="Installation.html#x7-40002">11<!--tex4ht:ref: chap.installation --></a>) that the first time you use T<sub>E</sub>Xworks, it creates a
resource folder and also that it saves default preferences.
<!--l. 119--><p class="indent" >   It is possible to define a personal place where one wants the resource folder
and the preferences. This can be handy when one wants a portable system (e.g.,
on an USB stick) or when one wants to easily access the templates or completion
folders for modifications.
<!--l. 121--><p class="indent" >   For this, create a file <span class="path">texworks-setup.ini</span><a 
 id="dx30-37001"></a> in the programme folder in which you
specify the path to the folder containing the completion, configuration,
dictionaries,&#x2026;folders and the configuration file (<span class="path">texworks.ini</span><a 
 id="dx30-37002"></a>); there will be two
lines: 
   <div class="fancyvrb" id="fancyvrb15"><a 
 id="x30-37004r1"></a><span 
class="ec-lmtt-10x-x-109">inipath=C:/myfolder/TW_conf/</span><br class="fancyvrb" /><a 
 id="x30-37006r2"></a><span 
class="ec-lmtt-10x-x-109">libpath=C:/myfolder/TW_conf/</span></div>
<!--l. 127--><p class="indent" >   <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">inipath</span></span></span><a 
 id="dx30-37007"></a> for the configuration file and <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">libpath</span></span></span><a 
 id="dx30-37008"></a> for the necessary folders. Here,
<span class="path">TW_conf</span> would replace the resource folder <span class="path">TeXworks</span>. Note that the referenced
folder (here <span class="path">TW_conf</span>) should exist&#8212;it will not be created&#8212;, and that the <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">/</span></span></span> is
used even on Windows (instead of the common <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">\</span></span></span>).
<!--l. 129--><p class="indent" >   If one wants to put the resource folder in the programme folder as a subfolder,
one can use an instruction like <span class="obeylines-h"><span class="verb"><span 
class="ec-lmtt-12">inipath=./TW_conf/</span></span></span>; all relative paths are taken
to be relative to the T<sub>E</sub>Xworks programme folder (on Mac OS X, the folder containing the
app package is used).
                                                                          

                                                                          
<!--l. 131--><p class="indent" >   One can also add a line<a 
 id="dx30-37009"></a> like 
   <div class="fancyvrb" id="fancyvrb16"><a 
 id="x30-37011r1"></a><span 
class="ec-lmtt-10x-x-109">defaultbinpaths=C:/Program</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;Files/MiKTeX</span><span 
class="ec-lmtt-10x-x-109">&#x00A0;2.7/miktex/bin</span></div>
<!--l. 135--><p class="noindent" >to specify where the programmes of the T<sub>E</sub>X distribution are located; but this instruction
is not yet completely operational, especially under Windows.
                                                                          

                                                                          
                                                                          

                                                                          
                                                                          

                                                                          
   <!--l. 5--><div class="crosslinks"><p class="noindent">[<a 
href="AdvanceduseScripting.html" >next</a>] [<a 
href="GoingfurtherEditingtools.html" >prev</a>] [<a 
href="GoingfurtherEditingtools.html#tailGoingfurtherEditingtools.html" >prev-tail</a>] [<a 
href="GoingfurtherOthertools.html" >front</a>] [<a 
href="index.html#GoingfurtherOthertools.html" >up</a>] </p></div>
<!--l. 5--><p class="indent" >   <a 
 id="tailGoingfurtherOthertools.html"></a>  </div> 
</body></html>