From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IdXMeSS7mKjWwEAbAwnHQ (envelope-from ) for ; Sat, 06 Aug 2022 18:12:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KMh6MOSS7mK9XgAAG6o9tA (envelope-from ) for ; Sat, 06 Aug 2022 18:12:20 +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 71200353C5 for ; Sat, 6 Aug 2022 18:12:20 +0200 (CEST) Received: from localhost ([::1]:45034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKMPT-00083a-MZ for larch@yhetil.org; Sat, 06 Aug 2022 12:12:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKMP1-00083S-9j for emacs-orgmode@gnu.org; Sat, 06 Aug 2022 12:11:51 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:42502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKMOz-0008Km-SV for emacs-orgmode@gnu.org; Sat, 06 Aug 2022 12:11:51 -0400 Received: by mail-ej1-x632.google.com with SMTP id j8so9702145ejx.9 for ; Sat, 06 Aug 2022 09:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc; bh=RxzxvBv1CV5V2GLzpIvlHgGiwJUNicNLTEQrsfjs3YQ=; b=mIeotcb3awsJTqvqkTYgEjTS/Tb6do90ZTp0P63LJg7bTssOPGF3h9jZYOO/EXK4Pn mwWFqZxHFQG6Y6Q1ytt1BHwiady6724+9WzfjaI8wGgXr4rVQpDKIj6Uzm5gfuxgnKOo 98zkOSiRpf5tv1pGv8tBwoqc0q5NdnG7jFK5EiGkJkDIbW6J6wLzNwfxsau3A3kRE0pq Nrv3sp0Ud2ABbphlfFBANXBalbiHlo5lFR9V0wClsNp8Y/OWCbe2dIhlL2tWPMF+F5xg Tc2am/C6Khn+s/NqPj+CmA/LNbl5MAHTzE+r7aAZOsW+4shP7352jRJwFnSeq4tp1UaG eXVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc; bh=RxzxvBv1CV5V2GLzpIvlHgGiwJUNicNLTEQrsfjs3YQ=; b=p0jzMwCYpKHCDFCoKAb45fH6tU7LOJBzDOY9wpEK8M4U9T2UJiyKPV+OknAtjh0HxO 2imyzCVNlJ3gev3AJ11mGnvVP7OC+NTFmWMUxhJW/FHTE4SDu6mSNzvAt9aUrsRb65fM eaPdVOukV0zYxijRsAxiIrML4S8EohuIlE85zuGZNm9xpS9sNS8DxcgFaptOvVD4fa+n 1vMM7tehJ5TQRcilaYXekWy1mvC2DsX7XFWh0fIYvHu4byEUSRMFmcG5YT228zn0a+MX +h7BgY3x2n3v5BoA5Kn1nZX7bPWPtzpCBdYlNKCnt52wUXtPEkam0yEJyiXQqU+PgT0s QWXQ== X-Gm-Message-State: ACgBeo1quUvLGjj/tPbMwG0wvrZnY4tyUVU5exC+MK07ND9n3ppettLG J+S0CtyO/xovSTRHyNLhHXXERlhgBT4LfEUE X-Google-Smtp-Source: AA6agR5vID61Qt0TvIE9QaX2pFnaUcKWRDlN999uKPLBOt9jz4rEqp5Y7IQncnvEU5PnHSk7JHtV9A== X-Received: by 2002:a17:907:9483:b0:731:2be4:f73c with SMTP id dm3-20020a170907948300b007312be4f73cmr1866391ejc.380.1659802307687; Sat, 06 Aug 2022 09:11:47 -0700 (PDT) Received: from flexignu ([2a02:908:1d1:72a0:7771:7380:c457:666f]) by smtp.gmail.com with ESMTPSA id kx11-20020a170907774b00b00730df07629fsm2618235ejc.174.2022.08.06.09.11.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Aug 2022 09:11:47 -0700 (PDT) From: Jeremie Juste To: emacs-orgmode@gnu.org Subject: org-latex preview on Windows Date: Sat, 06 Aug 2022 18:11:46 +0200 Message-ID: <87h72pwdvh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=jeremiejuste@gmail.com; helo=mail-ej1-x632.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" 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=1659802340; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RxzxvBv1CV5V2GLzpIvlHgGiwJUNicNLTEQrsfjs3YQ=; b=OKIZhsVjDU9+2Nn7nku0Ex/UcVXyL0Sf94V9XV2cC+svVpdAo4TVpw87wEcue2kbTNRlAk LjuOtQNp0tdYQTIIc2e7RvX3lMXv4DgDvyK89YRxisIA88dvfZuOXse3x1EOi4kzNC+DF0 DaaZNCsZBNT8OvT2PU+GYKGbJK6mr0U0UQh/BRzl6gW22WB97U9EvprqJwWP0tcg6bL0Hk k+wWdWQx2TsARtuAok6JLLLDGmXJLHFxKmc7gbDM27kMsRfrRyazyDhJqFDIrdHQgg47aB BpKeBHMnIG/zy+OwbwsvBBN+XOfUijlXs30wYyGbsn4R9JACGG3u72s45oAtow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659802340; a=rsa-sha256; cv=none; b=V8eIATxyE+cZHEMLaIeTFDJ7FFzZqD0ZXZ3SPqbn0rqRBMWPVr/DKIO4impJbWj8f4AUFN FpWYpX82FZLUJaB8vOaHaEmkQk4+A1COvwAOPTS4mUDL1i1+4gQL68bGtwAt+g4fwY7BR8 ya+hfgiubTzCUwvdI499b01R/kwLvv9KPSmWH2CrVhJNlO1QO98SqaMaYUh71DXR/5QC+1 p/dpOnDTbPAbVdkSPq7tDuU4BcxgGG+nrw5ky8bdP811vQnOUCe8Ru0/BV0bF0+0jtXLTP FlRsGmHIyu+r/hO22ZMQ0KqZNi5HKMe47MvppHF8t6gJ7JUUAShbmoyzWa6vtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mIeotcb3; 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: -6.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mIeotcb3; 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: 71200353C5 X-Spam-Score: -6.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: Om91pBNUhQN5 Hello everyone, I have had difficulties using org-latex-preview to run properly on Windows. The main issue seems to be that the user name on windows gets abbreviated with ~. As far as I understand this generate problems as the temporary folder cannot be found. see for instance these posts https://emacs.stackexchange.com/a/70119 and an old post from Vincente Vera https://list.orgmode.org/CAMfbzvDPLS1eqXJ=7TZH1035Z3Vq4q4-yJMqsVBcGxzP8kDUjw@mail.gmail.com/ Vincente, suggests altering the temporary environment variable (setenv "TEMP" "C:\Temp"). I have tried this option and place it in my .init file but the Temporary file in org-mode uses does not change. As a work around I modified the function org-compile-file in lisp/org/ org-macs.el by adding altering the source variable as such (let* ((source (replace-regexp-in-string "JEREMI~1" "JeremieJuste" source)) This is obviously not an ideal solution but I cannot find any other solution immediately. Have someone else come across the same issue on Windows? Do you have any suggestions? Best regards, Jeremie Org mode version 9.5.4 GNU Emacs 28.1