From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30506 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: loading files from data-dir paths Date: Sat, 30 Apr 2022 07:47:48 +0000 Message-ID: References: <0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20501"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBJ6TWOJQMGQEBGKXRLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Apr 30 09:47:55 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f61.google.com ([209.85.167.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nkhpb-00058v-69 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Apr 2022 09:47:55 +0200 Original-Received: by mail-lf1-f61.google.com with SMTP id j2-20020a056512398200b00471fe56db2csf4434407lfu.11 for ; Sat, 30 Apr 2022 00:47:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651304874; cv=pass; d=google.com; s=arc-20160816; b=Fzoa4HywAOl3lGQQffT6H8OybuKJ0vQ5coh+tFJAvEdujJuGH4FUWfIaGwz81xu9s8 sDdKjaHV483c5S0NQBhH6BuP9mOiCk1ovwN2wOJiKM0qiR/fg1sfjBSIvBsoBnSSqCxE 7wmZvtEIOHEIyhow/f0QFuvhi4umHA1mBDHoKmppuF7Msgz0EfsoR74zPFJoV2CFgcTh nbnmaX7ZnIJvYJ/U+OyaCSG8eEP95n/qZXPDbgy506sQzMLiqCq6I5eyA6kimhZbrMwp tNvv/m+Ed5CxkUqKSDY2kkFGwW1qqNFUp8zWRS9IqwZ/HhCim/2WWJfbAgv6xOE5Z7CR nHqQ== 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:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=nwLIw8+I5ILsYd/2/UQr71cDENyIXBcoEBi7fFzObNg=; b=iz1w84YGq/NaeJ9ytSGIAhxGAcsmXFgr5JX9h+IbvZRnsEK2l1GNyWgoP7qd/JCS3O fkHkBfUZJiDbttnyxerM5fxtXFiUJ16Ldr5XVuBwmjDilhKb6WGSrILxX3Q6wP1iXlCh n1D4EKpABCdM7hHH9Oy3kGmHpRxv0EUty3WAwtExKFaAJsoQu+kdJCVCIEAhT/IBkxFo 37wQBwLLPeIrLg1PRev/wUNlpkEZ55uJpQHOiwkfnLceGiUHehD0iZ1csoqtmSBORQMn uhmkH/z7q2wSGbFxNhEvPNZQOGi6CzwRqRoaKQ4ji/Gm6Lrmki+x1zs3N1aH6FM28aF3 MPxA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=e3JTtspO; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=nwLIw8+I5ILsYd/2/UQr71cDENyIXBcoEBi7fFzObNg=; b=qzwLNUkTp8apx5tIEj9yc5jDQtnN2lO2Gc2SC6AG13FdVRjoVu/j3YrcwLNWRvGHYC 8C8y3OpeBgSdAiQpP5Q/gpK8LUdm60qHxMH3MGABDchVWb9o3PIbbIMrqdPttEvUPdn5 +sL31b8rmPkl6xpykwPVJdY7rEttogLEEaGSGOh9iWm75VJuI8Q+8tSsUys+uxQa98ph mEsLyDDQXphWLWAjMFWD5XwDanjQrJccRzqCyS1oEACtYHyyZxNsAUCwCjcYp0r7626R WuIqhCsflVB0auj9jLOqRksBllgqpE7SVOQ4ZYr7c4U0BfjXQVfr6LMoJcv5R4HKHTvY JN8w== 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:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=nwLIw8+I5ILsYd/2/UQr71cDENyIXBcoEBi7fFzObNg=; b=tDXXrBbLLo+oc9EUeVwDe2JmivbibiT4A8L4RhfJ2OhIkApOmxmd/oP75Kijuqhw0k XQOX0VQXXdIiWCPnnzxyWTa1SoHH0tU/LxYCZfjAuDaWkvgVTrKjUB9h6NivUaSGib32 F9USQagMQ6WJl30Sz6xbesaTWuS91ObPT7Zdbs7Kie9YLxfK0QilNyxO2sjGzqz+MrIZ mvdZEcHS/JsFQu++er0izYq0CHqWFDH4uOxNK4T/EoH6A3GOCb6Terdj0RUy6zqqi2On UXq1r2+0PTE90OZ8MjpHY1mgXYl5L9m6w/wHeEHevb0y Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530TRQfi7yNmwVdwrRxemYm4EbP84In1y0LZbzGYzvnkORHyBMjI Ip9QM/bW91uih46vFNPIrrY= X-Google-Smtp-Source: ABdhPJwTkMUO9ORx6pYkrmhp9+Xqt+X1FEfy+N326kehcdEpVF+Su9tE5gJf9zxZj33X5Y0ZdALhEg== X-Received: by 2002:a2e:bc03:0:b0:24f:3b39:e805 with SMTP id b3-20020a2ebc03000000b0024f3b39e805mr1890222ljf.432.1651304874614; Sat, 30 Apr 2022 00:47:54 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:4ca:b0:24e:eb4b:6c1c with SMTP id e10-20020a05651c04ca00b0024eeb4b6c1cls930578lji.3.gmail; Sat, 30 Apr 2022 00:47:50 -0700 (PDT) X-Received: by 2002:a2e:2d11:0:b0:246:3c3e:d544 with SMTP id t17-20020a2e2d11000000b002463c3ed544mr1901495ljt.518.1651304870370; Sat, 30 Apr 2022 00:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651304870; cv=none; d=google.com; s=arc-20160816; b=lCUj+ERo2hyKpaYWXK6Jy9KBuMxO835wGx+HjrH4auuzNJso3Xu0SNNVaxUKbbGcyS moXiHpEeLEqPb4X9SUBS89KaX4xVGZ8sMzl51gczheJ/lsodhaU3xRAr9uEvr7EZ0Fi7 NSO1pg87aLApiz9kYXScdM3VBsxk0JTXjBu3Gd92tFRvWH6OGk5PryCGFi9pZX7VB3O+ 0iR3IdCTCF++3eJC7dBvNPEpWuiiwEQXLRlvXSWyi+Wm+1SgxLXQunAdWvBqDvZM6zUr ay5c2YvmA2u1YnUfaLHbKwbR1+HEpUHOV7eizkPoTa+hglP0bABftkuLcJ2C0I1EEdtf Y8jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=zWLrWQdUxbwswsKxrbhIFQLewkettGb1ORSbFVVQCvU=; b=Nn+nmkO/H65jslk7Wt+glMZtLhQVxPFZMgS225nLuHDhn9/MZ+icx6Next+M4NL3MD 0Vg92iPmiY6fXmSSIlom6VUVZkpNLRe4uPxk3pmvGAuYiV5PaUTb+EHH9YOQGbA78zMO +KYa+UlV2zWiOBqjqgWDRBUbTHl2rn1Qt6xN2PYPRwzUOBkC0b/oCSck9OitQ6jvnWs1 KVF+fGxlJ4PldI2dWadSKiEcc655ZU96FmdNbTPWAmZlSDAsVa4P8qNbmJGnR2uaRLTn m7apR8GC6wwzUi2AuNJcBhesaxv8bhAVprl7Tjy0N249vcPwZnVro9yB1IpQBLfP5ZLw Hp0g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=e3JTtspO; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id j19-20020a2e3c13000000b0024c7f087105si397752lja.8.2022.04.30.00.47.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 00:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A3646240107 for ; Sat, 30 Apr 2022 09:47:49 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kr1fs1wdPz6tn2 for ; Sat, 30 Apr 2022 09:47:49 +0200 (CEST) Content-Disposition: inline In-Reply-To: <0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=e3JTtspO; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:30506 Archived-At: You can use your local data directory for that: you will find some explanat= ions in the manual under --data-dir. You can create subdirectories in it (e= .g. "filters", "templates"). Le Friday 29 April 2022 =C3=A0 05:48:47PM, jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a =C3=A9crit : > Hello! >=20 > 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 fi= lters > instead of copying and/or moving them around each working directory. Any > solution? >=20 > Thanks in advance, >=20 >=20 >=20 > Il giorno mercoled=C3=AC 16 febbraio 2022 alle 17:22:11 UTC-6 jlr...@gmai= l.com ha > scritto: >=20 > Hello! >=20 > I was trying to avoid setting the same metadata on different files, a= nd I > read in the manual that yaml metadata are interpreted as markdown if = 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 and = ms, to > generate PDFs) and load them on the command line as follows >=20 > $ 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.p= s"}' >=20 > This works if *.ms are in the same working directory, but not if I pu= t 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 pe= rsonal > and professional. >=20 > Cheers! >=20 >=20 >=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= 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/m= sgid/ > pandoc-discuss/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40googlegroups.com. >=20 > References: >=20 > [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-9= dc8-d0da10da0cbcn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/YmzppIFzlF/dgCfg%40localhost.