From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18351 Path: news.gmane.org!.POSTED!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: Does $DATADIR work? Date: Thu, 19 Oct 2017 03:30:52 -0700 (PDT) Message-ID: <5446abd7-adec-4b38-920a-a3cae3608072@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1760_1439988095.1508409052515" X-Trace: blaine.gmane.org 1508409065 339 195.159.176.226 (19 Oct 2017 10:31:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2017 10:31:05 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBBXP5UHHQKGQEQM3KGBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Oct 19 12:31:00 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f57.google.com ([209.85.218.57]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e586A-0006pK-J7 for gtp-pandoc-discuss@m.gmane.org; Thu, 19 Oct 2017 12:30:46 +0200 Original-Received: by mail-oi0-f57.google.com with SMTP id j126sf7446053oib.9 for ; Thu, 19 Oct 2017 03:30:54 -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=XEi80ZzPlY/6PBgc+/aRSDMnOruywn4cP1D17O4LVBw=; b=gUi1YTkxgStmlNcrwyhxQTcZiNh+IAZhJve+pHCz7PP3UqnKQgsPNXZ5o0tRVi7M3m bs85vxfqfGPNt/FdQpcdvwFTJgbB78+HiVBp8fRTHSNn5JWG1zA+srq3HlVGgIv2c0oW IYh9Yue54x7aIdaTJAPWt163TsLF0ZnjnfBp9ZCTVJMMD66fmhF7BuYgKy3+tWaRqQgd hYElzJKKx41PKcpT+ZOBV5gauwnJ0G7hXDQk+ZoWaAX2Gc6JzmLwnoSwu/jFwe0+Ual7 jYQKI0irwDHuWEqZdzOaYvB8a8SbBmtX/FHMWOz8bLJhJNX/GYwb7+53kjEnG8wzV5eS PAcA== 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=XEi80ZzPlY/6PBgc+/aRSDMnOruywn4cP1D17O4LVBw=; b=Bdh4MJ+04Vgy/DvjR9b8sEhq/xBBPhWu/btQaQy+7+hle9TMUhx8tyoe/7usoB1Pbe zeo5MOc+Ha0QvFnfDYcSB9BRiCMd4DevbLOzzP00LzxB7FKCjn1wL9wya6+n2sGcJvUq NXTkHt/c3D3DJ2DPeyhMiPpwEemOq47P+OLaR43KVV3wPxp9YYptWU0SFI2bB5+zHAIq 63wbSDbeU7H7s379P7GdMiSKZeehGlcgoie97YQG0i0ir1YAYSo/sCwWOaf5kAtqKry+ VtwK1UnguAaBD9V+/HrBksy0Sme0o9QryTsRgZ2CBwhqii5NZoUKQPgSdgQun5UdvKB6 CgTA== 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=XEi80ZzPlY/6PBgc+/aRSDMnOruywn4cP1D17O4LVBw=; b=Ar9T+LQ/0DZ135sWPVfsEAtl1GUXTwGweZ/tyoxChEvr6qW9Fqf92DEbwngeCPHgke 7Wkx0fI3LXQ09bXdwU9OYLH4nKVtQgb2WHIgybP+CvGFp4F3zApssMfTkd+5Vr8QxXxE R5bw/vunan/HFk5d1icFbPxBmpERSafhxfK+mmEWfkh2Y9EOSkaMWdu89dz09Tz8/Jnu xwkuu6m1toT+PEk5twLpoWWMmIfCJSCawamhQ0OCWBhAAZ9tfjldvEL69eU1Lg/z5SkP AW3oP/ztpWrOfFeNY6pgwNSuC1RCFhL7VqpYXI3j36E8AxGq5A+AQl55eQNkEiSYnMCN wVpQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaUj/UzGNGrH9XKpiEIMJNsj0Z57F0AUJByMCiLn69UyVUY5k6pi SDJ3qH/bA2PZQx5TpjJrjI0= X-Google-Smtp-Source: ABhQp+Smsu43y4F2rovmHLurYiLaFI0ntSUBOuwnIrs8S6mgFH2zADF2iTKbuOphmZyAaZcVJvSiyw== X-Received: by 10.157.14.201 with SMTP id 67mr51438otj.4.1508409053855; Thu, 19 Oct 2017 03:30:53 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.53.196 with SMTP id c187ls1805012oia.13.gmail; Thu, 19 Oct 2017 03:30:53 -0700 (PDT) X-Received: by 10.157.20.173 with SMTP id d42mr50375ote.3.1508409053026; Thu, 19 Oct 2017 03:30:53 -0700 (PDT) In-Reply-To: X-Original-Sender: christian.kolen-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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18351 Archived-At: ------=_Part_1760_1439988095.1508409052515 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I=E2=80=99m interested in hearing how you want to set up and use it. You me= ntioned HPC cluster, but is it HPC, or cluster? So is it like you want to s= et up an environment so that members of the same group can use pandoc in th= e same environment? In any case, It seems like you want to be able to build something in a repr= oducible way. You could consider docker/shifter if the facility you=E2=80= =99re using support it. Or you could write a makefile if it is =E2=80=9Cpro= ject-based=E2=80=9D like a paper to be published. You can also consider usi= ng panzer (I haven=E2=80=99t used it myself but heard good comments about i= t) that allows setting up a =E2=80=9Cconfig file=E2=80=9D define different = =E2=80=9Cstyles=E2=80=9D where each is equiv. to a set of args and filters,= etc. to be used. There=E2=80=99s a couple of things that data-dir will be used to look up th= ings, but none of them (as far as I can remember) requires them to be in th= at dir. e.g. if you have filters, they will work as long as it is in the PA= TH, if it is templates, you can again specify the template path in an arg (= useful for makefile, config file, etc.) One advantage of shifter is that you can control the whole stack of pandoc= =E2=80=99s dependencies there, e.g. LaTeX (not that you can=E2=80=99t do so= without it), because often time those in the HPC/HTC/clusters environments= are quite old. If it is project-based, it might actually be more convenient to set one up = using GitHub + Travis CI. I have one project setup like this and we don=E2= =80=99t even need our own server. Every time a git tag is created, the outp= ut (PDFs + ePubs + HTMLs) will be released in GitHub Releases automatically= . I can share how it=E2=80=99s done if you want. You could also checkout pypandoc, it=E2=80=99s available in conda as well, = so you could setup a conda environment that way. This is especially useful = if you also need pandoc filters written in Python. pandocfilters is availab= le in conda. I=E2=80=99ve tried to add a recipe of panflute to conda but th= ere=E2=80=99s something I don=E2=80=99t know how to do and didn=E2=80=99t h= ave time to figure that out yet (it is related to the complication to suppo= rt python2 users from python3 codes. help welcome). If you decide to go thi= s way, bare in mind that newer versions of pypandoc=E2=80=99s conda recipe = doesn=E2=80=99t really install pandoc for now and has a pandoc_download scr= ipt to install it, which might be a problem to HPC/cluster users. You could= use an older version of pypandoc or help fixing that open issue. --=20 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 e= mail 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/5446abd7-adec-4b38-920a-a3cae3608072%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1760_1439988095.1508409052515--