From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KCv8NxMVIWaEZAAAqHPOHw:P1 (envelope-from ) for ; Thu, 18 Apr 2024 14:41:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KCv8NxMVIWaEZAAAqHPOHw (envelope-from ) for ; Thu, 18 Apr 2024 14:41:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="i/0M+4m4"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1713444115; a=rsa-sha256; cv=none; b=lPF1gweCUY4FwWcNdP+DseK0I46mmcyk7r6gdsCtzEh0DCiPITDR79Bt2bfTqAL05yBvcK htDgXUGHdiEushbZMxflBU4WHx4cvI7VoMQ2i1ZpKuMUqAOvkkPih5Psr0a8P5xIfHQfsV GR8XTEBQm4ztaToADKm9b2TtdTiA06h9QDeBqB0cV27El6Ve5j3N/3pkwaishRF03jHCyL CoPtXkSK7/pY8l1PDiRZdi+9MfiThGHxl6loe3jsdEcE8fAaBCam697mVes0C6VL/uYwpu aSBh5CeVoWtVN9h84DXVCixkTd/PesVqwY93vm4h61fjxAskTu9Df1/DdTr+JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="i/0M+4m4"; 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=1713444115; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7E/2DyXlglJtC2yFFkiDqrfJPZ6q1rnIRPKFNCHI8Ic=; b=KKnc1rhs9Axfs6WOM6cpHD2YQsUlp5PdbR0ZO0ctISfI/PpYc3ChxskYYkAhLce3PRhDpx 5V8UHbjZm6XbIsX6LFTWUzB6NCgKgcVK5Cw9Hzmi/IfaJC3OEaJp9r4b2bJfHuugZ/qy0a MHm2tCXoHvBC9D+Sn6p4QgroSoKa9oj9zAW6gMH9CRX7Lfyh5kgjucWNkV0r8AjM+z4/8H WdPtyfp61/2VA5wOrxd8Fro1bF+PnRCOohbW13w68f/vP/Um34MuTyPQB87D5HAJyEmsQv 4eaumeNpCFyRvL54OyXtEnttdJoZga8x0jq9dUDhz48/bZkWjAmZBnzoiKuENQ== 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 8244273FC9 for ; Thu, 18 Apr 2024 14:41:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxR4a-0006Nq-DR; Thu, 18 Apr 2024 08:41:04 -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 1rxBdG-0007F4-Qx for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 16:11:50 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxBdF-0001b1-8g for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 16:11:50 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-346b09d474dso99678f8f.2 for ; Wed, 17 Apr 2024 13:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713384707; x=1713989507; darn=gnu.org; h=mime-version:user-agent:message-id:date:cc:in-reply-to:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7E/2DyXlglJtC2yFFkiDqrfJPZ6q1rnIRPKFNCHI8Ic=; b=i/0M+4m4AuokX2gpsjsCopxTqnRCZ3XZVgbm0uk5qtiNvJUfwANc0ffg70mPpBbHdj HvOrpNPf++uSUcmnxuA8oSvxfMTT+7ekD3ma03zgXnTSvkYBtqQB++5CXYZyGmeBYFLe UEL4BN9bS80d1ZZJvGO2Jc3swWcABzlGWfbujWH4tmnVEY8ztUGmpFLoqWfrIkomq2ue 8849ZCUQKNer0JRgr3y5JHUfw6KjpE1mhGITZRmRhqYFY3TjJk8aUriaD9CnByiItzuv 0svmCEGcH/oXKHo4ZfuE6T4dhOT5WpNUyChD6/O+aBZOfS+nDkW8Uw8d8dgHcw/ie2Oh T13g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713384707; x=1713989507; h=mime-version:user-agent:message-id:date:cc:in-reply-to:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7E/2DyXlglJtC2yFFkiDqrfJPZ6q1rnIRPKFNCHI8Ic=; b=C8njSuu12ujwf1qlgSFupHSBmHjm6Ek2uNugqCAU7VJCwQBJdm2f0k2vnfn5f4S8Z4 rL1YuDlAyyTSN2fk40+7ZZfb/BR6MfBfd5ZqzVf5aAWJem6eqEiAP1p511n4nhWPZ1cM tGE4r6ecwYbcwYcPxn8I4sC9wtTs+0kY4t3lQfmH51vBeU3fAwSm2Z5JyX2w+ltcObp9 OCJquJGODY0tyfq+Umo7tiVvg9UXM/UzBDGe7L1e7d/bDkoyyH3M7Cw8C51QSHC8ReL7 mrhg/A+RaNoE+DWc7HSpNHmNLFSRx/tBdnuLSPDSuPgQduYYt65S44fj7SlvuRDM3g7z Upag== X-Gm-Message-State: AOJu0YxepBfDBzAnNfUHhNCH2dp13KVCiWuBte/ffYSZQXzPbjsf3/YA Pjjft39gppCu8d1I9SCvZSuPOd9uy7VdL0bvoVGGoRNMZf7upNoa X-Google-Smtp-Source: AGHT+IHl8hKaKJYZSxbQ4cmwklumg9JgWT9doI6G6ZfBXzQtac+JBKbNdnpnwVvwDkbNKDuqWLgWsA== X-Received: by 2002:adf:f4c6:0:b0:347:f26d:c183 with SMTP id h6-20020adff4c6000000b00347f26dc183mr283695wrp.45.1713384707206; Wed, 17 Apr 2024 13:11:47 -0700 (PDT) Received: from Kanamori ([46.53.250.202]) by smtp.gmail.com with ESMTPSA id e7-20020a5d65c7000000b00349eb6eae3esm6429wrw.4.2024.04.17.13.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 13:11:46 -0700 (PDT) From: =?utf-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= To: visuweshm@gmail.com Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: 87bkezwzr4.fsf@gmail.com CC: emacs-orgmode@gnu.org, karthikchikmagalur@gmail.com, orgmode@tec.tecosaur.net Date: Wed, 17 Apr 2024 23:11:46 +0300 Message-ID: <86wmov4um5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=karakin2000@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, FAKE_REPLY_C=1.486, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 18 Apr 2024 08:41:02 -0400 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.30 X-Migadu-Queue-Id: 8244273FC9 X-Migadu-Spam-Score: -7.30 X-Migadu-Scanner: mx10.migadu.com X-TUID: 72BtcgY0vyj2 I've got problem when I use this version of org-latex preview: RUNNING: dvisvgm --page=1- --optimize --clipjoin --relative --no-fonts --bbox=preview -o c\:/Users/artsi0m/AppData/Local/Temp/org-tex-DAJVTr-%9p.svg c\:/Users/artsi0m/AppData/Local/Temp/org-tex-DAJVTr.dvi ERROR: can't open file 'c\:/Users/artsi0m/AppData/Local/Temp/org-tex-DAJVTr.dvi' for reading As you can get from the traceback it is problem with windows. But I remember solving simillar problem with org-fc already[1][2]. I just removed escaping (quoting) from one of the elisp functions. So, the main problem of the problem is that on Windows (shell-quote-argument) function will quote c:/ as c\:/ which breaks ability to find one or another file. It maybe other function with this quoting, but I suppose that it is it. Please, point me in the right direction to solve this problem. Maybe I could somehow rewrite shell-quote-argument using advices ? Maybe some more global changes is needed for emacs on windows ? Thanks a lot for the patience and for reading this email. Sorry for misspelling or grammar mistakes, english is not my mother tongue. [1]:https://github.com/artsi0m/emacs-organizer/tree/1e1bac13b0f845cb622db08759b9e14fe35fcae7?tab=readme-ov-file#org-fc-awkfind-on-windows [2]: https://todo.sr.ht/~l3kn/org-fc/43