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


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.  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).

Bruno


  reply	other threads:[~2023-03-02 19:01 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 [this message]
2023-03-06 17:02   ` chris
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=6400f240.050a0220.19031.cb2b@mx.google.com \
    --to=brubar.cs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=inkbottle007@gmail.com \
    /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).