Re: [AUCTeX] Entering maths

2017-06-14 Thread David Kastrup
Denis Bitouzé writes: > Le 14/06/17 à 08h54, David Kastrup a écrit : > >> Frankly, I never use anything but a U.S. keyboard layout (with >> whatever actual keyboard layout may be printed on the keys themselves) >> with some mode shift or whatever else provides compose-key

Re: [AUCTeX] Entering maths

2017-06-14 Thread David Kastrup
Denis Bitouzé writes: > Le 13/06/17 à 18h12, Jean-Jacques Rétorré a écrit : > >> mar. 13 juin 2017, Denis Bitouzé disait : >> >> >> >> (hitting the backslash key on a French keyboard is a nightmare) >> >> As an example >> >> , >> | (define-key

Re: [AUCTeX] Entering maths

2017-06-14 Thread Denis Bitouzé
Le 13/06/17 à 19h58, goj...@gmail.com a écrit : > On 13 June 2017 at 18:12, Jean-Jacques Rétorré wrote: >> , >> | (define-key key-translation-map [?µ] [?\\]) >> ` >> >> and the very useless key "µ" is now "\" > > Indeed, and there are similar solutions for Windows

Re: [AUCTeX] Entering maths

2017-06-14 Thread Denis Bitouzé
Le 13/06/17 à 18h12, Jean-Jacques Rétorré a écrit : > mar. 13 juin 2017, Denis Bitouzé disait : > > > > (hitting the backslash key on a French keyboard is a nightmare) > > As an example > > , > | (define-key key-translation-map [?µ] [?\\]) > ` > > and the very

Re: [AUCTeX] Entering maths

2017-06-13 Thread Jean-Jacques Rétorré
mar. 13 juin 2017, Denis Bitouzé disait : (hitting the backslash key on a French keyboard is a nightmare) As an example , | (define-key key-translation-map [?µ] [?\\]) ` and the very useless key "µ" is now "\" On a french PC keyboard, The worst is probably the

Re: [AUCTeX] Entering maths

2017-06-13 Thread Denis Bitouzé
Le 13/06/17 à 15h19, goj...@gmail.com a écrit : > Hi Denis, Hi, > take a look at the smartparens package (available on Elpa): > > https://github.com/Fuco1/smartparens/wiki > > I use it to get self-inserting parentheses and dollar signs instead of > Auctex's electric capabilities, and it works

Re: [AUCTeX] Entering maths

2017-06-13 Thread gojjoe
Hi Denis, take a look at the smartparens package (available on Elpa): https://github.com/Fuco1/smartparens/wiki I use it to get self-inserting parentheses and dollar signs instead of Auctex's electric capabilities, and it works fine for the most part. Maybe it'll give you more customization

Re: [AUCTeX] Entering maths

2017-06-13 Thread Denis Bitouzé
Le 13/06/17 à 14h52, Mosè Giordano a écrit : > 2017-06-13 14:21 GMT+02:00 Denis Bitouzé : >> IMHO, too bad TeX-electric-math is nil by default... > > I'd expect some people complaining about any value we'd choose as > default ;-) Except that this is the only one which is

Re: [AUCTeX] Entering maths

2017-06-13 Thread Mosè Giordano
2017-06-13 14:21 GMT+02:00 Denis Bitouzé : > IMHO, too bad TeX-electric-math is nil by default... I'd expect some people complaining about any value we'd choose as default ;-) > But how to get: > > - ‘$|$’ with an "unrepeated" `$', > - ‘\[|\]’ with an "repeated" `$'?

Re: [AUCTeX] Entering maths

2017-06-13 Thread Denis Bitouzé
Le 13/06/17 à 13h09, Mosè Giordano a écrit : > Hi Denis, Hi Mosé, > 2017-06-13 12:51 GMT+02:00 Denis Bitouzé : >> Hi, >> >> does AUCTeX provide something making life easier for inline-math >> expressions (`|' standing for the cursor position): >> >> - `\(|\)', >> - `$|$'

Re: [AUCTeX] Entering maths

2017-06-13 Thread Mosè Giordano
Hi Denis, 2017-06-13 12:51 GMT+02:00 Denis Bitouzé : > Hi, > > does AUCTeX provide something making life easier for inline-math > expressions (`|' standing for the cursor position): > > - `\(|\)', > - `$|$' (OK, it's easy to type two dollar signs and go back to write the >

[AUCTeX] Entering maths

2017-06-13 Thread Denis Bitouzé
Hi, does AUCTeX provide something making life easier for inline-math expressions (`|' standing for the cursor position): - `\(|\)', - `$|$' (OK, it's easy to type two dollar signs and go back to write the expression between the dollar signs, but would be better if done by a shortcut)? In