emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roi Holtzman <roi.holtzman@gmail.com>
To: Ihor Radchenko <yantar92@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 12:44:43 +0300	[thread overview]
Message-ID: <CAA-PQXC1gWoktrNxj0-oQejOAi2F+kM4Z5htkp=irNf8Dy+b1Q@mail.gmail.com> (raw)
In-Reply-To: <87a6ddys3g.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Hi Ihor,

Thank you very much for your reply!
I understand the answer.
Is there a proper way to render latex fragments in latex mode?

Thanks,
Roi

On Sat, 26 Mar 2022 at 12:34, Ihor Radchenko <yantar92@gmail.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 1660 bytes --]

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-25 19:37 [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/)] Roi Holtzman
2022-03-26  9:34 ` Ihor Radchenko
2022-03-26  9:44   ` Roi Holtzman [this message]
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='CAA-PQXC1gWoktrNxj0-oQejOAi2F+kM4Z5htkp=irNf8Dy+b1Q@mail.gmail.com' \
    --to=roi.holtzman@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@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).