diff options
Diffstat (limited to 'Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html')
-rw-r--r-- | Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html b/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html index 633752a6cef..09ff0572dce 100644 --- a/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html +++ b/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/AdvanceduseScripting.html @@ -37,41 +37,41 @@ <div class="chapternumber"> 6 </div> -<h1><a id="x34-380006" name="x34-380006"></a>Advanced use: -Scripting</h1><a id="dx34-38001" name="dx34-38001"></a> +<h1><a id="x33-380006" name="x33-380006"></a>Advanced use: +Scripting</h1><a id="dx33-38001" name="dx33-38001"></a> <h3 class="sectionHead"><span class="titlemark">6.1</span> <a id= -"x34-390006.1" name="x34-390006.1"></a>Introduction to +"x33-390006.1" name="x33-390006.1"></a>Introduction to Scripting</h3><!--l. 9--> <p class="noindent">All the functions and utilities described so far were built into T<sub>E</sub>Xworks by default. While some of them could be configured or customized to a certain extent, they are intended to suit the most common needs of a general audience. -However, the TE X world is very large and diverse. In order to -enable users to address their special needs—from simply making some -text bold to fulfilling special requirements for the next book or -scientific paper you want to publish—, the core functionality of -T<sub>E</sub>Xworks can be extended or modified by the use of -scripts. <!--l. 11--></p> +However, the T<sub>E</sub>X world is very large and diverse. In +order to enable users to address their special needs—from simply +making some text bold to fulfilling special requirements for the +next book or scientific paper you want to publish—, the core +functionality of T<sub>E</sub>Xworks can be extended or modified by +the use of scripts. <!--l. 11--></p> <p class="indent">Scripts are simple text files that you can open, read, or modify in any text editor (including T<sub>E</sub>Xworks, of course). They are written in a specific scripting language that is essentially a programming language. At the time of writing, T<sub>E</sub>Xworks supports QtScript<span class= -"footnote-mark"><a href="index35.html#fn1x7"><sup class= -"textsuperscript">1</sup></a></span><a id="x34-39001f1" name= -"x34-39001f1"></a> (built-in), Lua (with a plugin), and Python +"footnote-mark"><a href="index34.html#fn1x7"><sup class= +"textsuperscript">1</sup></a></span><a id="x33-39001f1" name= +"x33-39001f1"></a> (built-in), Lua (with a plugin), and Python (with a plugin). To see which scripting languages are available on your system, use the <em class="c1">Scripts</em><span class= "lmsy-10x-x-120">→</span><em class="c1">Scripting T<sub>E</sub>Xworks</em><span class= "lmsy-10x-x-120">→</span><em class="c1">About Scripts…</em> menu item. <!--l. 13--></p> -<p class="indent">Writing scripts<a id="dx34-39002" name= -"dx34-39002"></a> is beyond the scope of this manual, but is +<p class="indent">Writing scripts<a id="dx33-39002" name= +"dx33-39002"></a> is beyond the scope of this manual, but is documented elsewhere<span class="footnote-mark"><a href= -"index36.html#fn2x7"><sup class= -"textsuperscript">2</sup></a></span><a id="x34-39003f2" name= -"x34-39003f2"></a>. Here, only the installation and usage of +"index35.html#fn2x7"><sup class= +"textsuperscript">2</sup></a></span><a id="x33-39003f2" name= +"x33-39003f2"></a>. Here, only the installation and usage of scripts will be discussed. <!--l. 15--></p> <p class="indent">T<sub>E</sub>Xworks distinguishes between two types of scripts: standalone scripts and hook scripts. The primary @@ -96,7 +96,7 @@ T<sub>E</sub>Xworks function they modify is used. <!--l. 19--></p> have by opening the script file. Near the top of the file, you should find a line similar to</p> <div class="fancyvrb" id="fancyvrb17"> -<a id="x34-39005r1" name="x34-39005r1"></a><span class= +<a id="x33-39005r1" name="x33-39005r1"></a><span class= "ec-lmtt-10x-x-109">//</span><span class= "ec-lmtt-10x-x-109"> Type:</span><span class= "ec-lmtt-10x-x-109"> standalone</span> @@ -108,8 +108,8 @@ you can use the dialogue available from <em class= "lmsy-10x-x-120">→</span><em class="c1">Manage Scripts</em> to display this information.</p> <h3 class="sectionHead"><span class="titlemark">6.2</span> <a id= -"x34-400006.2" name="x34-400006.2"></a>Installing -Scripts</h3><a id="dx34-40001" name="dx34-40001"></a> <!--l. 28--> +"x33-400006.2" name="x33-400006.2"></a>Installing +Scripts</h3><a id="dx33-40001" name="dx33-40001"></a> <!--l. 28--> <p class="noindent">A word of caution first: do not install scripts from a source you do not trust! Before installing scripts, you should make sure that the file you are about to install indeed does @@ -159,13 +159,13 @@ dialogue with the <em class="c1">Scripts</em><span class= "lmsy-10x-x-120">→</span><em class="c1">Scripting T<sub>E</sub>Xworks</em><span class= "lmsy-10x-x-120">→</span><em class="c1">Manage Scripts</em><a id= -"dx34-40002" name="dx34-40002"></a> menu item. Simply uncheck the +"dx33-40002" name="dx33-40002"></a> menu item. Simply uncheck the script you want to disable and it won’t bother you again. <!--l. 38--></p> <p class="noindent"></p> <h3 class="sectionHead"><span class="titlemark">6.3</span> <a id= -"x34-410006.3" name="x34-410006.3"></a>Using Scripts</h3><a id= -"dx34-41001" name="dx34-41001"></a> <!--l. 40--> +"x33-410006.3" name="x33-410006.3"></a>Using Scripts</h3><a id= +"dx33-41001" name="dx33-41001"></a> <!--l. 40--> <p class="noindent">Using scripts is simple. Hook scripts are used automatically—you don’t need to do anything. Standalone scripts show up in the <em class="c1">Scripts</em> menu or one of its |