GNU bug report logs -
#28405
Inhibit auto-fill & LaTeX-indent-environment-list
Previous Next
Reported by: gojjoe <at> gmail.com
Date: Sun, 10 Sep 2017 11:11:02 UTC
Severity: normal
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Uwe Brauer <oub <at> mat.ucm.es> writes:
> Suppose you have (or have a received) a file of that form
>
> \documentclass[a4paper]{article}
> \begin{document}
> \begin{equation}
> a = \left.\int very very long expression in one line\begin{array}
> a
> a
> a
> \end{equation}
> \end{document}
>
> So the equation is badly indented and consist of very long lines.
I'd go back to the sender telling him his code is utterly broken and I
will not fix it 😉
> So I basically want LaTeX-fill-environment to indent the environment
> correctly, and that thanks to the patch is no better, but I also want
> long lines to be broken/wrapped
>
> So far I have seen that I have to jump the end of long lines, press
> space and the line is broken/wrapped, but this extra typing is not very
> comfortable.
Then you have to customize `LaTeX-indent-environment-list' and remove
the entries for 'align', 'equation' and other math environments. They
will then act like regular environments (in theory).
Best, Arash
This bug report was last modified 3 years and 163 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.