emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Roi Holtzman <roi.holtzman@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] rendering latex fragment in latex mode is not working [9.6 (9.6-??-e7ea951 @ /Users/roiholtzman/.emacs.d/.local/straight/build-27.2/org/)]
Date: Sat, 26 Mar 2022 17:34:59 +0800	[thread overview]
Message-ID: <87a6ddys3g.fsf@localhost> (raw)
In-Reply-To: <CAA-PQXDy5-i_HwKdphG48jgheyK=YNWdc4_cEj=i2oEdbWtLyg@mail.gmail.com>

Roi Holtzman <roi.holtzman@gmail.com> writes:

> This is the first time I am submitting a bug report here. I am not sure
> this is the proper place. I just took the advice of the warning message
> I got.

Thank a lot for the report! This is indeed the right place.

> When I am in latex mode (writing a tex document) and I run
> `org-toggle-latex-fragment` I get the error
> ```
> Warning (org-element-cache): org-element--cache: Org parser error in
> main.tex::38463. Resetting.
> The error was: (error "rx ‘**’ range error")
> Backtrace:
> nil
> Please report this to Org mode mailing list (M-x org-submit-bug-report).
> ```

You cannot run `org-toggle-latex-fragment' outside of Org buffers. It
used to work, but we made some changes that expect the major-mode to be
org-mode when analysing buffer text.

Best,
Ihor


  reply	other threads:[~2022-03-26  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 19:37 Roi Holtzman
2022-03-26  9:34 ` Ihor Radchenko [this message]
2022-03-26  9:44   ` Roi Holtzman
2022-03-26  9:58     ` Ihor Radchenko
2022-03-26 10:01       ` Roi Holtzman

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=87a6ddys3g.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=roi.holtzman@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).