unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thomas Bucaioni <thomas.bucaioni@gmail.com>
To: Glenn Morris <rgm@gnu.org>, 34979@debbugs.gnu.org
Subject: bug#34979: 24.5; indent .tex broken
Date: Sun, 31 Mar 2019 15:02:58 +0200	[thread overview]
Message-ID: <CAKLB5NT-oS4MVVR2WcD+Zf5RQst3rdkE9AehJWxkyUuoX=NDeA@mail.gmail.com> (raw)
In-Reply-To: <CAKLB5NQPNd=o2XrY8NUTF5ko4Hy21rwNreAFd4P6dZqkv4t0MA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1551 bytes --]

A minimal example in attachment

Le dim. 31 mars 2019 à 13:43, Thomas Bucaioni <thomas.bucaioni@gmail.com> a
écrit :

> This breaks the indentation too :
>
> \newcommand{\intervalleof}[2]{
>   {\left.\vphantom{#1#2}\right]}
>            {#1}
>            \mathpunct{};\mathpunct{}
>                      {#2}
>                      {\left.\vphantom{#1#2}\right]}
>                        }
>
>
> Le dim. 31 mars 2019 à 12:16, Thomas Bucaioni <thomas.bucaioni@gmail.com>
> a écrit :
>
>> By the way, \mathbb{R}^{*[*0,\infty)} breaks the indentation too on
>> emacs 25. It's the probabilists notation... With \mathopen and \mathclose,
>> it's fixed :
>> \mathbb{R}^{\mathopen{[}0,\infty\mathclose{)}}
>>
>> How do pass to emacs26, apt-get install emacs26 answers 'not found' ?
>>
>> Le sam. 30 mars 2019 à 19:31, Thomas Bucaioni <thomas.bucaioni@gmail.com>
>> a écrit :
>>
>>> Hello,
>>> Someone found a fix on StackExchange :
>>> https://emacs.stackexchange.com/questions/48553/indentation-broken-with-all-inputfiles-tex
>>>
>>> Le mer. 27 mars 2019 à 13:27, Glenn Morris <rgm@gnu.org> a écrit :
>>>
>>>> Thomas Bucaioni wrote:
>>>>
>>>> > When pressing the TAB key, the indentation doesn't happen. Even, the
>>>> > text is translated as in a Word or LibreOffice document.
>>>>
>>>> Please give a minimal complete example starting from emacs -Q.
>>>>
>>>> > In GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11)
>>>>
>>>> Please try the current release (26.1 at time of writing).
>>>>
>>>

[-- Attachment #1.2: Type: text/html, Size: 3354 bytes --]

[-- Attachment #2: minimalIndetationBreak.tex --]
[-- Type: text/x-tex, Size: 902 bytes --]

\documentclass{article}

\newcommand{\intervalle}[4] {
  \mathopen{#1}
  #2
  \mathpunct{};
  #3
  \mathclose{#4}
}
\newcommand{\intff}[2] {
  \intervalle
      {\left[\vphantom{#1#2}\right.}
        {#1}
        {#2}
        {\left.\vphantom{#1#2}\right]}
}
\newcommand{\intfo}[2] {
  \intervalle
      {\left[\vphantom{#1#2}\right.}
        {#1}
        {#2}
        {\left[\vphantom{#1#2}\right.}
        }
        \newcommand{\intoo}[2] {
          \intervalle
              {\left.\vphantom{#1#2}\right]}
                   {#1}
                   {#2}
                   {\left[\vphantom{#1#2}\right.}
                   }
                   \newcommand{\intof}[2] {
                     \intervalle{\left.\vphantom{#1#2}\right]}
                              {#1}
                              {#2}{\left.\vphantom{#1#2}\right]}
}

\begin{document}
Bonjour, j'\'edite en \LaTeX~!
\end{document}

  reply	other threads:[~2019-03-31 13:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 17:04 bug#34979: 24.5; indent .tex broken Thomas Bucaioni
2019-03-27 12:27 ` Glenn Morris
2019-03-30 18:31   ` Thomas Bucaioni
2019-03-31 10:16     ` Thomas Bucaioni
2019-03-31 11:43       ` Thomas Bucaioni
2019-03-31 13:02         ` Thomas Bucaioni [this message]
2019-04-05 11:36       ` Basil L. Contovounesios
2019-04-05 11:36     ` Basil L. Contovounesios
     [not found]       ` <CAKLB5NS7HLz2sP=rL+6Np7GP9=XiHhoBKokZx1Zf7QYs5wuxWw@mail.gmail.com>
2019-04-06 22:34         ` Basil L. Contovounesios
2019-04-06 23:17           ` Thomas Bucaioni
2020-01-16 14:16           ` Stefan Kangas
2020-08-04 15:53             ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKLB5NT-oS4MVVR2WcD+Zf5RQst3rdkE9AehJWxkyUuoX=NDeA@mail.gmail.com' \
    --to=thomas.bucaioni@gmail.com \
    --cc=34979@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).