From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18347 Path: news.gmane.org!.POSTED!not-for-mail From: BillS Newsgroups: gmane.text.pandoc Subject: Does $DATADIR work? Date: Wed, 18 Oct 2017 06:34:54 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_23982_1129566730.1508333694320" X-Trace: blaine.gmane.org 1508333708 31798 195.159.176.226 (18 Oct 2017 13:35:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 13:35:08 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCK3B3WIRMNBB7VQTXHQKGQENJ7MC2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 18 15:35:02 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f56.google.com ([209.85.218.56]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4oUi-0005rm-9Z for gtp-pandoc-discuss@m.gmane.org; Wed, 18 Oct 2017 15:34:48 +0200 Original-Received: by mail-oi0-f56.google.com with SMTP id e123sf4678180oig.14 for ; Wed, 18 Oct 2017 06:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=0QZ2KfiQD8GPGQLmIsnYSbQxTsx2p9e0yR/jp+OcFVM=; b=B0HzNrXTdJnnZXoJzHSyfjwPo368nvOHcNZugCkjAfLcJaT8VbRtzu8xR1J01WG3uB +UdMAdd2v4mN6ej428Ui4Oz+yAP4QREQMv9S9EdSlVKctUx3+LihY2PAXXJZYzqxd/1q sHTVJF2raia5EmYYNDtk5LZvT+1lyKDppaTTIO4zjKghHDQggnkBt6+Oy4jE54dt8nyu xl8Lx+uXUar49cTHU5v9KLHlExqB0679NBzESDGBRxnAjpMzxv9czIO6FUCA/aawYrVx 2xSgTYLWKjAjFfwwKMSWi3E6NRFnbKR6Pz4EYXlPaHkARbnoT3HeHB2Qn5r5Yvahyr4T eRrw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altius-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=0QZ2KfiQD8GPGQLmIsnYSbQxTsx2p9e0yR/jp+OcFVM=; b=qqo9uNFpcdXSL+pGnmc/CW1O9j3cSZ8gqN1VnZsL+nnvPaJU6ypXauwVlhpoQCDXYE Tz3etzLTzFoJc1rgr0BdGAl5EA5RBonZYmVcYmHKrkeVYlPbKKrNDAKi+D1DnxcEIVeu /D08SWrlLTG5V7+YIFWgtEh2ZpCVohTRVugMJ/D88yLaz7GYWAL/UMTxdPNnttb40Rht v0leIn72Zc2gGigh3F7SR0ssyD8H0xQgpAK/O6a2uDqHozukxOj8EhZ+SvwvpWY9XwMo VRRd0OrX5WGnviLRlkRob0jrHlCJ6Ki0rhCXWDpgVF+jQcFbU53Q/TkE71zXlsU+vsbp W9nw== 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: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=0QZ2KfiQD8GPGQLmIsnYSbQxTsx2p9e0yR/jp+OcFVM=; b=BrcFDeVDuxb74o8y9qqEwCgpZ+PNqS7TVN3jktfuV+7fs3ulIC4mLPiMISuxs7g61L 9GYiUP0/QpivOuhkfYWVjuyyHkPuEwUyiL9d/MXGYat1cxJGfDwVsvTsq0/ZOc+dXwyg ELvg1BPQDdL5jvUS9cVn8j10yO/mj7/lnB7z+VtC6mneCB9jT7KVAcsqefVObE1hurkC TbFbU6iofNgbbXEZIDUx+wwRsA3Ay3FFiL8fIX/ZfFkX43irEmqOdctrRM/Kn7eSDGQR 7i+MKxGhZS5ycgDSqYEZ5BacgnKUA4Wm11YwoygINsFxmBXB7xlhyavUD8cuHmbukCQt WDsQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaXWU9bTyhmIVBnCPjiflHLcv2yue9fy2vkjRHhnH+DVyCN0Qmq9 faovIU3r50HS3Dxa1BZ2i3Q= X-Google-Smtp-Source: ABhQp+RAgdLPfy+NkwRDklcr9sBBEBJGsMtvNHPgaZ3GByYu85Tsp+oAnkfgdX2DJJ5NO7mf2moCfg== X-Received: by 10.157.91.109 with SMTP id e42mr225236otj.13.1508333695649; Wed, 18 Oct 2017 06:34:55 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.199.140 with SMTP id x134ls998262oif.14.gmail; Wed, 18 Oct 2017 06:34:54 -0700 (PDT) X-Received: by 10.157.45.110 with SMTP id v101mr651427ota.12.1508333694752; Wed, 18 Oct 2017 06:34:54 -0700 (PDT) X-Original-Sender: shaverb-LTqONF+Zze4dnm+yROfE0A@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:18347 Archived-At: ------=_Part_23982_1129566730.1508333694320 Content-Type: multipart/alternative; boundary="----=_Part_23983_1197961504.1508333694320" ------=_Part_23983_1197961504.1508333694320 Content-Type: text/plain; charset="UTF-8" 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 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/fe0be057-6f62-462c-a784-5d1ce4963ccc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_23983_1197961504.1508333694320 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 res= olving the path to the templates and other "data" files -- they r= esolve to the build directory not the install directory.=C2=A0

When we test with the --data-dir argument it works fine, but we woul= d like to be able to set it 'once and forever'. In the man pages/us= er guide it looks as though there is an option to set an environment variab= le ($DATADIR) that would do the same thing as the command line argument, bu= t we have not been able to get that to work.=C2=A0

Is the $DATADIR environment variable supported? Is there a better way to &= #39;once and forever' point to the correct data directory?=C2=A0
<= div>
Thank you for any hints and pointers.

--
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/fe0be057-6f62-462c-a784-5d1ce4963ccc%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_23983_1197961504.1508333694320-- ------=_Part_23982_1129566730.1508333694320--