Menu

#178 math shortcut desabled

9.0.1
closed
nobody
None
Bug
minor
2018-11-08
2018-08-10
No

When I open alpha, greek letter keyboard shortcuts (among others) are not enabled. To activate them, I have to go to "Latex Menu Option" and activate "Expand Math Menu". This operation must be repeated each time I open alpha.
version: 9.0 vega

Related

Tickets: #178

Discussion

  • Bernard Desgraupes

    Hi Thierry,
    I don't see this. Could you be more specific ? Are you sure you are in TeX mode when you execute the binding ?

     
    • Thierry Berger

      Thierry Berger - 2018-09-15

      Hello Bernard,

      the problem occurs every time I open Alpha. I work mostly on latex files, and latex mode is enabled.

      As long as I do not clicked on one of the following options in the Latex Menu Option:
      Expand Math Menu, Compress Math Menu, Expand Text Menu, Compress Text Menu,
      some of latex shortcuts are not active, for instance the greec letters: control-m ..., or control-command-p, ....

      the shortcut control-command-s doesn't active the \sum{}{}, but causes the corresponding action in text mode: it returns an error annoncement "file.tex is not a file windows".

      However, some other latex shortcuts are active, for example shift-command-e for choosing an environnement, or control-option-s for \textsl{}.

      It seems to me that some of the latex shortcuts are not loaded until I have clicked on one of the Latex Menu Option.

      Sorry for my poor english, and thank you for your interest in this problem.

      Thierry

      Le 15 sept. 2018 à 08:07, Bernard Desgraupes bdesgraupes@users.sourceforge.net a écrit :

      Hi Thierry,
      I don't see this. Could you be more specific ? Are you sure you are in TeX mode when you execute the binding ?

      [tickets:#178] math shortcut desabled

      Status: open
      Created: Fri Aug 10, 2018 02:54 PM UTC by Thierry Berger
      Last Updated: Fri Aug 10, 2018 02:54 PM UTC
      Owner: nobody

      When I open alpha, greek letter keyboard shortcuts (among others) are not enabled. To activate them, I have to go to "Latex Menu Option" and activate "Expand Math Menu". This operation must be repeated each time I open alpha.
      version: 9.0 vega

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/178/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #178

  • Bernard Desgraupes

    Thank you for the details. I checked and re-checked, it works for me and I see no obvious reason why it wouldn't. To help me debug the issue, could you try the following:

    • relaunch Alpha
    • open a tex file (but do not open the LaTeX menu at this point)
    • open the Tcl shell (with cmd-Y)
    • type the following command (press return to execute it)
    join [binding list -key 'm' -mod z] \n
    
    • then type also the following command
    join [binding list -prefix {z 'm'}] \n
    

    and report the result of these two commands.

     
    • Thierry Berger

      Thierry Berger - 2018-09-15

      Here is the result of the commands

      Welcome to Alpha's AlphaTcl shell.
      «» join [binding list -key 'm' -mod z] \n
      z 'm' {} {} {menu::searchProc menu13 {Next Match}} {}
      «» join [binding list -prefix {z 'm'}] \n
      «»

      Le 15 sept. 2018 à 13:08, Bernard Desgraupes bdesgraupes@users.sourceforge.net a écrit :

      Thank you for the details. I checked and re-checked, it works for me and I see no obvious reason why it wouldn't. To help me debug the issue, could you try the following:

      • relaunch Alpha
      • open a tex file (but do not open the LaTeX menu at this point)
      • open the Tcl shell (with cmd-Y)
      • type the following command (press return to execute it)
      join [binding list -key 'm' -mod z] \n

      • then type also the following command
      join [binding list -prefix {z 'm'}] \n

      and report the result of these two commands.

       
  • Bernard Desgraupes

    Thank you, this confirms indeed that the bindings are not loaded. I have to figure out why... Can you think of a particular setting you have made (for instance a preference) that could affect menus or bindings. Are the shortcuts displayed in the Greek menu ?

     
    • Thierry Berger

      Thierry Berger - 2018-09-16

      I just made an observation that surprised me and confirms a loading problem. Whatever the state of the math menu (expanded or compressed), by clicking on the drop down menu, there is only 3 items: math mode, math style and math environnement.
      As soon as I modify one of the following options: compress/extend math/text menu, the missing items appear. There is no problem with the Text Menu.

      Le 15 sept. 2018 à 20:38, Bernard Desgraupes bdesgraupes@users.sourceforge.net a écrit :

      Thank you, this confirms indeed that the bindings are not loaded. I have to figure out why... Can you think of a particular setting you have made (for instance a preference) that could affect menus or bindings. Are the shortcuts displayed in the Greek menu ?

      [tickets:#178] math shortcut desabled

      Status: open
      Created: Fri Aug 10, 2018 02:54 PM UTC by Thierry Berger
      Last Updated: Sat Sep 15, 2018 11:08 AM UTC
      Owner: nobody

      When I open alpha, greek letter keyboard shortcuts (among others) are not enabled. To activate them, I have to go to "Latex Menu Option" and activate "Expand Math Menu". This operation must be repeated each time I open alpha.
      version: 9.0 vega

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/178/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #178

  • Bernard Desgraupes

    Something is obviously going wrong on your installation. Maybe a stale preference. Could you try to quit Alpha, then remove its Preferences folder (normally ~/Library/Preferences/Alpha-v9.0) and then restart the application (this will create a new pristine preferences folder). In case of doubt about the location of the preferences folder, type in the Tcl Shell:

    set PREFS
    

    And see it this solves the problem. If it does not, we'll try something else.

     
    • Thierry Berger

      Thierry Berger - 2018-09-17

      Thank you! it is ok now: the problem was in the ardefs.tcl file

      Le 17 sept. 2018 à 11:27, Bernard Desgraupes bdesgraupes@users.sourceforge.net a écrit :

      Something is obviously going wrong on your installation. Maybe a stale preference. Could you try to quit Alpha, then remove its Preferences folder (normally ~/Library/Preferences/Alpha-v9.0) and then restart the application (this will create a new pristine preferences folder). In case of doubt about the location of the preferences folder, type in the Tcl Shell:

      set PREFS

      And see it this solves the problem. If it does not, we'll try something else.

      [tickets:#178] math shortcut desabled

      Status: open
      Created: Fri Aug 10, 2018 02:54 PM UTC by Thierry Berger
      Last Updated: Sat Sep 15, 2018 06:38 PM UTC
      Owner: nobody

      When I open alpha, greek letter keyboard shortcuts (among others) are not enabled. To activate them, I have to go to "Latex Menu Option" and activate "Expand Math Menu". This operation must be repeated each time I open alpha.
      version: 9.0 vega

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/alphacocoa/tickets/178/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #178

  • Bernard Desgraupes

    • status: open --> fixed
     
  • Bernard Desgraupes

    Great! Resolving as FIXED;

     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.0 --> 9.0.1
     
  • Bernard Desgraupes

    Great! Resolving as FIXED;

     

Log in to post a comment.

MongoDB Logo MongoDB