From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18348 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Does $DATADIR work? Date: Wed, 18 Oct 2017 08:52:38 -0700 Message-ID: <20171018155238.GF78597@Johns-MacBook-Pro.local> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1508341973 892 195.159.176.226 (18 Oct 2017 15:52:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 15:52:53 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBVHRTXHQKGQEMLGOAHA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 18 17:52:49 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f61.google.com ([209.85.213.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4qeD-0007mN-Ql for gtp-pandoc-discuss@m.gmane.org; Wed, 18 Oct 2017 17:52:45 +0200 Original-Received: by mail-vk0-f61.google.com with SMTP id q13sf2338730vkb.16 for ; Wed, 18 Oct 2017 08:52:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1508341973; cv=pass; d=google.com; s=arc-20160816; b=cFpVOluvhphrjkpl27L7M4xnO9qFoKcmB55h0HVipneV1Uqy7clNKqky5h6ys5WG4d gbhRagvP337Oxi2iH9VXeI3/61lGIneDDKjFE/JIDDQ/56qHJ+GbB8ojOPj0xIBXnmfu KXRhFzRWGhUX2c+8sKO7q7sc2eM0szhtWG9CUrL7aq6kZEzcDLnA50/zbfQgInJ/UM3b ysMrcPUPeaTcrKHIlv3HxqlS8NfeigcFF4nUdXQ/11kQDiqVS77ImwToCRLEcZxi1ZXl 8p5vfdjbDLQr5aYbVeWtSvFVb6cVw1OcYNus5gnwOmJeHhQXep5avUip1RY7LpDv2zyx DnPg== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=FCpjY4yrCYCzJgbc54QO13Gxg90RXRcqBRX/LYgMI58=; b=q6YvpikBsDVLJuw7r4Ael7wc11A2QfWbOcE+s03am37LyhR1qUc4Wusr/0B6LOrHFT W74Eil/3I8eJ9YDIOrs/tBDVFomfgNLGdoNxYJKQ7wMg+qjK+rNiLmZp685gabBPJBaf EJ7Kj9ah2GmTQlzJYfYDyV1KJHlj8HZs3286gGg0sB5szioaLNde99LuqM6PzTSfk47Y tmkJPMpC83OSa0NsmjICICNIIe9PjI9Q5jH1WgL6IkaRymy9CsN/M6N4xrbBqbHCS/zH drtWjKK1k6B/fzS7Gfe/xzftv7T1k82qxRCMH/1KQqEU3gcNyoeEuW3gq9U1SHS2kOKX ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xct4jNAW; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e 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:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=FCpjY4yrCYCzJgbc54QO13Gxg90RXRcqBRX/LYgMI58=; b=Y+ymQduJp0kR/7edE3v/QgHTg2QZm5jsRrfTTAUN0A1Hobx34zcNQ/EP2IYS1V9teo M6JcUyEgQJyauTyxINIH7vW+hSvVfTdtn2/buXOv/BhCznZmlrAz59GoTrgpej71L7ho QlG86l6tUORfSTJYicBubpRE62ALDWgAJdW9oU6UHopMSDlIrEzqrGaX3QxtC5OKafZp XQfxurOg2jTdNRIHPSKVImlLw2u4YypLXR+vUudiCcePNVdRYKs/jvMRequACRRYAGrI 0+wVuzQlQYaRIHt4CAJBWJASGc9fzEvOuGPKI/VMo07yfmNipHhyssRNYHhU8GZkpct4 YLjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=FCpjY4yrCYCzJgbc54QO13Gxg90RXRcqBRX/LYgMI58=; b=sKa62Xbt8HnJb96DxM98Frh+eajWuw2c0G8W0wCx/p36yYok43C7g7KrVq+0G7Hsjf Qbg/sHMVooQnFl3S5dA0pPPlr8EFX0VITeBpGM4gHd4ueO8y+qzqBBCKOTHCp3vrEyZf 7sLL9Av2WHuZr4If39H/3MJHLqdTuXXMKimq8I0AJ7tbxEw/IPamFr406Q6n44NEWHQb HlLW+JfOPS56cRi5Ro9mDiesa9O6uKMDbANcW2t0KlWODxpC/JnyfuFXJSKlF7Nb7zwn BMyRv5OirYj9k3zid88EvsjeHFS3NMeJCs+SxwyybStpQjFdBX6nT7lNbMFgXzbwa8Or Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaVY8HFaSan4kO2//XPxgSWJP3RvJg7VylW5sZL8vbxiYhwFK223 KOX0kNBISEgSVeFQ7Aj1Z1w= X-Google-Smtp-Source: ABhQp+SsLld2Gbe9Snno1yfOV/Fa6P3z2ZACNsPPf8Plh7oS6OTNsKNUxA/k8V4IbiMLK2HuqAY9wA== X-Received: by 10.31.94.3 with SMTP id s3mr536536vkb.9.1508341973278; Wed, 18 Oct 2017 08:52:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.55.197.199 with SMTP id k68ls2084143qkl.8.gmail; Wed, 18 Oct 2017 08:52:52 -0700 (PDT) X-Received: by 10.55.3.7 with SMTP id 7mr14099796qkd.29.1508341972563; Wed, 18 Oct 2017 08:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508341972; cv=none; d=google.com; s=arc-20160816; b=Tn0cFxVCKEyyEJ5PoPpG5JuxmW4vacaDVXn9GL3jvIpO6/qAL4Cn44tGCD3afK7GgJ 6iBdmpxtKftLbWTiQqDvP4VJKGK9bRnRPyLw5VayTxCxx7kuhWXPuajQcL3e8LoY5iSZ QQheSHJgLVzIXNLa3KiwahFTKsX8xpwKyQbVDFB+Rs7RZHdNoH0P4lBF4XFWS7BLbHqd aqziBPoWz/cjM1sCXteJlsHieGDHGfCzEkRgjB72+/ZsYe70+OoVgEhyb1xU7rtKc+L2 DENvUHwmxbN6Nje94G1DBmEtyP+rNgPNQkVn04JqXn1eFjQL0rU6Qse5swab6vpU7Yi+ U1WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=bDnMnmQ4Mc3k3E+ohXqI+MLSR+zMP57MKGJVF/Fn728=; b=hC4EqO64CptOpMr2mD1nXU2vUKRSo6OyQE8PjmcwTjNr6HdLfU2KUTCTN7uyYkucJV WQMvAbQH8QVPMKjoeyDs6I353piNYHt4lKzO7WI7uT5QVf198ZDtJliBSaTcJbiSAdDc wwd/cW0f2Gid2TvUvz314ky6v24HQYsXfXjYESgH1wVwfJmXTJ2KCuMwI+3GNB95kGqZ sELyFZGxnUDuc0GL4u3Ff6TFGMFhA/SFQjNjvXtIdND6YuJyq4msWWQ3Cc8fs4dzMe5D RsG29bRt5QaCJXeHPLYSV0s53+2yhzMQo4qID/Y48SkhKjG8C9BruxHzqBj7ESmD9L8A z5GQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xct4jNAW; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com. [2607:f8b0:400e:c05::22e]) by gmr-mx.google.com with ESMTPS id e51si743365qtf.2.2017.10.18.08.52.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 08:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) client-ip=2607:f8b0:400e:c05::22e; Original-Received: by mail-pg0-x22e.google.com with SMTP id l24so4599468pgu.11 for ; Wed, 18 Oct 2017 08:52:52 -0700 (PDT) X-Received: by 10.98.79.200 with SMTP id f69mr988651pfj.159.1508341971333; Wed, 18 Oct 2017 08:52:51 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id e22sm20775441pgn.28.2017.10.18.08.52.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Oct 2017 08:52:49 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 13218A1ED; Wed, 18 Oct 2017 11:52:39 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-PGP-Key: http://johnmacfarlane.net/jgm.asc 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=xct4jNAW; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e 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.org gmane.text.pandoc:18348 Archived-At: $DATADIR appears in the manual just as a placeholder for whatever your user data directory is (see --data-dir). The environment variable has no effect. I've made a tweak in the manual to make that clearer. Note that the default user data dir is ~/.pandoc (on *nix), so if you just symlink that wherever you like, that's the most convenient solution. +++ BillS [Oct 18 17 06:34 ]: > I have been asked to set up pandoc for an HPC cluster and while most of > the set up has gone fairly smoothly, we are having issues resolving the > path to the templates and other "data" files -- they resolve to the > build directory not the install directory. > When we test with the --data-dir argument it works fine, but we would > like to be able to set it 'once and forever'. In the man pages/user > guide it looks as though there is an option to set an environment > variable ($DATADIR) that would do the same thing as the command line > argument, but we have not been able to get that to work. > Is the $DATADIR environment variable supported? Is there a better way > to 'once and forever' point to the correct data directory? > Thank you for any hints and pointers. > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/fe0be057-6f62-462c- > a784-5d1ce4963ccc%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/fe0be057-6f62-462c-a784-5d1ce4963ccc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout