From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30504 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: loading files from data-dir paths Date: Fri, 29 Apr 2022 17:48:47 -0700 (PDT) Message-ID: <0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2966_1773199171.1651279727884" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30690"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDX2TPNZVQNBB4MOWKJQMGQE5LU3EVA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Apr 30 02:48:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f60.google.com ([209.85.160.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nkbI3-0007mP-U7 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Apr 2022 02:48:51 +0200 Original-Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-e72e3aa904sf4090241fac.3 for ; Fri, 29 Apr 2022 17:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=uSUMUT6/jomXHJxtPMcHAplMc2aRmF7y0MU085CT78U=; b=iEfMjNu6P0C6UORoNXQ/h+3GY0zIO1zNKyB9zLD5gmGm0n3llZJsYTEl/IC7ojmyHv HNAS+l0Q8d+OvUWVdFT/12zFk7qUpmvWTMMe1SJpEHi45xVL1YHBucWQy/FKS5HJUW5E qQMouf+Xkx/JMSD7WconpJz/WcaSF7tbbByhClKvy1TgUKBKM2UHMPiyOp6qfTW4pgx/ sY6RH99/B5b6RvAiDgNXVYjYrqL4S5ZjAiwxUcjgDwbyHaI6sWDp1Z8MvX+CLp13cITm x1rObEKsaDciJ+cN06DzEtoTEdLT/dMmY8qHxeNeEZ40qV+7CgTl4NUF9JGOXm9aEr42 j4gg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=uSUMUT6/jomXHJxtPMcHAplMc2aRmF7y0MU085CT78U=; b=YsEOptOFUJZGpZ/U7XzsFBZxq7JweNkzHgChymXCP3/NsBzR4s7S/b2Y9O1vS46sAc evtPms4vSfGKHbYOe92KkAfxLI3lgyy2/3QB8uQaLIWRAQpUaCtGdRDNRRo9xDjtVa4D JwR9WWyvgdzODiAppqH0W7KANmrzH0wxmi/GCZCA24+hgPs/xgxf8TVxGV5ctxGjXELC OkuhSf09Bj946utbRyvBgEb2fZoGrnLnOP+pI4KRZArPHtsHU8KzipIdGqKAhHJ1Inlk DuTzNg4qMIXwFrWk51DW/NoKaPFA38MelBsvSFrIyy7Zf9STVh1Ig9rgROF/sKhiek0+ Gr5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=uSUMUT6/jomXHJxtPMcHAplMc2aRmF7y0MU085CT78U=; b=31uiC0tPl9sk2IF2CBFOR0Bau7pW5QAyva6OYTtGsyCtif/qRaUfQSGrEKf9EQvcIz Ir/Z0X09pEuechoVK680cx5K8RTbeEiD3dfFPcjQKovNkOwWM9JLUpPapHQ9PVGm5UQt sE+e5le4UZ0nb+W/8CcDud+dnS2Kupei0ML+bw7Gnf6XlFZJqK0Y1dxFHwT8Mr9JdEM4 cEgjBAiZg4Rxv1L6gPX+pTy0op4aHi77wc4qr5Jl6pPA1IMtKdW2wpYf/uMfG7xlU6Es 3Exq1k99GJbK8pN1mX645x/s2gzhlVu+2RY/6p7SugYbFIMJgOxMgav/76hQC4YrlofB 6QpQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531UJ3gmDks/46Me6U/KJZni1eQslVPCyAHhJDKjYOM0oMW0pId6 uNkmE+2GQ6ZL3I7podFJa6A= X-Google-Smtp-Source: ABdhPJzn7R1E03TNuGtFqfPYbKwjfmeJKcIpeGoN7kxFk7rDLruvi93e2ma46RYkew1Nj1ybRVTL9A== X-Received: by 2002:a05:6830:8d:b0:605:4b4f:cdf7 with SMTP id a13-20020a056830008d00b006054b4fcdf7mr748705oto.45.1651279730838; Fri, 29 Apr 2022 17:48:50 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6205:0:b0:605:48da:b100 with SMTP id g5-20020a9d6205000000b0060548dab100ls1150343otj.5.gmail; Fri, 29 Apr 2022 17:48:48 -0700 (PDT) X-Received: by 2002:a05:6830:1156:b0:605:4fba:1362 with SMTP id x22-20020a056830115600b006054fba1362mr725888otq.184.1651279728572; Fri, 29 Apr 2022 17:48:48 -0700 (PDT) In-Reply-To: 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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30504 Archived-At: ------=_Part_2966_1773199171.1651279727884 Content-Type: multipart/alternative; boundary="----=_Part_2967_128811328.1651279727884" ------=_Part_2967_128811328.1651279727884 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! Excuse me for my insistence, but even in version 1.18 I cannot figure out= =20 how to make a custom repository of configuration files for groff ms or lua= =20 filters instead of copying and/or moving them around each working=20 directory. Any solution? Thanks in advance, Il giorno mercoled=C3=AC 16 febbraio 2022 alle 17:22:11 UTC-6 jlr...@gmail.= com=20 ha scritto: > Hello! > > I was trying to avoid setting the same metadata on different files, and I= =20 > read in the manual that yaml metadata are interpreted as markdown if load= ed=20 > with `--metadata-file`, so that would not fly. So I tried to put them my= =20 > customizations in different files for each backend (roughly, TeX and ms, = to=20 > generate PDFs) and load them on the command line as follows > > $ pandoc -B 2c.ms -H wideltr.ms -H es.ms --eol=3Dlf -st ms filename.docx = |=20 > groff -e -t -ms -Dutf8 | awk '{print > "filename.ps"}' > > This works if *.ms are in the same working directory, but not if I put=20 > them in the data-dir built-in into pandoc's executable. Where should I pu= t=20 > them so that I don't have to multiply copies in every working directory? = I=20 > tried the base directory, and the templates subdirectory, of pandoc's=20 > data-dir, where I have my default.ms template. I'm working on Win10, both= =20 > personal and professional. > > Cheers! > > > --=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/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40googlegroups.com. ------=_Part_2967_128811328.1651279727884 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello!

Excuse me for my insistence, but even in version = 1.18 I cannot figure out how to make a custom repository of configuration f= iles for groff ms or lua filters instead of copying and/or moving them arou= nd each working directory. Any solution?

Thanks in= advance,



Il giorno mercoled=C3=AC 16 febbrai= o 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, an= d I read in the manual that yaml metadata are interpreted as markdown if lo= aded with `--metadata-file`, so that would not fly. So I tried to put them = my customizations in different files for each backend (roughly, TeX and ms,= to generate PDFs) and load them on the command line as follows

$ pandoc -B 2c.ms -H wideltr.ms -H = es.ms --eol=3Dlf -st ms filename.docx | groff -e -t -ms -Dutf8 | awk &= #39;{print > "filename.ps"}'
<= br>
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 wor= king directory? I tried the base directory, and the templates subdirectory,= of pandoc's data-dir, where I have my default.ms templa= te. I'm working on Win10, both personal and professional.

Cheers!


--
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://groups.google.com/d= /msgid/pandoc-discuss/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40googlegroups.= com.
------=_Part_2967_128811328.1651279727884-- ------=_Part_2966_1773199171.1651279727884--