Menu

#148 Problems with the Better Templates feature

9.0rc2
closed
nobody
None
Bug
AlphaTcl
major
2018-05-15
2018-03-14
No

I will illustrate the problem with a simple example. Start with the better Better Templates feature turned off and in a TeX window do the following:

  1. Create an inline equation displaying the cube of x, say, using first the keystroke combination ctrl-cmd-m (which should produce ( | ) • where the | denotes the cursor, then typing x, shift-6, 3, tab, tab should leave you with ( x^{3} )|.
  2. Turn on the Better Templates feature and then repeat 1. I get ( x^{3|}• )• Subsequent uses of the tab key moves the cursor to a variety of curious places, but never to the next bullet stop.

The problem appears to be related to nested templates. For example, if, after ctrl-cmd-m I just hit tab, then the cursor moves to the bullet stop outside the environment, as it should.

Discussion

  • Bernard Desgraupes

    Hi Chris, thank you for reporting. I can reproduce the problem. I'll look into this.

     
  • Bernard Desgraupes

    This is fixed now. The core did something wrong when recalculating the mark positions in the case of a negative change length.

    Changes committed to the repository (rev. 1420 (sourceforge.net)). The core must be rebuilt.

     
  • Bernard Desgraupes

    • status: open --> fixed
     
  • Chris Skeels

    Chris Skeels - 2018-04-03

    Better but not quite fixed. Try type-setting the following: ( \frac{1}{2} ). For me the key-stroke sequence is ctrl-cmd-m, \frac{, 1, tab, 2 tab, tab to reach the end. It is taking an additional tab on leaving the fraction to exit the math environment than it should

     
  • Bernard Desgraupes

    This remaining issue has been fixed now.

    Changes committed to the repository (rev. 1426 (sourceforge.net)). The core must be rebuilt.

     
  • Chris Skeels

    Chris Skeels - 2018-05-14

    This appears to be fixed now and can be closed.

     
  • Bernard Desgraupes

    • status: fixed --> closed
    • Version: 9.0rc1 --> 9.0rc2
     

Log in to post a comment.

MongoDB Logo MongoDB