[texworks] two issues with TeXworks

Stefan Löffler st.loeffler at gmail.com
Sun Apr 28 17:48:30 CEST 2024


Dear Scott,

On 22.04.24 22:16, Scott MacKenzie wrote:
> Sorry to bother you.  This my first email to this address, so I hope 
> this is the correct place to ask this question.

Yes, it absolutely is.

> 1.  I recently updated to TeXwork 0.6.9.   The search dialog seems to 
> not work as before.  When I use Ctrl-F, the search dialog opens. 
> That's fine, of course, but focus is *not* on the Find field as it 
> should be.  I have to (i) move my hand off the keyboard to acquire my 
> mouse,  (ii) move the pointer to the Find field, (iii) click, (iv) 
> move my hand back to the keyboard, and finally (v) type in the search 
> term.  This is really annoying.  Obviously, the Find field should have 
> focus immediately when the search dialog opens. Did something go wrong 
> in the update to 0.6.9?7

This is curious. I don't think the relevant code changed recently, and 
it works as expected on my Linux machine. But of course, new library 
and/or Windows versions could affect this.
Which field does have focus? Can you press the Tab key (maybe 
repeatedly) to move the focus to the text box? If so, how many times?

> 2. *Insert Citations...* doesn't work.  When I type Ctrl-Shift-C, no 
> dialog pops up.  Instead, I get a message, *No '%!TEX bibfile' modline 
> found*.  I'm not sure what this means, but I suspect something is 
> wrong with my setup.  Can you help?
>

You need to tell TeXworks which .bib file to use (it doesn't 
automatically pick it up, mostly because of the lack of full project 
support so far). For more details (particularly about the syntax), 
please have a look at the latest version of the manual (which should 
come bundled with TeXworks) or at 
https://github.com/TeXworks/texworks/wiki/Magic-Comments#using-the-insert-citations-feature

HTH,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texworks/attachments/20240428/6b35a679/attachment.htm>


More information about the texworks mailing list.