[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run `fill-paragraph' on all the paragraphs in the currently opened L
From: |
Hongyi Zhao |
Subject: |
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document. |
Date: |
Mon, 18 Oct 2021 08:22:01 +0800 |
On Sun, Oct 17, 2021 at 11:30 PM Yuri Khan <yuri.v.khan@gmail.com> wrote:
>
> On Sun, 17 Oct 2021 at 12:30, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> > The `fill-paragraph' will fill a paragraph at or after the point. But
> > I want to `fill-paragraph' on all the paragraphs in the currently
> > opened LaTeX document. Is there a convenient way to do this?
>
> Why do you even want that?
I use SyncTeX to do the forward and backward search, which is based on
linefeed separated line to locate the position in the source LaTeX
document. If a paragraph is arranged in one line, the backward search
will always jump to a very inaccurate location.
> When you compile,
> LaTeX will lay out your text by typographic rules.
> Meanwhile, you’ll have better experience
> treating your LaTeX source as source code —
> keep it in a VCS
> and format using semantic linefeeds[1].
>
> [1]: https://rhodesmill.org/brandon/2012/one-sentence-per-line/
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document., Yuri Khan, 2021/10/17
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document.,
Hongyi Zhao <=
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document., Hongyi Zhao, 2021/10/18
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document., Emanuel Berg, 2021/10/18
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document., Emanuel Berg, 2021/10/18
Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document., Emanuel Berg, 2021/10/18