From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gA70LCC7xmK1gAAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 12:53:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oJyWLCC7xmKy9wAAauVa8A (envelope-from ) for ; Thu, 07 Jul 2022 12:53: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 68E23297D5 for ; Thu, 7 Jul 2022 12:53:20 +0200 (CEST) Received: from localhost ([::1]:39090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9P8J-0006U9-93 for larch@yhetil.org; Thu, 07 Jul 2022 06:53:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9P6i-0005P0-9h for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 06:51:40 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:41874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9P6g-0000Zu-H8 for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 06:51:40 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 23so17765605pgc.8 for ; Thu, 07 Jul 2022 03:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=PU0uLTZFaA5NEWPjUWR/0Ua/SrMfwXW8eMtxpnKIZsk=; b=g6ozTHEWA3lRI4xehDYHGhMT7ALT35wuFUIf0NcO6oHaumr0Boq8wcO+iOpPfiEB1H /HOcICAFNMp31OW8QCuu0Srtpo61mPICvrPMp6StbG1DUCzsBSeC1WWzGrDZ9iHBZZBy VDSvQJGAp6HmHdlKkDindGo0INWuXlCfnhcZHZ+uj/94rLAJbv7SsONBaaNqtOEg1ULU mcPGuZyBB4anbIL6d2BIy/4oO3HwXnODGsImFeylelasVOh7s45g4ywuJL2JRgcypzjk sTT0KwCRdPDlswQreypNyDCNGzhlRw/8RBmVTkvAjRwUXaINB98wenesbKA22UooqtWY XSYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=PU0uLTZFaA5NEWPjUWR/0Ua/SrMfwXW8eMtxpnKIZsk=; b=tpaIQI+H1ZwXf7qm8NTeOplbcdkTwGXrJGXeXUoiLQg2QJietmifEQHUBV0IM9JDEX enFVW+n8MiKWXMm5MtHp/sdfXw15iEwcE7LKFJJ495QNm0+aiOsu9udIKouL1qhhchru jA/Ktkn9LX2xPQ70JBNBeFIXxrhARJOuQwGfNGbda2upb2PZQ2jxS7U/TrAzua2/1itW nR1P3Z/ztj9b2ynqcysxjmaNsZgqhEQCaOxfv1gALOtrEoRt5JqYi+7bMK/mJCSEDtIV rWqfX++eekC1gmNugYBsWHWGkBSpgjUFF0ltJ+TIb26m7C4Gs+amUCFh3NWEZbnPBiEv WLGQ== X-Gm-Message-State: AJIora9j/OM/2dHGy4euOYVBObSUq3tZiToWRDRFSWPCEgcWrxhEWfmb 3ZkKS+zvm1hKQdvMTjnOhvI= X-Google-Smtp-Source: AGRyM1tVACn/0b8+4go84ycam6ftW/3UIxGniyiUiQQpz6UQBnocHFcROle5Bgubjf0B2KVPoCN8/w== X-Received: by 2002:a63:115b:0:b0:40d:e7a0:37f9 with SMTP id 27-20020a63115b000000b0040de7a037f9mr38714598pgr.78.1657191097278; Thu, 07 Jul 2022 03:51:37 -0700 (PDT) Received: from localhost ([209.95.60.151]) by smtp.gmail.com with ESMTPSA id l15-20020a63da4f000000b0040d0a57be02sm25255685pgj.31.2022.07.07.03.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 03:51:36 -0700 (PDT) From: Ihor Radchenko To: emacs@vergauwen.me Cc: Pedro Andres Aranda Gutierrez , Org Mode List Subject: Re: Re: [PATCH] ob-latex: Added support for including files with a relative path In-Reply-To: References: Date: Thu, 07 Jul 2022 18:52:40 +0800 Message-ID: <87mtdlurd3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1657191200; 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: 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=PU0uLTZFaA5NEWPjUWR/0Ua/SrMfwXW8eMtxpnKIZsk=; b=VDqbgIhIAg6oQvL213WU3mWIaFhtWe+mGSkfsYupyu/MfBAtgOBUdPZ8xFCEZ6pztxdnSs MoMd8WBJXSr0e5fDxRJuNJdjASqbCGk8f7W5QQ/R11j9OU3UDzLAiThuuen3vCd9kx1NKG hmPmS/XXHOftftaRo+FXgNwUIj9ACSfIRKMt/C+dQAIFB/6phsOoKehil1WNGf5bHhF+J2 kZXWBT8uvmqDtk6ck5EwZWPncUR3yZyXUeH/OmPQH9nzRjOfH30tzfbLkPNQJn0NmXzs4f JWJ0ONLWNZ8I8Z56oIM/u4SErBU+ANfar5RaL2wHhfapLP4ptJlJTnXdmVfqiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657191200; a=rsa-sha256; cv=none; b=JUz7BPLrtfmjSvLBdLXlTXFjB6x8SVfHjevr2+lGhrT+BI994E7fvFOGF+WggUNM7TulR3 Yaw9/npdjCuAfDcHaTjSKHAOaXcmFcD5FRFfvZoFmdeq1oqj6lP6TRy8DgyjBkwq7zPy5s 7xe9tA3zuoKraS69PLVwo+ua11YVo7ixHeZrNNqjXsyYI3JgRjokkXisjNume8FiwUuyXW JKtcVUt8+f7RBBZEo3fHlnRD0CzBY7i5cIngveJmySb2TWLxgPOc2YUDn71ZIcxU1Pr1Kb nWoPftKVbQ0IoVFgiVhDdJpFyayQAu0e8FXS4AgGlCq7BDoksSEHVfHS+x/rcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g6ozTHEW; 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: -8.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g6ozTHEW; 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: 68E23297D5 X-Spam-Score: -8.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: xte38bXdhPAM emacs@vergauwen.me writes: > Different export types, or different user included packages, generate dif= ferent > metafiles. This makes an automated cleanup process afterwards a bit more > complicated I think, if not impossible.=C2=A0 > > The temporary file makes it hard to add files to the working directory.= =C2=A0 Not too hard I'd say. All we need is (1) record the directory files before running LaTeX; (2) Run LaTeX; (3) Remove all the added files but the generated output file. Best, Ihor