emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: chris <inkbottle007@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: visual-line-mode don't play well with org-latex-preview
Date: Mon, 06 Mar 2023 18:02:01 +0100	[thread overview]
Message-ID: <5913981.lOV4Wx5bFT@pluto> (raw)
In-Reply-To: <6400f240.050a0220.19031.cb2b@mx.google.com>

On Thursday, 2 March 2023 20:00:14 CET Bruno Barbier wrote:
> 
> Hi Chris,
> 
> chris <inkbottle007@gmail.com> writes:
> 
> > Hi all,
> >
> > ```
> > hello hello hello hello hello hello hello hello hello hello hello hello hello 
> > hello hello      \(\text {hello hello hello hello hello hello hello hello}\)
> > ```
> >
> > If you put the above text in a org file, and activate `visual-line-mode` and 
> > `org-latex-preview`, depending on the length of the initial part of the text, 
> > the generated png/svg image from latex expression can be displayed in full, 
> > partially hidden or totally hidden.
> >
> 
> I'm observing the same behavior.
> 
> The preview is not always fully visible.  But, after adding some text
> (at least one space after the preview), Emacs wraps as needed, so that
> the preview remains visible. 

That is a very nice workaround.

> Emacs is just not wrapping correctly in
> that edge case, where there is nothing at all after the latex preview.
> 
> The behavior looks the same using only text-mode (without using org).
> You should probably report this as an Emacs bug (see M-x
> report-emacs-bug).

What command for latex preview in text mode? (I'll probably figure that out.)

Yes, I should definitely report that bug.

Thanks a lot,
Chris

> 
> Bruno
> 






  reply	other threads:[~2023-03-06 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 17:14 visual-line-mode don't play well with org-latex-preview chris
2023-03-02 19:00 ` Bruno Barbier
2023-03-06 17:02   ` chris [this message]
2023-03-08 19:14     ` Bruno Barbier
2023-03-09  0:24       ` chris

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.orgmode.org/

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

  git send-email \
    --in-reply-to=5913981.lOV4Wx5bFT@pluto \
    --to=inkbottle007@gmail.com \
    --cc=emacs-orgmode@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/org-mode.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).