From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6JH5GOzgPmL0CwAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 10:46:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ONejFezgPmJpAgAAauVa8A (envelope-from ) for ; Sat, 26 Mar 2022 10:46:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26FAD3B487 for ; Sat, 26 Mar 2022 10:46:20 +0100 (CET) Received: from localhost ([::1]:47584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY2zy-0005X5-LP for larch@yhetil.org; Sat, 26 Mar 2022 05:46:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY2yu-0005Wq-NR for emacs-orgmode@gnu.org; Sat, 26 Mar 2022 05:45:14 -0400 Received: from [2607:f8b0:4864:20::e2a] (port=39692 helo=mail-vs1-xe2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nY2yt-0003m8-6c for emacs-orgmode@gnu.org; Sat, 26 Mar 2022 05:45:12 -0400 Received: by mail-vs1-xe2a.google.com with SMTP id g21so10746886vsp.6 for ; Sat, 26 Mar 2022 02:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Mr3LIGppxRideCRnErPNouBIpWIRHveEy3JMqoArnTk=; b=eZMzcVMhErkIxla8mIaK9tQ4vVzyZSwcoepoQoqI/VHnvwZQppByRg26CSD3h3RRyO Qdh4S6hvRrtzu7TADm8GLE61zVZ1oEsbh1nCqUkRAgshBJK9tu/gfrzvgSgNeSFtW2X9 ygWovDoxGuzooKnb12EuMlackJBslHar1jrAPTnbz4Gb6CdWc+acLEUiduxaxK2nuyPq uY6tIgB+RR7Bqh72FUH08N8z81qwSe416xolZjMHnUpUN81EROv7w4UI0AgBuSoA8Je8 EF6qNQEg0+aW1lE4XM3LaGYylwNfnvXQEW7/viRCuTTHoILGZwIv/JHToWD1uTEi3yqZ vT7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Mr3LIGppxRideCRnErPNouBIpWIRHveEy3JMqoArnTk=; b=LuBUw6iZL11ceu0UZGPDV/o4SND+W2JpkJIb2kRqT4skS+mqjJ9QkMWQULV6h6hTW4 JHnxRXxNW+ACMsezGG5/+7MUCBxhYYd9hme7m695prJrCRHDpyI2MYlxboEIAHzUF8EB RPWDJq95dw4gOu9agdyZ7tIhMF9DyYVQOTH6OD+aflB6O6EJ0fiY5ZY5a8mSG4QnFd9/ KjU8vgMOpTvEAXrErXkWfqlu6gmsgazUBd/0RnXCObzbxZ+2Hchl4ycHhPjR4cPm1HgY RzaFtYgsatxr3HaBQRQDiYLm5/C7otWkmO071IDYzIJPV/MK2B5dvxLtDlld7qLJ3omr tMAA== X-Gm-Message-State: AOAM530m3o0HJ9Uo+0kpYci/n3NzGcj+r5ff6UcDB6UDfY3oFvayL63d wULg9sUAAdUsDGNi1lMrj7jvEOUMIfZoNzPXhiw= X-Google-Smtp-Source: ABdhPJzAtx3OLUbw/BOz2c8ZOg4Ui3XoMqs/t/J0o3lp+uJk0MIH6Yqn3BXUzTJFp9LO+EYhqKbLylPzSeQ1Bz7aX6s= X-Received: by 2002:a67:8cc3:0:b0:324:f429:ce14 with SMTP id o186-20020a678cc3000000b00324f429ce14mr6746072vsd.71.1648287910283; Sat, 26 Mar 2022 02:45:10 -0700 (PDT) MIME-Version: 1.0 References: <87a6ddys3g.fsf@localhost> In-Reply-To: <87a6ddys3g.fsf@localhost> From: Roi Holtzman Date: Sat, 26 Mar 2022 12:44:43 +0300 Message-ID: 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/)] To: Ihor Radchenko Content-Type: multipart/alternative; boundary="000000000000614da305db1befe4" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::e2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=roi.holtzman@gmail.com; helo=mail-vs1-xe2a.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648287980; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Mr3LIGppxRideCRnErPNouBIpWIRHveEy3JMqoArnTk=; b=KH1nVr98CwNe8d5JhGFZcw+q+bftU/aulkl3P3fqPfGa4BaD2eVL+txKArvK7WwRGJwfuS QJvrfNp0XxsvCb0Rjp9Vabaab7AyWc8yfja3UYZMipvkgf4lhPHBr5/vdCgnoteRXcE+py lSXYtaF6XlLg5HOfNgQQ2eXtQPt12seRR9D0OhLp99N/KY8QXyzvXwCy+OPV++tnWP54jA Gx/Eqh3Jc/26kPzuNZPTbEBI052hnidnU8N8euWbTDzkSlue3E4KExIKHv7UCkwV0OS8Ho YfjCd3NqzdkyJI/3RGSlePdQOLlhgNtqMS7GR4ZHqf3wujSz8qygnlG9+0yT0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648287980; a=rsa-sha256; cv=none; b=tmInwm++qRW49Ai2zkYBZjo8kdYiR1kZmyPsebfQ4LCLcVqLL9kXVWRcqczCWqDYYCXZYL +2yoVpHzgZlF3p1messgGIO60JLkuf1aSGbnmb6DTl5PIKBw0H2JxAtT3j0DT3MJv3TvA1 z7Aq7ZVMoETJpr92Pueg4BJfVo6/N/pbQki+utoBdSl60Yv/27DbvYq+lezMc9bzjfgN9N f4NdKWdKN4f0kV4IcuO4plPm3fSBZGgW+04Qr4e+qGqF8QGGtFEKXEykedKQJrs/0QDY+R sJMTIlQ78D/rwtlV2joxnE2GV7Dcx5d7eE0nKWtltfbKKQaCX3g6MMSRf1CbZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eZMzcVMh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eZMzcVMh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 26FAD3B487 X-Spam-Score: -7.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: ndKjNie2+Jd5 --000000000000614da305db1befe4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wrote: > Roi Holtzman 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 =E2=80=98**=E2=80=99 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 > --000000000000614da305db1befe4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ihor,

Thank you very much= for your reply!
I understand the answer.
Is there a pr= oper 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 &= lt;roi.holtzman= @gmail.com> writes:

> This is the first time I am submitting a bug report here. I am not sur= e
> this is the proper place. I just took the advice of the warning messag= e
> 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 =E2=80=98**=E2=80=99 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
--000000000000614da305db1befe4--