Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-03-03 Thread Alain . Cochard
Nicolas Goaziou writes on Fri 3 Mar 2017 12:26: > This is a new feature, so it is in development branch only, i.e., > Org 9.1, yet to be released. OK, thanks for the clarification. Regards -- EOST (École et Observatoire des Sciences de la Terre) IPG (Institut de Physique du Globe) | alain.co

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-03-03 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > Nicolas Goaziou writes on Wed 1 Feb 2017 21:34: > > > For the record, i implemented `org-edit-latex-environment'. > > > > Basically, it means you can edit the LaTeX code in a new buffer, using > > latex-mode, with C-c ' [...] > > > Nicolas Goaziou

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-03-03 Thread Alain . Cochard
Nicolas Goaziou writes on Wed 1 Feb 2017 21:34: > For the record, i implemented `org-edit-latex-environment'. > > Basically, it means you can edit the LaTeX code in a new buffer, using > latex-mode, with C-c ' [...] Nicolas Goaziou writes on Fri 3 Feb 2017 22:04: > alain.coch...@unist

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-02-04 Thread Alain . Cochard
Nicolas Goaziou writes on Fri 3 Feb 2017 22:04: > > I have one (minor) question/concern, though: will the indentation > > survive an 'M-x indent-region' or 'M-x org-indent-region'? > > It should, now. Thank you for the heads up. Great, thanks again for your promptness; I can confess it now:

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-02-03 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > Great, thanks a lot. Looking forward to using it (I guess it will be > available in the version following 9.0.4?). Indeed. > I have one (minor) question/concern, though: will the indentation > survive an 'M-x indent-region' or 'M-x org-indent-region'?

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-02-02 Thread Alain . Cochard
Nicolas Goaziou writes on Wed 1 Feb 2017 21:34: > Hello, > > alain.coch...@unistra.fr writes: > > > Charles C. Berry writes on Mon 23 Jan 2017 08:44: > > > > > With export blocks you can get close. > > > > > > If you type =C-c '= inside the following export block, you will get the

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-02-01 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > Charles C. Berry writes on Mon 23 Jan 2017 08:44: > > > With export blocks you can get close. > > > > If you type =C-c '= inside the following export block, you will get the > > contents in a latex buffer. Then indentation and other LATEX/P mode >

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-02-01 Thread Alain . Cochard
Charles C. Berry writes on Mon 23 Jan 2017 08:44: > With export blocks you can get close. > > If you type =C-c '= inside the following export block, you will get the > contents in a latex buffer. Then indentation and other LATEX/P mode > operations are available. When you exit with another

Re: [O] Is it possible to "properly" indent inside latex fragments?

2017-01-23 Thread Charles C. Berry
On Mon, 23 Jan 2017, alain.coch...@unistra.fr wrote: Hello. This is what I obtain if I type each line followed by and then in an org file: * foo \begin{displaymath} \begin{split} a &= b \\ &+c \end{split} \end{displaymath} If I highlight everything and use 'M-x indent-region' or 'M-x

[O] Is it possible to "properly" indent inside latex fragments?

2017-01-23 Thread Alain . Cochard
Hello. This is what I obtain if I type each line followed by and then in an org file: * foo \begin{displaymath} \begin{split} a &= b \\ &+c \end{split} \end{displaymath} If I highlight everything and use 'M-x indent-region' or 'M-x org-indent-region', it does not change. Inst