[texworks] Custom shortcuts are not working (was: New version 302/303)
st.loeffler at gmail.com
Mon Jun 8 07:22:46 CEST 2009
On 2009-06-07 21:52, Alain Delmotte wrote:
> PS Now I'll try to understand the patch for Lua.
> If I understand well, this would make the "actions.ini" unnecessary -
> this never worked for me, Stefan?
Actually, if all works as planned, it shouldn't be too difficult. As I
posted on Google Code, you need to download the Lua dlls and development
files and put them somewhere where C++ can find them. I gave a short
description about how this may be done on Windows, but admittedly I
didn't test it. And the rest should be taken care of for you by the
patch utility ;).
At least at the current state of development, it doesn't have much to do
with the actions thing. The actions are there to redefine the shortcuts
for certain commands in TW (such as those accessible from the menu or
the toolbar) which are called "actions" in Qt. Lua scripting is intended
for extending TW core functionality.
In any case, the actions stuff should be working, though (it's working
for me). A few notes/questions about that:
* Did you apply the patch to your current sources before build (it's
not in the repository yet - took me some time to notice ;); see the
* Could you do the following:
Create a file C:\actions-test.ini containing the one line
actionOpen = Ctrl+1
Then edit your TeXworks.conf and put the following line
right under the line
(and make sure there's no other line starting with shortcutsMapFile)
Then save the file, run TW, and press Ctrl 1, which should bring up
the open dialog. If it doesn't we need to get into more debugging.
More information about the texworks