From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cFVTKKvi5GSDAgAASxT56A (envelope-from ) for ; Tue, 22 Aug 2023 18:30:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uDMtKKvi5GQjTwAAauVa8A (envelope-from ) for ; Tue, 22 Aug 2023 18:30:35 +0200 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 5BE013A082 for ; Tue, 22 Aug 2023 18:30:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=VxQ1FrgR; 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"; dmarc=pass (policy=quarantine) header.from=mailfence.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692721835; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uosvd/7MuPryyqWM12TuYI92pGRoMZidIhF5D46ENEI=; b=f+w3ykIYGCNm7o9ghSu6wbovh6Sh46pnPVvz9jlwCxXHIJTT/XUBYacJcNPd+zHgBS6Scy kEs8JQPJMdhfgRkeMZfQkygVFHBpJ4OscAG7nXV7ckULr0o2nTQtQUJiCKEZggSbxeLEsQ 3So7ReivJFQ6eHKFrFUWWMKPvPhLatyRDARwobx0maIHMpeB3Hyi8h6nFpd+9W7yiVQZem bkhoHS/svgH3jvTvhxmnW66o/nX2lsqURgCOGKZuXLzHxFRmVV30jlUnowr3JiCz7rNsd1 W79rw/8rualHyA9OfAGL/s9bImzKwbZqQY/WmhFbVcBcbpBcXd+6JjcDjLkSlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailfence.com header.s=20210208-e7xh header.b=VxQ1FrgR; 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"; dmarc=pass (policy=quarantine) header.from=mailfence.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692721835; a=rsa-sha256; cv=none; b=Q/oaE51QNRJzy8MQp/bWZyEuDUx9dUYljEofX1hykGVeIjcl4UV7LpBCOiP6PFLP3U3adm Sj2iSE+V+9zpdBBwdS461qNDmnSfAeryxCgf92uU3ZZnYrTp99evdI5brFAmAi3zUm3z2x mOrBVEM+SJwg/jKN2NwK1+hChKqKXt8/KZUr9XRzAyF/3ObHJ48d4k3qxHuZ+ZvFZ0srMg yG8YYWIzniIoZ6zIkolGCrJj6ntz4lA+aV67/3DrDtT+m8HFD+QUXe+vvSjJEzx6KjSCLg 6tD65TGPLJJsTL0GQt9q05yJW5XYXLxjv32wXvsry39kVpfzg1MqLwIGahbaZQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYUGF-0001TT-RM; Tue, 22 Aug 2023 12:29:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYUGE-0001SM-Fy for emacs-orgmode@gnu.org; Tue, 22 Aug 2023 12:29:42 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYUGB-00033u-B5 for emacs-orgmode@gnu.org; Tue, 22 Aug 2023 12:29:42 -0400 Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 7FB6230C2 for ; Tue, 22 Aug 2023 18:29:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1692721772; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2687; bh=uosvd/7MuPryyqWM12TuYI92pGRoMZidIhF5D46ENEI=; b=VxQ1FrgRrET5OvqTvEAfrX3M/9mHKFBoZgRSQFTdJMmqnbLfF6RrqGgVOU+Mz/RM 0Lssgjv+eyG43YQ+t1mZEVmTE767fPIoxqlyzH73DvqwVzbei1CLJcpWtXoC6K7+GJe VIQZKsMsklA6hA3TXi/m4Qj+3fpzazBx5/rTSWL2mnS+JnHEySoXbDX3J1xeT1RJhyV 4UwVDDWvQNsDgaTdFLuhTPdR2d5aBotALktdTn3DbqaMSq3VRxIyCw2wFXHfvbfmzE4 ouIWVntiGHbPaRcGHisv7jiWp8a6qaMjkFLSKKIoGhja6poTWgoIc0XFhM51a/1FMh+ ny5roU6ZKQ== Date: Tue, 22 Aug 2023 18:29:29 +0200 (CEST) From: Edgar Lux To: Emacs Orgmode Message-ID: <89484759.168944.1692721769762@ichabod.co-bxl> In-Reply-To: <87ttsw8hha.fsf@localhost> References: <1650384805.753459.1692364837267@ichabod.co-bxl> <87ttsw8hha.fsf@localhost> Subject: Re: [BUG] Warning when creating preview MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -9.70 X-Spam-Score: -9.70 X-Migadu-Queue-Id: 5BE013A082 X-TUID: 6KRFHxQ7AJlq On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote: > May you try to install the latest stable Org first, following > https://orgmode.org/manual/Installation.html? You should get M-x > org-version printing Org 9.6.7. > Then, let us know if the warning keeps appearing. * What happens When I type some equations and get the preview, I get this warning * Steps to reproduce 1. Type this equation #+begin_quote \begin{gather} t = 0 \end{gather} #+end_quote 2. Ask for preview =C-c C-x C-l= with point on the equation 3. Ask to remove preview (without moving point) =C-c C-x C-l= 4. You get the message (below) If you repeat 1--3, the message is gone. It comes back if you remove the =./ltximg/.svg= * My "system" #+begin_src emacs-lisp (setq org-latex-pdf-process '("xelatex -file-line-error -no-pdf -interaction nonstopmode -shell-escape -output-directory %o %f" ;; Check this too: https://tex.stackexchange.com/a/455164 "[[ -f %o/%b.idx ]] && texindy %o/%b.idx" ;; https://stackoverflow.com/a/57734531 ;; "latexmk -pdfxe -bibtex %F") ; gives issues with silly errors "latexmk -shell-escape -f -pdfxe -bibtex %F") ;; https://emacs.stackexchange.com/a/33172 org-preview-latex-process-alist (quote ((dvisvgm :programs ("xelatex" "dvisvgm") :description "dvi > svg" :message ((concat "you need to install the programs: " "xelatex and dvisvgm.")) :use-xcolor t :image-input-type "xdv" :image-output-type "svg" :image-size-adjust (1.3 . 1.5) :latex-compiler ("xelatex -no-pdf -interaction nonstopmode -output-directory %o %f") :image-converter ("dvisvgm %o%b.xdv -n -b min -c %S -o %O")) )) org-preview-latex-default-process 'dvisvgm) #+end_src #+begin_src emacs-lisp (format "%s\n%s" (org-version) (emacs-version)) #+end_src #+RESULTS: : 9.7-pre : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) : of 2023-01-03 Org commit: 3cbd9f423385bf725dc964a5cff573bba17db3ff * The message #+begin_example Warning (org-element-cache): org-element--cache: Org parser error in t.org::189. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: " backtrace-to-string(nil) org-element-at-point() org-element-context() org-latex-preview(nil) funcall-interactively(org-latex-preview nil) call-interactively(org-latex-preview nil nil) command-execute(org-latex-preview) " Please report this to Org mode mailing list (M-x org-submit-bug-report). Disable showing Disable logging #+end_example -- Sent with https://mailfence.com Secure and private email