<div>Hi All,</div>
<div> </div>
<div>Here is something a little bit exciting - well to me any way :-)</div>
<div> </div>
<div>Its something I really wanted for checking package options and usage.</div>
<div> </div>
<div>You can use a simple Lua script, if you are using MiTeX (and simply alter it for other distributions),</div>
<div>to get LaTeX package help from within Stefan&#39;s experimental Lua TeXWorks editor version.</div>
<div> </div>
<div>Simply highlight the package name - to make it clear (appologies to advanced users) the bit in between the braces \usepackage{graphicx} i.e. graphicx and use this script -</div>
<div>(substitute &quot;mthelp&quot;  for your distribution&#39;s package help call.</div>
<div> </div>
<div>We should be careful to only highlight a non-system-destructive package name! So far as I know no CTAN LaTeX package names are synonymous with OS commnds that are dangerous are they?</div>
<div> </div>
<div>--[[TeXworksScript<br>Title: Package Help<br>Description: Puts Date Time in<br>Author: Paul A Norman From gleanings in lua chm help Lua 5.1 Reference Manual, wiki, and tutorials<br>Version: 0.1<br>Date: 2009-09-19<br>
Script-Type: standalone<br>]]</div>
<div> package = &quot;mthelp &quot; .. TW.getSelectedText()<br> os.execute(package) 
<div> </div>
<div>Apparently, according to what I read, the Lua os.excute() is simillar to C&#39;s system()  which made me wonder if ... ;-)</div>
<div> </div>
<div>Paul</div></div>