[texworks] a script question

Pavol Severa pavol.severa at gmail.com
Tue Mar 29 10:43:39 CEST 2011

I would like to write a simple script doing this:
if xcvb is the word right between the cursor, it should replace it by
\begin{xcvb} \end{xcvb}
and place the cursor in the middle. Could you explain me how to do it?
(from the example scripts I only know how to do it if xcvb is selected)
Regards, P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20110329/3406e8e7/attachment.html>

More information about the texworks mailing list