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 4KBMBf0YxGI+MAEAbAwnHQ (envelope-from ) for ; Tue, 05 Jul 2022 12:57:01 +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 yLE7BP0YxGK4LQAAG6o9tA (envelope-from ) for ; Tue, 05 Jul 2022 12:57:01 +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 9EC81A748 for ; Tue, 5 Jul 2022 12:57:00 +0200 (CEST) Received: from localhost ([::1]:57714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8gEl-0001bC-QY for larch@yhetil.org; Tue, 05 Jul 2022 06:56:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8gAg-0005FL-Oy for emacs-orgmode@gnu.org; Tue, 05 Jul 2022 06:52:47 -0400 Received: from w4.tutanota.de ([81.3.6.165]:58326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8gAe-000857-Ug for emacs-orgmode@gnu.org; Tue, 05 Jul 2022 06:52:46 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id 0647A1060247; Tue, 5 Jul 2022 10:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1657018362; s=s1; d=vergauwen.me; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=MRcIE2tDceRwIF0CoIh5f1cc9wOTbzEyIBD7OJ3EKpQ=; b=nkXITLOJ6t98htOeZqCEVaSHQE4ZloYZWVeFUwxfx3Lf3sG77b6I4HjvEGc8RiY9 TqqAfkr9xr32qgqxochcFp5xqTgffrveTZWDYcKxoNEijzvOrstLZT1O8jvELNUOgHl PIW+isGOYMUqdNUZhO5jQ3GbPbiuWujWH1nSjGOUzdLJ5aGQKFyP+x0+K2fy9GV4peO dcrxABykHoxm382z6hRa6Wrp6f8t2hJDf/4HySin4L0yCq/bDcQ5UTGhCAqu/0+FF/e ORHlTHugQnQ3pGd5mHZ4FFxTpDxcWduipmM1Vgffhl0pH5lQWlTA6BKLZwk0hYcJ3mK zdHbUA4SWA== Date: Tue, 5 Jul 2022 12:52:42 +0200 (CEST) To: Daniel Fleischer Cc: "emacs--- viaGeneral discussions about Org-mode." Message-ID: In-Reply-To: References: Subject: Re: [PATCH] ob-latex: Added support for including files with a relative path MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1189305_655978652.1657018362599" Received-SPF: pass client-ip=81.3.6.165; envelope-from=emacs@vergauwen.me; helo=w4.tutanota.de 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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" Reply-to: emacs@vergauwen.me From: emacs--- via "General discussions about Org-mode." 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=1657018620; h=from:from:sender:sender:reply-to: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=MRcIE2tDceRwIF0CoIh5f1cc9wOTbzEyIBD7OJ3EKpQ=; b=a0MJW76DlAJBA01pES7abLEDl22sd3BtCTjzvSjPA+Adg5/UQ0U9OP27frcG748g24NXes z/sCQAsWusdb+0Lhe0t9E4CiG655TomF+7cf0LF18C7EsOzTQeYfh5nSDI63RN7imIsG0r XCJEUn9Q/Ls0wCpDG0OxKODIFsTMbaiC2PlJsyvh7mfL00miwtk4a6kaOz9XQPKjfrZ0Zp vuW/npf/5anp6HQ2fEB/UglaLgPFEqADMuq1+zFavjiRP3tMAG02rPjCMkiNrjDjnN4yjw Vjv3P2KPQrpdu0yh/oVhrbQYwOr2KzCpgoXmBX3Cs4WJyu/dsfnqiFcRpR3NSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657018620; a=rsa-sha256; cv=none; b=QpTr0hatL52JNNPcolVeEqDFg31SbAxpWPOgBhFd5+NDsfimu6CRkbxbDmcYgPVllSz95Y Q0IOu43B7ixudJrdBdhvcJMgg8R/fb4IqHBF9IpApgbypEgQZHe1XXKD42tVlnjuzHaLH6 vAy8/OAmTotwD5nSE9/ra3oj9rtfFnHBCNDEvgLdCDe2tnnEqBGKNE8O9XzNVNbTrcRB7Y jqwYvOrZd84MRKFjyJFQgtpm6V5Z8g8wQQL+KvQlCSboNQcXL9qOP+PEn+8HiTuJBBHrL2 wrbPLxAxYH2XUzeksHnsNgeeYxx/YzVwix9yRzCbCClqzc4u69n9FYfvonYt7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vergauwen.me header.s=s1 header.b=nkXITLOJ; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vergauwen.me header.s=s1 header.b=nkXITLOJ; dmarc=pass (policy=none) header.from=gnu.org; 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: 9EC81A748 X-Spam-Score: -3.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: npQeDuxZXX91 ------=_Part_1189305_655978652.1657018362599 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Daniel, >> in the attachment you find a proposed patch to support including externa= l files >> when exporting a latex source block. Currently this was only possible by= using a >> :header argument. The problem with this approach is that, files needed t= o be >> included with their absolute path. >> > > Hi, adding an "input" type of header is one option. What about adding a > call to resolve relative file names instead, thus solving maybe other > needs in addition? > That was my second approach. I was concerned that forcing all imports with an absolute path could break existing exports? Correct me if I'm wrong.=C2= =A0 Using the :header syntax external files can be loaded in via the old way, whereas using :inputs all relative paths are resolved.=C2=A0 The downside of course is that we clutter the export settings with a new=C2= =A0 parameter.=C2=A0 Kind regards, Bob=C2=A0=20 ------=_Part_1189305_655978652.1657018362599 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Daniel,

in the attachment you find a proposed = patch to support including external files
when exporting a la= tex source block. Currently this was only possible by using a
:header argument. The problem with this approach is that, files needed to = be
included with their absolute path.
<= div>
Hi, adding an "input" type of header is one option. What= about adding a
call to resolve relative file names instead, = thus solving maybe other
needs in addition?
That was my second approach. I was= concerned that forcing all imports with
an abso= lute path could break existing exports? Correct me if I'm wrong. 
<= /div>
Using the :header syntax external files can be loade= d in via the old way,
whereas using :inputs all = relative paths are resolved. 
The downside = of course is that we clutter the export settings with a new 
=
parameter. 

Kind regards,
Bob 





------=_Part_1189305_655978652.1657018362599--