[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] [preview-latex] Play nice with fill-paragraph and/or auto-f

From: Johannes
Subject: Re: [AUCTeX] [preview-latex] Play nice with fill-paragraph and/or auto-fill-mode or longlines-mode
Date: Wed, 9 Apr 2014 16:36:21 +0200

Could someone familier with preview.el at least point me to the
function that handles the actual replacement of text with rendered


On Fri, Mar 7, 2014 at 7:42 PM, Johannes <address@hidden> wrote:
> Users that like to wrap their text at the fill-column boundary, using either
> hard-wrap (with fill-paragraph command and/or auto-fill-mode) or temporary
> hard-wrap (using longlines-mode) (see
> for a general survey) experience
> some problems with preview-latex:
> The result are lines, that use actual newline characters to limit the length
> of each line (to the value fill-column). If the line contains a formula this
> could look like this example:
> Lorem ipsum dolor sit amet, consectetur $\int_0^t x^2
> + x dx$ veniam, quis nostrud exercitation ullamco.
> Preview latex will render the math expression and put it in line first line
> and emacs will put everything on one long line.
> Proposed Solution:
> If the expression replaced by preview-latex contains a newline character, a
> newline character should be appended or prepended to the replacing
> expression.
> Is this possible?
> Thanks!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]