From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20246 Path: news.gmane.org!.POSTED!not-for-mail From: Luis Rivera Newsgroups: gmane.text.pandoc Subject: Re: Does $DATADIR work? Date: Wed, 23 May 2018 11:54:04 -0700 (PDT) Message-ID: <0ae3aee0-12a7-49eb-af28-9db4a5b39a41@googlegroups.com> References: <20171018155238.GF78597@Johns-MacBook-Pro.local> <07f482a3-86ca-4b30-9dfe-d15c6c6ce68b@googlegroups.com> <20171019003223.GC25478@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18_1771130575.1527101644947" X-Trace: blaine.gmane.org 1527101521 10835 195.159.176.226 (23 May 2018 18:52:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 May 2018 18:52:01 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDX2TPNZVQNBBTXRS3MAKGQEHEOZ64Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 23 20:51:56 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f184.google.com ([74.125.82.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLYrc-0002j6-DT for gtp-pandoc-discuss@m.gmane.org; Wed, 23 May 2018 20:51:56 +0200 Original-Received: by mail-ot0-f184.google.com with SMTP id 106-v6sf16846215otg.22 for ; Wed, 23 May 2018 11:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=xtmqLwdkhPc9AnxSZOGQUSA0IcrngCuR1Eq6B3AYU8w=; b=SHbosx4Hgrd27yrCqgTM0waUgHuNoUA7Seds+0FOi8eqdXZoY6RS5/TQS5mJR30SX8 1z9zwlBDsx+2ETQmv2eCSipt75+/6CR8ceM6mdedpE2ipLV+nm89h+s+fEgJoydmDf/7 mvTYF/TEP3c3eokb9/zc37hZm+SwHjRVvK58DFnf9z91Wure3NKw/Z2iDGVF+e/esScn OjMewpKPP2QM8T7LZaxTbzO9SXT3+tBQZsIv8sbRDs4c/+PtY//YTgrakEubYhj6zv+w zMxd+9L2WsGHu6Gw9f+owVPxvv7eh9kZmvAqrgXcECxeFNFbMSzQOSt0p9/3CfW0sh+R M4+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=xtmqLwdkhPc9AnxSZOGQUSA0IcrngCuR1Eq6B3AYU8w=; b=MRDu39rdU4UTDQY51BICDTpiDhh/+CRelwl02g6Qg8hq5P4DtBKKk/dCdvuHqEIJC3 Qz4WWZdha6Cx+7BnCU/j4MKIzrYVVzy2pwmVe9++ddpHdzghdJrtBf8lWywRkfg+uxgf PPeFJVHG9r4dP1iqE4TRe6buokwYuwDrT6lGVk7UvsSsE32MHljlk0aMZDLubeyX2O6Y TH4Lq3oUrHara+RiRjKilV35qqIiHRMg4twnvDf6WeJ5eGgrTzLoETxZCB7MgWhGQ6pt Z8Jv75FwRQrAzpEZsp6UMlQFxGYMN034mkIMnfO4D0SQk7UcEah73vIE+DcP8q27w7Kk wt4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=xtmqLwdkhPc9AnxSZOGQUSA0IcrngCuR1Eq6B3AYU8w=; b=WDrlaVte3hxP/rJKD3JyJdrGG3v8glwjlnBXWp+0LSVuBhex6EU+CUbGU+Qr+7uGGe Uv4m2OYMoW5ZH2aoKuD6yAIbY7H/BsPIhe9jwgLtbMiH9USvkrCUW+asKXaYfrFfeojs WdjNLlt87Z7rxSRNHLeagk1eru+KUoTM3RNu9Xo2xvgiAQLn8KBBu18cuivf0XDjsdPy hVJSYqE+1yjoVihNGkH+OBsdPcBO7rQb0Ox1mLaRoFgdQ2hJhpYkR740FvbKKxVb5esj 4yFgp6d2UXFfL/gogWLw+yq2MNwaI1Z6wh3VX+DUk0oDKBYP+32gdO1WKqOcPOlGaAXj K7IA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALKqPwfHg3fhiRnJvcCMLt8qTA/aTA2/eEaRJTz14waDitvHL253KNhn ymQ4eqJMXG21DDqb2Hw59d0= X-Google-Smtp-Source: AB8JxZqb2mvHVEMPvuPps+DT3HScyJJXHSvaS7KIKJ9/ynHB4Ib3+5LZpiHX8kJhvswnnlru7Ttzcw== X-Received: by 2002:a9d:740a:: with SMTP id n10-v6mr5328otk.8.1527101647368; Wed, 23 May 2018 11:54:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:830:: with SMTP id 45-v6ls10723651oty.23.gmail; Wed, 23 May 2018 11:54:06 -0700 (PDT) X-Received: by 2002:a9d:1921:: with SMTP id j33-v6mr464321ota.9.1527101645691; Wed, 23 May 2018 11:54:05 -0700 (PDT) In-Reply-To: <20171019003223.GC25478@protagoras> X-Original-Sender: jlrn77-Re5JQEeQqe8AvxtiuMwx3w@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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20246 Archived-At: ------=_Part_18_1771130575.1527101644947 Content-Type: multipart/alternative; boundary="----=_Part_19_730521965.1527101644947" ------=_Part_19_730521965.1527101644947 Content-Type: text/plain; charset="UTF-8" On Wednesday, October 18, 2017 at 7:32:16 PM UTC-5, John MacFarlane wrote: > > > > > $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. > > > Would it be possible to implement that feature, i.e. define a custom $PDDATADIR environment variable to place the data anywhere in my $HOME directory? I'm in the weird situation of running pandoc on cygwin on windows, and it would be easier to add something to bashrc to tell pandoc where to look for templates and csl styles and forget omit the --data-dir option, unless I require it. Cheers, Luis. -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0ae3aee0-12a7-49eb-af28-9db4a5b39a41%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_19_730521965.1527101644947 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wednesday, October 18, 2017 at 7:32:16 PM UTC-5= , John MacFarlane wrote:
>
> =C2=A0 =C2=A0 $DATADIR appears in the manual just as a placeholder= for
> =C2=A0 =C2=A0 whatever your user data directory is (see --data-dir= ).
> =C2=A0 =C2=A0 The environment variable has no effect. =C2=A0I'= ve made a tweak
> =C2=A0 =C2=A0 in the manual to make that clearer.
> =C2=A0 =C2=A0 Note that the default user data dir is ~/.pandoc (on= *nix),
> =C2=A0 =C2=A0 so if you just symlink that wherever you like, that&= #39;s the
> =C2=A0 =C2=A0 most convenient solution.
>

Would it be possible to implement that= feature, i.e. define a custom $PDDATADIR environment variable to place the= data anywhere in my $HOME directory? I'm in the weird situation of run= ning pandoc on cygwin on windows, and it would be easier to add something t= o bashrc to tell pandoc where to look for templates and csl styles and forg= et omit the --data-dir option, unless I require it.

Cheers,

Luis.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/0ae3aee0-12a7-49eb-af28-9db4a5b39a41%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_19_730521965.1527101644947-- ------=_Part_18_1771130575.1527101644947--