From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YNg8NVReWWTYSQAASxT56A (envelope-from ) for ; Mon, 08 May 2023 22:40:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GAg3NVReWWSxVgAA9RJhRA (envelope-from ) for ; Mon, 08 May 2023 22:40:52 +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 679CCA4C4 for ; Mon, 8 May 2023 22:40:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pw7eY-00059Z-ER; Mon, 08 May 2023 16:40:14 -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 1pw7eW-00056I-Gm for emacs-orgmode@gnu.org; Mon, 08 May 2023 16:40:12 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pw7eU-0006wj-R2 for emacs-orgmode@gnu.org; Mon, 08 May 2023 16:40:12 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3075e802738so4344157f8f.1 for ; Mon, 08 May 2023 13:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683578408; x=1686170408; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=cJT0gf+bjX2d/JaiRFhHQj5M+ux8yKs5PWB8uEaCu+I=; b=oKmng8P+NClePPjorB2B6E+3+yMLMvQvml+WA+wYGoGl9v6MpHZ1cQqXO+0wS48U/V OC4kB6n550ZOwbHde9HzbyO8gNdYJupQ0+ttv4ENbEycLU932FAw568YwU0L5cKruua/ aCXXA7K1XCIecV7i6+LGXhwv8uzrrcbmBYBrjnZnk1a4YRZzMZZTGPi96mfckWZ/DaNf I1XQYEHcTSNb4vKvuB9bUBvbqo6hHB9iQtnEmk/slrylKeSt0znLbwwMh952zfg4/RRQ SH2L2xaRclEFFEMYmv1aQoJ9P3kz784avcaekzmzmsxktEbRQDGS3O7GuOBOaUju1vK+ 7yGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683578408; x=1686170408; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cJT0gf+bjX2d/JaiRFhHQj5M+ux8yKs5PWB8uEaCu+I=; b=RqGZ0oh3dIV5Rad/6r80jcd9Fpa07vHyn0f26fCkFrcg59/BFzPFQuvMS9WAtHZYGR ugKvrtf8KcCjNciPIlTdmXcdgC25YBSxEbHPl83oELJvY28NN7o3SgaDMb1ArM5frqqn QkIyNQVf6ERvUWv6x6wqdN+ujxuD/LXoL9Yx8iLlLn+WS61t0m22es5/5eR8QFkq2eKp JAgNpxDq0Ix+LnfLNeOJCDaobowSHSLZLVGLmBGubNjLG0gUmAf062PgWoHVjbDsAlal dklxEujidYbNJtyNv7frhpjaPJP4os6GV8/1ELZqLiAsZEci1+AXBGbsIAjO4A2767PK Ei0w== X-Gm-Message-State: AC+VfDxKBs/DdiuJdWFsY8Kh4JeBhlq+ycv/6wG7+Vh+eZa7bsyDwKUw l7/trSq49+IzOfVnNbz/6ZU= X-Google-Smtp-Source: ACHHUZ5lUW/ybnMgz9aKwx93giPGu4hrisUC9otUFWuQeRSDfliZ6e/5z1ZktybU3sByxK+X5TIbPA== X-Received: by 2002:a5d:6086:0:b0:306:2671:7cad with SMTP id w6-20020a5d6086000000b0030626717cadmr7647506wrt.55.1683578407712; Mon, 08 May 2023 13:40:07 -0700 (PDT) Received: from localhost ([2a02:587:461e:3253:4ded:7616:f0c2:ac66]) by smtp.gmail.com with ESMTPSA id e6-20020adffc46000000b002fb60c7995esm12319183wrs.8.2023.05.08.13.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 13:40:07 -0700 (PDT) From: Konstantinos Chousos To: Karthik Chikmagalur Cc: Timothy , emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <87pm7ah9ol.fsf@gmail.com> References: <87lek2up0w.fsf@tec.tecosaur.net> <87a5yiveyw.fsf@gmail.com> <875y96y5he.fsf@di.uoa.gr> <875y96v90t.fsf@gmail.com> <87v8h6zdw3.fsf@di.uoa.gr> <871qjuv101.fsf@gmail.com> <87zg6hom0p.fsf@di.uoa.gr> <87pm7ah9ol.fsf@gmail.com> Date: Mon, 08 May 2023 23:40:06 +0300 Message-ID: <87jzxisgk9.fsf@di.uoa.gr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=kon.chousos@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683578452; a=rsa-sha256; cv=none; b=VXvdkUB6mEaI3JwkmQDC4mW5JBjSojdM3KkuWhTgZIhGjjKVpyA0JPdwz8qf2CqrtgHjYy 7xWNlSHqu+E43dnJ5DV9XJLMyHdrT1wikpDkXEG9ngacozhhd5Doq8B0X3y1uXqCknIiXh YEcSbZX9YMBg6Rw8jPKBGxtrnfSASeOZGaGgK+OteM56KJzKHhMIfx7fbHSz1ZXSf2wBkQ kzMzGamFYmeOBogaRit/IrL9uJIxX3dLggCT/cY2SWV6fucb/k3CvdpNg+hRjnnaE4D0Kv nk6MzdfYKJWqwnUxk5i97kRqWV083sYe2JRcX9hb4/5DKWvvEBDyCTWW5zXzHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=oKmng8P+; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683578452; 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=cJT0gf+bjX2d/JaiRFhHQj5M+ux8yKs5PWB8uEaCu+I=; b=TTCocq8fgqy+IpabG9Oqn+wgDwWpMFSijfHJ0GYOO6rmhrmmSOrDfzjGsPafFrRBfWDbWi gU+nBJr2kKai/5szat8nJGWbfdFNV0F50Pp7ZD6rzQvg5nN2dZ0IUhUCnd9/Wjt5gap4lG +ZCl+Mb6tkgbArgew+LgJfiCSyTD7zlzS0mO/lZGVAHbP/AoxuLt0M8j0Pqya9TMLSAx5L P6HSs14coGEGX54k3iHuuSxZSR0OQ8lxChjdILY2Nlrv1t3DXdzCqk7xLfHpwpsfWk9JRT RJSjai52bKAMTzPWlYjBMgkAj6Tgx9IXOjEIVpYB0/DnWP7XDtztBeQdTVXBoQ== X-Migadu-Spam-Score: -9.18 X-Spam-Score: -9.18 X-Migadu-Queue-Id: 679CCA4C4 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=oKmng8P+; 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-TUID: WdHQN+cmJNPL --=-=-= Content-Type: text/plain Content-Disposition: inline > This checks out. I tested previews with lualatex for a bit, and it's > about 8-10x slower than pdflatex. One big chunk of this gap is the > absence of precompilation, the rest appears to be inherent to lualatex. > I'm not familiar with lualatex, so if someone knows how it can be sped > up I'd be glad to be educated. For now I'd recommend using pdflatex for > LaTeX previews. Yes, you're right. Tested pdflatex myself and the difference is like night and day. My choice to use lualatex was based in the fact that I write in greek as well and sometimes may need greek script in latex fragments. But, seeing the difference in speed, both in buffer previews and in live ones, I'll probably stick with pdflatex and just work around the language part. > I've had trouble getting LaTeX environments to show via eldoc in the > echo-area, whereas eldoc-box has worked fine. I'm making a note to > investigate this later. In my setup it only works if I open the eldoc buffer. But eldoc-box doesn't work. >> I tried setting `org-latex-preview-default-process' to `dvipng' and >> found that previews as well appear blank. Don't know what might be the >> problem. > > Is this in the context of previews or HTML exports? Both. But with pdflatex it works. --=-=-=--