From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30508 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: loading files from data-dir paths Date: Sat, 30 Apr 2022 15:15:10 +0200 Message-ID: References: <0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000083db0b05dddef3a0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17404"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRB27MWSJQMGQEGE4GIZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Apr 30 15:15:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f61.google.com ([209.85.128.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nkmwZ-0004Ln-6e for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Apr 2022 15:15:27 +0200 Original-Received: by mail-wm1-f61.google.com with SMTP id 125-20020a1c0283000000b003928cd3853asf7213207wmc.9 for ; Sat, 30 Apr 2022 06:15:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651324527; cv=pass; d=google.com; s=arc-20160816; b=pAl96UgQ0x3CTtw+ilDn2st6Z05g91CjJ8t0hUYpNId7BzCSZ27pDHGHPZlVGHsAHc OITXY6uuXDr4zLT25dsW8nl7agUi0ccDHyterGjJ2TceJVna0ewEmF/PSNUwBWXbxNn3 tNVhZwH8/1PYB2xOho+i5nTW8UoETrQhKow58XXrm101n3hg6hR3V97NohCfZOcIrG2J ff+8Mf9UIWVddYrFK7JlDoHy7cB6f1+/J3KOkoR56wpi1ulJCMDs9bl9cRYplNvRjsrW VL+LBnYDbRVd2YoLbSDF51LcTPPPYKj+V4ProXfFp6Srsmc8TOylz6vmHtp43XWHcLz5 vunw== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=FMgEguvnTyzzyb1KtIRcEl+ypKUksMXgClNgROF271E=; b=Fn3Vg8tXwziSrU6splw4rpqZqY0Nx6nuL1B46ZePWhQaSseGbJ3VyqRaAoP7oLO9yE 1GlmZU5lvZxfFNDXCyTQ1pqwjFh10gkU/KGG365QoUbqUxwuzx+LFPVHLpec+1eWHGaE 6ODTUcUGxyap/94DLQqN7DcAu6kCeIypWvgpA/puPercmmAe7XLMm82h+38lZNW9Iz2x stM70HD5xjy6jLaT4DZWRhzWO2PSfaHrKNerNtsYq+YZrIZwJKtULxQPyxHf5YPYKlPM OD5zq7DgesX7yHyknz2DiOju7owhLTWiamCUrK2cb64DH12ngFEqk3sIsNgmQr+eyZO/ LpEg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.47 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:reply-to:from:date :message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=FMgEguvnTyzzyb1KtIRcEl+ypKUksMXgClNgROF271E=; b=N8nxtr9rDwl2AHeaQ6QzppsXmL9nU0d+s9I3onRh8ePwYdlPbKUpo1HB1Ivz2xOma7 vp7ab8SRn3PZ///gb+eaLWXWpAz172PkSvo928FVdj34/xVWsWxTrUivjXcYjqhzaIce 2DdISLgcvtWWL5lsZCO3M1M21CksLtn9Ix6ULfpOCO7AH+67pto/a7NO9/5R9sPzHJRL Z66ztQfZQ7alKgXZrnN3E7RP2tulsHNHAFz3wtW42dVGMKvAZpCTQmtKZxHqravLWqVU qtoxeZGJUdwwUAlag6N2bZQpKKeTTmAcEpbiEC6H6UZmXnFe3I/dOIoXcKinbqwomJ7R WaWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to :reply-to:from:date:message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=FMgEguvnTyzzyb1KtIRcEl+ypKUksMXgClNgROF271E=; b=xfte8fBY2WrqBjbiG7MvJzHpbwiTqADu/420tvBGL81JK3Hag9XTDjoEojW4JwWn2+ htvGtec+oVozARPziAIGtfmVIKdvDf8SSZbyViCm0HUtQE6a1Jicy6tYHFyxg6vHQlu/ Wn2CZ6djwkfwmiEI9x0hHZSoFTAFGCc/PZ3I6/+oW8qE2PCnX/xrnGxp8MXuSbjsJzmZ wIlhx6ZYkXdT4uM7CN61D3UZbUDc4a4VkPNlk+GfO97Rkctz9Yh8rKt2ePZFrIRktx6W wVJaxgYOukYe84I2Y1pv51l0vtweth3RFSIS/8aUdVVOWcBy336fa6AKhkIaiWkH1dHL BCiA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530N1jjH8Qkhz2frLJp1OFc8nb4+4AHdSQZukS5eu6dPtnzxUckn RK2BHNPcJ3tSizH1JJ9L7XA= X-Google-Smtp-Source: ABdhPJxTsYtm+py9LLq2iwr3qddNlfCgNYpOGL4mK7QaqBZqzxcWtHczbtcF/ZG0hN8Y2IuJrhn8sA== X-Received: by 2002:a05:600c:1e85:b0:391:ca59:76be with SMTP id be5-20020a05600c1e8500b00391ca5976bemr7525140wmb.184.1651324526835; Sat, 30 Apr 2022 06:15:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:ad8:b0:394:2fc9:9c19 with SMTP id c24-20020a05600c0ad800b003942fc99c19ls444664wmr.3.canary-gmail; Sat, 30 Apr 2022 06:15:22 -0700 (PDT) X-Received: by 2002:a05:600c:3492:b0:392:97ba:9581 with SMTP id a18-20020a05600c349200b0039297ba9581mr7656075wmq.163.1651324522506; Sat, 30 Apr 2022 06:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651324522; cv=none; d=google.com; s=arc-20160816; b=m+9njC+HF+3cvmt7oY4Yj6fUYMR6LImJ0txb0oxen4l7uFMCLUU71EUV3HjN5QBme9 Gu9amadprDOUWWZS5hJ1CuVmxE21OqhnZHZ67NGDsa2+FCai7EL78yL+FN98szvDPm9t NxWBNgC8ZW0geW4Tbg56fPIT0BvWy6M4YF+rIbdIH/OyIbQ0k2rNLuk4vUJHzVztGgTJ 5SsQU9dfTtZbhaIkiKvk7BiHhVubouVOhaeterFBzLlvRf2ad/CG/unZLtKceG2X8gH1 69T+9iPi+e2+Wb1K0L1s6Pa9A/x/oVSsjoWOMVKaWlnIM1uzm0GVMRHgB9z0P6aLcI9E k+PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=JJSMhXzmDE+Kufs237fULcNreuugG3wS9U/ECFt0MFk=; b=cc9IFHKvnBtS0TqqfM6fALTXu3uPhIP7IMx/HmfuHfpS2UzJbJGT1PYCN8enWak1TB eEKcqSsb+v+lUuH3tXA062K1iRhZ2mJodGKWWcJwX1zo72pQ+j8Wn1dl7sM3IO+Bi/6V sFC1qd1BidY2JUkjbpVAlDOtprfpgLOViolOzISi78C+JmjpgZ7iG/5FEzv60zThV9bU jNxZbv1BV1YrTHuIdwbKIp+04DeQriZZ4Q9EW6pItzxvGgXXDPh2mVoRegVSgkybqCtH A1RmBcE7bEj5ogw9IjDvxf65CQUNB0U/3uUyJFgEYb16djXDLoqZw9SUzoRltiVSVd9i ZuqQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.47 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com. [209.85.218.47]) by gmr-mx.google.com with ESMTPS id p22-20020a05600c359600b003942a493261si81150wmq.1.2022.04.30.06.15.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Apr 2022 06:15:22 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.47 as permitted sender) client-ip=209.85.218.47; Original-Received: by mail-ej1-f47.google.com with SMTP id i19so20075520eja.11 for ; Sat, 30 Apr 2022 06:15:22 -0700 (PDT) X-Received: by 2002:a17:906:66d5:b0:6e0:5ba8:8e0f with SMTP id k21-20020a17090666d500b006e05ba88e0fmr3683669ejp.581.1651324521535; Sat, 30 Apr 2022 06:15:21 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.47 as permitted sender) smtp.mailfrom=melroch-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.io gmane.text.pandoc:30508 Archived-At: --00000000000083db0b05dddef3a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den l=C3=B6r 30 apr. 2022 09:50Bastien DUMONT s= krev: > Did you try to look at the output `pandoc --version` to know where your > data directory is? > Which you will need to create unless it exists already. > Le Friday 29 April 2022 =C3=A0 05:48:47PM, jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a =C3=A9crit = : > > Hello! > > > > Excuse me for my insistence, but even in version 1.18 I cannot figure > out how > > to make a custom repository of configuration files for groff ms or lua > filters > > instead of copying and/or moving them around each working directory. An= y > > solution? > > > > Thanks in advance, > > > > > > > > Il giorno mercoled=C3=AC 16 febbraio 2022 alle 17:22:11 UTC-6 > jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ha > > scritto: > > > > Hello! > > > > I was trying to avoid setting the same metadata on different files, > and I > > read in the manual that yaml metadata are interpreted as markdown i= f > loaded > > with `--metadata-file`, so that would not fly. So I tried to put > them my > > customizations in different files for each backend (roughly, TeX an= d > ms, to > > generate PDFs) and load them on the command line as follows > > > > $ pandoc -B [1]2c.ms -H [2]wideltr.ms -H [3]es.ms --eol=3Dlf -st ms > > filename.docx | groff -e -t -ms -Dutf8 | awk '{print > "[4] > filename.ps"}' > > > > This works if *.ms are in the same working directory, but not if I > put them > > in the data-dir built-in into pandoc's executable. Where should I > put them > > so that I don't have to multiply copies in every working directory? > I tried > > the base directory, and the templates subdirectory, of pandoc's > data-dir, > > where I have my [5]default.ms template. I'm working on Win10, both > personal > > and professional. > > > > Cheers! > > > > > > > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email > > to [6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [7] > https://groups.google.com/d/msgid/ > > pandoc-discuss/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40googlegroups.com= . > > > > References: > > > > [1] http://2c.ms/ > > [2] http://wideltr.ms/ > > [3] http://es.ms/ > > [4] http://filename.ps/ > > [5] http://default.ms/ > > [6] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [7] > https://groups.google.com/d/msgid/pandoc-discuss/0c7cd331-4b3a-4569-9dc8-= d0da10da0cbcn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > -- > 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/YmzqI5Gu2PRMt6xF%40local= host > . > --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CADAJKhA43AqX5HaEH1ocv54gV9HUWd96D%2BqLF7d3yvxvK6OmyA%40mail= .gmail.com. --00000000000083db0b05dddef3a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Den l=C3=B6r 30 apr. 2022 09:50Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> = skrev:
Did you try to look at the o= utput `pandoc --version` to know where your data directory is?

Which you wil= l need to create unless it exists already.


<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Le Friday 29 April 2022 =C3=A0 05:48:47PM, jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a =C3=A9crit = :
> Hello!
>
> Excuse me for my insistence, but even in version 1.18 I cannot figure = out how
> to make a custom repository of configuration files for groff ms or lua= filters
> instead of copying and/or moving them around each working directory. A= ny
> solution?
>
> Thanks in advance,
>
>
>
> Il giorno mercoled=C3=AC 16 febbraio 2022 alle 17:22:11 UTC-6 jlr...@gm= ail.com ha
> scritto:
>
>=C2=A0 =C2=A0 =C2=A0Hello!
>
>=C2=A0 =C2=A0 =C2=A0I was trying to avoid setting the same metadata on = different files, and I
>=C2=A0 =C2=A0 =C2=A0read in the manual that yaml metadata are interpret= ed as markdown if loaded
>=C2=A0 =C2=A0 =C2=A0with `--metadata-file`, so that would not fly. So I= tried to put them my
>=C2=A0 =C2=A0 =C2=A0customizations in different files for each backend = (roughly, TeX and ms, to
>=C2=A0 =C2=A0 =C2=A0generate PDFs) and load them on the command line as= follows
>
>=C2=A0 =C2=A0 =C2=A0$ pandoc -B [1]2c.ms -H [2]wideltr.ms -H [= 3]= es.ms --eol=3Dlf -st ms
>=C2=A0 =C2=A0 =C2=A0filename.docx | groff -e -t -ms -Dutf8 | awk '{= print > "[4]filename.ps"}'
>
>=C2=A0 =C2=A0 =C2=A0This works if *.ms are in the same working director= y, but not if I put them
>=C2=A0 =C2=A0 =C2=A0in the data-dir built-in into pandoc's executab= le. Where should I put them
>=C2=A0 =C2=A0 =C2=A0so that I don't have to multiply copies in ever= y working directory? I tried
>=C2=A0 =C2=A0 =C2=A0the base directory, and the templates subdirectory,= of pandoc's data-dir,
>=C2=A0 =C2=A0 =C2=A0where I have my [5]default.ms template. I= 9;m working on Win10, both personal
>=C2=A0 =C2=A0 =C2=A0and professional.
>
>=C2=A0 =C2=A0 =C2=A0Cheers!
>
>
>
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [6]pandoc-discuss+unsubscribe@googlegrou= ps.com.
> To view this discussion on the web visit [7]https:= //groups.google.com/d/msgid/
> pandoc-discuss/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40goog= legroups.com.
>
> References:
>
> [1] http://2c.ms/
> [2] http://wideltr.ms/
> [3] http://es.ms/
> [4] http://filename.ps/
> [5] http://default.ms/
> [6] mailto:pandoc-discuss+unsubscribe@googl= egroups.com
> [7] https:/= /groups.google.com/d/msgid/pandoc-discuss/0c7cd331-4b3a-4569-9dc8-d0da10da0= cbcn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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 pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discu= ss/YmzqI5Gu2PRMt6xF%40localhost.

--
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 view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhA43AqX5HaEH1ocv54gV9HUWd96D%2BqL= F7d3yvxvK6OmyA%40mail.gmail.com.
--00000000000083db0b05dddef3a0--