[texworks] Getting package help - a Script

Paul A Norman paul.a.norman at gmail.com
Mon Feb 14 00:12:00 CET 2011


This script runs TexDoc using a package name highlighted in the Tw editor.

This will either show package help or other choices if available.

Download From: http://code.google.com/p/texworks/issues/detail?id=261#c53

If you are using and have MiKTeXes automatic package loading turned
on, and are using a new package - compile your Tw document at least
once before using this script if you want help for that package.

 Shortcut: Alt+T & Alt+D

 NEED: You'll have to turn on Edit.Preferences/Scripts System commands
for this to work read warning there.

 Install: anywhere in your script folder tree,
           then Tw Menu Scripts / Scripting TeXworks/  Reload Script List

 USAGE: double click on a package name (select name) in Tw editor and
use this short cut (above)

 You may need to associate Yap (or other) with .dvi files. On MikTex
Yap.exe is in the
 <MiTeX Location>\miktex\bin folder

 I origianlly did this as a Lua script in 2009-09-19

This one uses a different shortcut.

paul.a.norman at gmail.com

More information about the texworks mailing list