From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YEWgHihwVWSCeAAASxT56A (envelope-from ) for ; Fri, 05 May 2023 23:07:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SBqTHihwVWSwywAA9RJhRA (envelope-from ) for ; Fri, 05 May 2023 23:07: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 2543C290E2 for ; Fri, 5 May 2023 23:07:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pv2do-0004pZ-PG; Fri, 05 May 2023 17:07:00 -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 1pv2dn-0004pO-Do for emacs-orgmode@gnu.org; Fri, 05 May 2023 17:06:59 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pv2dl-0007aG-Ny for emacs-orgmode@gnu.org; Fri, 05 May 2023 17:06:59 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3f19afc4f60so15553275e9.1 for ; Fri, 05 May 2023 14:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683320815; x=1685912815; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Qpv+QrMaiSZHGWW/zVXBTfsNvQnoaPI0W2Y30NX184A=; b=Us1Roaba3fTZgIAb9+FTpSny8GcokXSBgz4GRcMBQfXeA1q4t7BrkjX/VJ1PbqQY4J e+M3+qZ/TeSqIeXS3S1ntBnC/OAmNYOLh/g8sV5Hor6UBx6WsGNDh3Qee7vgo7ZIrWl0 djrEEgaNJEiBeqZiLWVph8i6PQbBIbcLU8K2hHToffnqhE/odREhDrp4i8Z4V98VtKK3 xGB6Y2sArKTbwj+OBW7u/NRa+aorBE8nJ2sUrM99yu9qSzNqByL0vSjjoD8iB9cDdqW1 RytUXZsdSqk9zlJhZ3AjeCRF/q1lzP53JkJnMG/lakKf2QNPvwa3vCdl86b/8+yxuAxQ Q6tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683320815; x=1685912815; 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=Qpv+QrMaiSZHGWW/zVXBTfsNvQnoaPI0W2Y30NX184A=; b=aI1bRWXBxomshVx4CGi1Vg0OCOfL41Lxq/ZMYzD1LRm8BkYrUJOFg60SAEknilqBNB UHG+ZIX0xNLcofD/UlV+XvRnIF3Cdfy15FxzL6Bk9s64wRdcF7AkvsAEeSaGp72hmMJa fCrnI4zetb7mA6WtlrhCjXgPZkQBmNtMFh6busqlHYMnimJXpvJjsqAwiDeuGMrp40o5 IPEz2ZCgvzjK/Du8NdkMzcMPGD7UeWXJZUauBk0hV7viQiILpD7ni3DM8bwfqOdxumij q65WRmpPtQ/OZGKAXbaYAoOPrUUCp7lm3w7M0J/pPqixtszxKRTMtaJ7ZFmbBiVOeyA5 QzxA== X-Gm-Message-State: AC+VfDwK7cx/yyuc53YQY+bcZmUotz5lqmMo/Q8aFWQGlrk+DxW7VPmm JRBd2DpUfUl2GpJq/IC1vljQ8UNZgdKaqgM8 X-Google-Smtp-Source: ACHHUZ7NYcEUcbh+xQ8dtlR2DBM4XBwE7MXgL8Zk++WV54ISwnVsP/tUKsDsDzKeoqc6t+MrPdWHEg== X-Received: by 2002:a7b:cb90:0:b0:3f3:468d:d019 with SMTP id m16-20020a7bcb90000000b003f3468dd019mr1827273wmi.16.1683320815031; Fri, 05 May 2023 14:06:55 -0700 (PDT) Received: from localhost ([2a02:587:461e:3253:4ded:7616:f0c2:ac66]) by smtp.gmail.com with ESMTPSA id h8-20020a1ccc08000000b003f17eaae2c9sm9027519wmb.1.2023.05.05.14.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 14:06:54 -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: <875y96v90t.fsf@gmail.com> References: <87lek2up0w.fsf@tec.tecosaur.net> <87a5yiveyw.fsf@gmail.com> <875y96y5he.fsf@di.uoa.gr> <875y96v90t.fsf@gmail.com> Date: Sat, 06 May 2023 00:06:52 +0300 Message-ID: <87v8h6zdw3.fsf@di.uoa.gr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=kon.chousos@gmail.com; helo=mail-wm1-x333.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=1683320872; a=rsa-sha256; cv=none; b=pMBQ10J3lwtMt0dJg8XMRug3NEiKLOu5jHd4XVFhlM67hZet/+19AAxiBUQYmYyq4g3c6+ HkVmFSMa2MLP6SddwaFurTwqY6QLjjHL788BVW0Qefusrl+dRJ98zbq3XYmzN2i8wfUNhx 23awKsUxOUThKMzUHKjXxAMZlP930dm2YTkc7ZEZRoGCjVSUQ16iUOvRB/h8O2d6xJckH6 K67i2zHA3u0sTTayYYZyTiHRAUB0WFrLQTRuBqCNOsKmt7JtNUWG8gIbawLfCo7TZayO/N ynzWi54gi5LGCjMUAZLKBEgzmYBWWSAxPNac/3g80v7jLQ+SsaIME69ngqa0TA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Us1Roaba; 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=1683320872; 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=Qpv+QrMaiSZHGWW/zVXBTfsNvQnoaPI0W2Y30NX184A=; b=RoMtIv6qTnnAAGUC3dsiz3orXsACVFwI8B0Adq+vWavR8ljTgeEAWTJdhg5znDZIPdTHZo 6nvumHEw1wapUyZQueYvN4qLmg0FKFvK/U/20m1O8riuIR6JkrI63c0HKfUWCWw3mu6Xlg yvkfNJmCmNzksUUwcy8wgXZAoWQbS5068Ih72gvCMg7Za7of8HWp8Ru9g82wvlkbpo9E8C 8hPgsud8GZTU373DgJzthoOjba2+PiG/Snzrfmbduxr2YQaNnkFw0ZcU6tk3/nIcZi9eAc Pa6Yrr57lQ7IcZ5Mh6vJgmyK7CG1NzcbiKI3a6AGbT3ZLkdrKqXE/O4B2hUpgw== X-Migadu-Spam-Score: -10.89 X-Spam-Score: -10.89 X-Migadu-Queue-Id: 2543C290E2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Us1Roaba; 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: S8soOqkADrhj --=-=-= Content-Type: text/plain Content-Disposition: inline > Is tooltip-mode turned on? That was it! Thank you so much! Now both error messages and live previews work! > We'd like to focus on improving the user experience of the core features > first. If these issues are cleaned up before 9.7, I will work on > polishing the live previews feature. Totally agree. It should only be merged when its ready. > There is no documentation for live-previews yet. If you would like > to try it -- and I encourage you to -- you could set: > > (setq org-latex-preview-auto-generate 'live) > > and then turn on `org-latex-preview-auto-mode'. The variables > `org-latex-preview-throttle' and `org-latex-preview-debounce' control > the responsiveness of the live previews. The preview now works as stated, although I find it kinda slow to regenerate, even if I set `org-latex-preview-throttle' to 0.2. Also for some reason my previews appear to the right of the cursor, instead of under it like in the linked webm. My last problem is that exports are kinda borked. For example, these days I started using `org-msg' and when my email exports to html and latex is included, one of these happen: - The fragment appears as a blank image when the options `tex:dvipg' or `tex:dvisvg' are used. - The email doesn't even export to html with a message like `org-html-latex-image: Expected LaTeX preview "424ed928d1eaca9e3c4c588469a4a0b87a7f4329" to exist in the cache' with the option `tex:imagemagick'. > If the live preview is not removed automatically after you move away > from a LaTeX fragment, you might have to manually eval > `(org-latex-preview-live--clearout)'. This is one of the many edge > cases with the feature that need to be handled. Yeah, it happens to me to. Even if I remove the fragment the preview persists. Thanks for your quick reply. All the best. --Konstantinos --=-=-=--