[texworks] Command Completion

Jonathan Kew jonathan at jfkew.plus.com
Wed Sep 17 16:02:11 CEST 2008

On 17 Sep 2008, at 2:46 PM, Herbert Schulz wrote:

> Howdy,
> Is there going to be some mechanism for including macros (keyboard  
> or otherwise) in texworks?

Eventually, yes. (And user-configurable key bindings to go with them.)

> The reason I ask is that the Command Completion file includes  
> bullets in arguments and it would be nice to have a macro that finds  
> and selects the next bullet so ou can jump from argument to argument  
> or to the end of completed environments.

Currently, Cmd-Escape jumps to the next bullet, though I am intending  
to change this; I'm thinking that TAB (forward) and Shift-TAB  
(backward) would be more natural. These would apply only within the  
scope of the current completion text; otherwise, TAB would simply  
insert a tab character.

> With TeXshop there were two Applescript macros (find forward/ 
> backward and select bullet) that accomplished that task.
> To get fancier, see the version of TeXShop I generated with internal  
> commands that allow completions to have descriptions of the  
> arguments. If you wish you can play with it as TeXShop218- 
> svn(HS).zip at <http://homepage.mac.com/herbs2>. It's, of course,  
> Mac only and also only has the English localization.

Yes, I remember seeing this and am interested in doing something like  
it in the future.

> Finally, another enhancement that would work cross platform is to  
> include latexmk and typesetting ``engines'' so that bibliography and  
> index generation cross references, etc., are automatically generated.

Is latexmk part of TeX Live or other major distributions? (If not,  
should it be?)


More information about the texworks mailing list