[texworks] two issues with TeXworks

Scott MacKenzie mack at yorku.ca
Sun Apr 28 19:38:34 CEST 2024


Thanks Stefan:

Here is an example of what appears when I enter Ctrl-F:

Focus is not on the Find field, as I mentioned.  To get focus on the 
Find field to enter a search term, I can click in the field, or _press 
TAB twice_:

I can also move the focus backwards to the Find field by pressing 
Shift-TAB nine times.

I got "Insert citations..." to work.  Thanks for the pointer to the 
TeXworks manual.

Regards,

Scott


On 4/28/2024 11:48 AM, Stefan Löffler wrote:
> 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/f6dd2f5f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TmcghuTln0hgahKx.png
Type: image/png
Size: 23098 bytes
Desc: not available
URL: <https://tug.org/pipermail/texworks/attachments/20240428/f6dd2f5f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AzTQNfs0Ucn1Fhu4.png
Type: image/png
Size: 23108 bytes
Desc: not available
URL: <https://tug.org/pipermail/texworks/attachments/20240428/f6dd2f5f/attachment-0003.png>


More information about the texworks mailing list.