From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28700 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Do not build context file in /tmp Date: Mon, 28 Jun 2021 10:26:22 -0700 Message-ID: References: <20210624055435.GA11054@sokrates> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18050"; mail-complaints-to="usenet@ciao.gmane.io" To: 'juh' via pandoc-discuss , Pandoc Mailinglist Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBS4M5CDAMGQE74OEQII-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 28 19:26:40 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f56.google.com ([209.85.222.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lxv1q-0004TV-KW for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 28 Jun 2021 19:26:38 +0200 Original-Received: by mail-ua1-f56.google.com with SMTP id v20-20020ab076940000b029020b0b4ada34sf3365209uaq.4 for ; Mon, 28 Jun 2021 10:26:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624901197; cv=pass; d=google.com; s=arc-20160816; b=bdIM9r9VFUNsg6K3F6oPUi94prTs/vs6dpp372SsCX1WP5z+YnrOokUa0b22eUISKy MNhFTAM86Whqvx2wrDUwmRLfDBVRtWxYICW2UiEiR7jZYU5cOwzWV6K7v5aBcc7bzals WFPx3MmzG6KIaW2ssoQxolH5uV5V63r3CBtGIPtC6R4gb+1zDMjJYbT7I151s5fJugkJ jVWxpD+mNa5OOaOPV7Sqfi/9HaJU4CqMSDBE11j0X3ll6X0Xpfi0wvURRCjjHlPXhuNc dvbY7SycAJV79vh2IT6s15iLgrOkMJNH8ySZFOfV2dpCzY4ieuvJg2ysYGpIsFWMWuPH UdJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=lXD/VAqiP0iMsgGrbJNqvUkQ4/00lgv8SFQjeLMdJjY=; b=HXQmv5ZjmPD3hrJVEUXzlwdbGdCBduC4nTbqQsZ7RgnNqWy8fBrrfNPqJyD+oQsGDp HTTC3y74+tL6iHwyu/+VzLcRC8nmjiqLAEbi1B5KlpC5aSG2jEcdanaA1Pagb8O8Q5nL 37h1Q0CcKLse3rdCDHoXqCLqV0//5TBmnu6NhHzTmx3EWVyQ0ppUvxBPkH7aeo/uIwsj XxkAxXJhWzyrRIc/S9BEYyl2fdcLBACZC8nTJ+k5uuGEfXTnzNiTSkosqn38agnSCwxU AP/2Bi47zP2/Mjr2Irl6hhEBbfmoqNRhx2PZzXDQotkdzx3KgeuQvYxs1sU8KGRNoWJQ BR7g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IKCyWIH7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=lXD/VAqiP0iMsgGrbJNqvUkQ4/00lgv8SFQjeLMdJjY=; b=m+OAQbH7GUQe+xzKOysEqCaT2QJsYb/2juMW5sokAD9UZcSXL+zb2C5eMkAIf3OTHl 0InH7yt1H0zOSO0YesMKYAeIUq1KYMC7aF+CZW0Vrszy6vsZ+UC4NZrgkkD8xso2P83g C58sKMzDzbn81KRLy0xygz+g1Ze0XFi777trVepY/3jSulsj4Bp+APt3zHPrThwMXBV4 bSBb3OMHRW9FHPi7iVcU97MdiKw8KV2OQOCOcf+493DKpwNT0KRcu+IYgDvOizg9lGaU sViUdywg3GxhjdT0lTepEmDm+SDWnI564oyEeW3oJD0Mxw11oJRb5qWv4e3/L2W7syfi BHEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lXD/VAqiP0iMsgGrbJNqvUkQ4/00lgv8SFQjeLMdJjY=; b=iD7UMpFnt9q1phg2CIICh/ZjnzpAmUGdIXRzoCLvbwXxPh7clrQZ6BxfU2Apvx1clp hhaG9EjhvKujE+4mVgBbdxeVm3w3y4hgFAI0qGbIQQB1XAwuV4JwsGoi6JHrTSbax3bK fnqi79n26BaG5UMNTqZk/Snvukjn9SMhGQzjLltqXAuyG1bCrEVe3AActC8GH7o9Xf4M 1WHM2t9oxTtgmw3VKF3TjL3l3+WTM22Dwplpnx61Dy3BYx6Vn8TGb1PG3nAMvmOOmtgv UKbh6UbA3PeODBL4Wckl4Q1KhSjsLPTMtc+CjQWM0zEzhOakSZH1ZF58YNIxLp6acS8b F6Aw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533/Ic0AWZyJO0wNbhivJ+M3Y5eYZCU3VCb+MRy7SjMHCgyGbH7f 4tzoTDlvXTdfmhkYvEvx1DE= X-Google-Smtp-Source: ABdhPJzn8oR5jERVtUSd7zeiySQYuStNqYbPsydSGw8ZNdUZPww78mODAI6XBm0rmHQ2tV/2CVQEbw== X-Received: by 2002:a67:6a85:: with SMTP id f127mr18797664vsc.34.1624901197180; Mon, 28 Jun 2021 10:26:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1f:a146:: with SMTP id k67ls688375vke.0.gmail; Mon, 28 Jun 2021 10:26:35 -0700 (PDT) X-Received: by 2002:a1f:add0:: with SMTP id w199mr18069260vke.0.1624901195251; Mon, 28 Jun 2021 10:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624901195; cv=none; d=google.com; s=arc-20160816; b=wohfyBiLLKUKz+XiFW49wmIeyg6KkapzInozzgp7U6mTxj0BuaBZlfIzpP9xv61fbF edFzR8u7CUmRSugSear1a0aafIrjBjaKEV2nYDH9/ec/U20YFfOoi3L4zJM/mJCxaq2l txU322y1hJ6NsFHGy3kJu84X9X2MwoMkKdju1aJ+VqxdEXIaFxoHZBX2JOtcTXcEQcDG 1HpUX/Cv/GXimZJAEMIVkSsvSsbJn8oBXF88Pyr9cWme5rR3MqCVtxlnXWGwOoURiMNF 07+8L2ICtCyl6hHulCphgxoIdCdMzrRKVfrVSEtfBznQlWUvXrjht09Y4AHLhNYvDopj +/XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=ys/MNU9OIppl24cb7TZB1jl6iu9JX7Or6NYdKrFEFo4=; b=vaW5u851KZggBlxbq/tgKBxbh4zwz8PgDOdzxOdU5oU5+hMUujxOuSDB147xmK1zMR xnTsTt9GoGQszNYQWwSosgiC9dSEgyZ3cABKnDRYdlZlMyc6asyJWJd23ByExuX5xpuQ sPKipjuqwqubZfgoKna67ouFTgkR/AqFn0yO1pZOTwWY2HOhpWI5rsNuS3jz/+scABVe ybgkAbf7SNlid4H/vMM7UHqJPYkpcOeJ9p6/YXUgFkJtGLE4xLIY1nS8Gez9rEdePMLQ bO0fqZSETmJzv48hqJgSEy1ou8IBIjcBSPo8BORLYhBM+wF3L7/NOJICRZ3Oo3Owcs5m aGug== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IKCyWIH7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com. [2607:f8b0:4864:20::632]) by gmr-mx.google.com with ESMTPS id a6si1005146vkm.1.2021.06.28.10.26.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 10:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) client-ip=2607:f8b0:4864:20::632; Original-Received: by mail-pl1-x632.google.com with SMTP id m17so9321715plx.7 for ; Mon, 28 Jun 2021 10:26:35 -0700 (PDT) X-Received: by 2002:a17:90a:ca11:: with SMTP id x17mr28956782pjt.170.1624901193620; Mon, 28 Jun 2021 10:26:33 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 30sm12936947pgz.45.2021.06.28.10.26.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 10:26:33 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 5663AA249; Mon, 28 Jun 2021 13:26:22 -0400 (EDT) In-Reply-To: <20210624055435.GA11054@sokrates> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=IKCyWIH7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28700 Archived-At: You could try TMPDIR=. pandoc in.md -o out.pdf -t context but this might have other bad effects! "'juh' via pandoc-discuss" writes: > Hi all, > > am I right that pandoc uses /tmp to build the intermediate context > source file? > > My problem is that I have a hierarchy of supporting files relative to > the directory of the markdown source file which context needs to build > correctly. > > While: > > pandoc -t context -o test.tex test.md > context test.tex > > works fine > > pandoc -t context --pdf-engine=context -o test.pdf test.md > > throws error as multiple context environments are not found. > > There is a work around by putting all supporting files in a special > folder of the context distribution > > context/tex/texmf-local > > You have to call "context --generate" the make any changes in this path > known to context. This is annoying but possible. > > But the path to the original source folder is lost so that it is > impossible to include things stored along with the source file. > > projectdir/source.md > projectdir/image.png > > When context is called inside the project folder it is of course > possible to include the image file. When context is called on a tmp > file in /tmp the path is lost. > > Is there a switch to build all files in the working directory? > > Jan Ulrich Hasecke > -- > Autoren-Homepage: ......... http://literatur.hasecke.com > Satiren & Essays: ......... http://www.sudelbuch.de > Privater Blog: ............ http://www.hasecke.eu > Netzliteratur-Projekt: .... http://www.generationenprojekt.de > > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20210624055435.GA11054%40sokrates.