From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30507 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:49:55 +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="30652"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBJWUWOJQMGQEUAISO4I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Apr 30 09:50:03 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f63.google.com ([209.85.218.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nkhre-0007pL-DE for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Apr 2022 09:50:02 +0200 Original-Received: by mail-ej1-f63.google.com with SMTP id dt6-20020a170907728600b006f40b4ea280sf723449ejc.21 for ; Sat, 30 Apr 2022 00:50:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651305002; cv=pass; d=google.com; s=arc-20160816; b=A2Spw7PRCcmikCis5diF4u2IexcFELUn3zvy5s+nvGsUeNerx94Myvg2P66JsoFwWy bQ1LQ+DjP1aKwVJzVOq3/XQZIaEa6Roa7VZFGLuA/OxCl3oO01YvuH51S7FJ6WFdUOEv bLXmG01V90wpZ1KoCcc5BdwLjjG5KzSwzdxgDx1GHe7AJoNftY0lt5f4yok+eC27Xrgt kYNFf/qBZxUfSj8kMjDb+aI7aGIKhqJW8vRCYMykuPZzczriUQOYBSZf/ryWZ3aBl19T +jbCBdh/T1AitUI3OooqxuX0sGY35kLQ9839/XEd0PSp/qT411hbyjiyNyWGjOALmDCT eSmA== 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=3s6I1/q6UkUaaeGIIyay9qk8orvFSMFHFWHq4/TQhBg=; b=XgNrhbMspRwiOx2B7AElglweCiOA4k9+rkdLhcNVqyy5bWs80e+9pLU85jSCJahALP hlK5nKgRbEQqFuURwEnXOR1kwaqLnyN/+yIH9yoPy0nytiKpVarZlzaW74zYZZRAR6qF WXgQ/UPHAzRaQkpHjyA85qk5vBrqS84db6N9RaiLyVyIrUTR3MLf1i+3ZCyCq2lgu9w5 qoLRgyfa6od+KUkSNdkSwDwwoo4NU+MXdtTDF7FDHu1upwXantWjMUSoz/AIkdjcmMY0 uM7ywPJT0B/hfneloWMuePWjoSFN9yrOwZHnDLcrAj2fhmje+5Ns5lXkR3/9o0DIC78J 56kQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=B6j8sPes; 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=3s6I1/q6UkUaaeGIIyay9qk8orvFSMFHFWHq4/TQhBg=; b=lB78TGBceGm+6W8UdyU0E8iIkniNzCeGHx7TXD6Fjfledf7x2h1GG8zB7ND8jJpVjt +iJW8lL1F59LU6kRdDJJkWdfpN0bGrMHhLLQuaHxyTLz4Ge35MV1AkqQHkOCY/noNAjy rCzAytH9dC2vuv5UeClgy5ibvL87mJ3H9kPc/XsSbu1q40PLF/F2BgS8rPtvewGPjF+D d+nY2tVGY2oDjV4I+vg5donwA9C9n8Ml7LphK+4UO/VjWDQ6DEZKXP2ESJAHQHOp/Ldh 5q0SMdgqV2ZAsFQYQ8vAAeowvYomIXGeJZygHyP2jnT6ett3BgE4neW/jCyF/BXUehpU QHnw== 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=3s6I1/q6UkUaaeGIIyay9qk8orvFSMFHFWHq4/TQhBg=; b=iw78U1s08qe646M643G9eIbb/oQmuwuPoRyLc2xSBzSRmSd4LnvjgIIXRgD2cTqn4g zYqtkW5CUgpGXRyY8v2anrA7h52650f5clWP5oLs2CaJh+Asrj3fqOuFT0ZlCXt9fTgI PW5rJW+YWigxSpYtbt1/l9jF/CevCJAKeFlxu8AJDr4COZJf5CbM3njSSIEdxZd3m+k/ TxRAXoiIDjYFW8g0uFmWfKdN+EsjNY7KK/NXBaWuFrQin3PePjGpGDB04pyZHU6BIj5g NW8/GvqxeQ61eyW8MJR/wa1DhqZYQMSJPwvLSp/E0V8Q Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532r3/HIJQtP5nRnMTKMGNKQfFf5zmsXGLQLl4uNjqBJn/CYoiYF 1Sid2vwncG3ZjH7gbcRJlp0= X-Google-Smtp-Source: ABdhPJxq9nV0PsWEIksKdfbuLBMBllOz1x065Fl1904Ddc/a5KRAU+0vW+GGZeSK3jS4pIv98xBNmQ== X-Received: by 2002:a17:906:9c82:b0:6e1:1d6c:914c with SMTP id fj2-20020a1709069c8200b006e11d6c914cmr2843777ejc.769.1651305001869; Sat, 30 Apr 2022 00:50:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:907:9702:b0:6e8:c0b2:edfc with SMTP id jg2-20020a170907970200b006e8c0b2edfcls2546610ejc.11.gmail; Sat, 30 Apr 2022 00:49:58 -0700 (PDT) X-Received: by 2002:a17:907:2d91:b0:6f4:1a30:a04c with SMTP id gt17-20020a1709072d9100b006f41a30a04cmr1676290ejc.365.1651304997892; Sat, 30 Apr 2022 00:49:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651304997; cv=none; d=google.com; s=arc-20160816; b=nVWPLyL0dO06dOfxvrGzjQZY8SSFPbFekPaRqJnaLYLP5EBHJagSRh7I2Z4rsCC66u b+V8+HzSeeITaiLCueL+8HYC00Jgcxp+iiEDu6fw6vaGOXTnV/b7Ac0/g/FYnOFmCbsD XNAUZuyDyXwj6PHovNNIs1vaNvS4N8CDkMgwCCxB+govY15wLsGE94m5Z0zsospi2Jij sBJmTQzIY3JvZaOYY4SdDtCuRzy/LkijINRTQMUj5W4wcAFZ6iRCuLLS1fPiWemLNi6m 6edvYxr517j6uZ5lbd/VWzelm7aJklSABEu0QJyYs+K70524cwy/yK8jJIdhbMqGv1P4 aBMA== 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=28Ih+MhD2/ugjUBrgTgXOUR1tAXArW5C401L92IiLNE=; b=evr6agAL79PmZ83xiIXoCncnwhTiYbZ1PuB9xGwpbxK16cPDLxKDUtRluO0V0f3ZXW 5xIF1gPwItC3hkeFmFRcA88z1e5q62QYjFeWKzKLmnFVWVu0Tp00cdjbXb9LYmyvEHQ0 x+uX3awBZrVqyxcObI0d7edd6Hbm415qTKGjQ4ZXbeFIQJHH9QAVtx9DglmCBUuA0LL9 AvLM9kwtE8BLFe3r+riA0pkOFlFUANaFTWUpeCHtMLraBIt2JfZfNvl/WXoFtMnqqbad IMsvmY/55xE+kU8qYb+lAwFwPjs6AsOaicu4nzFdSrcCrHq6sFQcOeLdeC4lUiQBqKaS BN7w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=B6j8sPes; 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 ca7-20020aa7cd67000000b00425b0722545si442533edb.3.2022.04.30.00.49.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Apr 2022 00:49:57 -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 8461A240107 for ; Sat, 30 Apr 2022 09:49:57 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kr1jK0pNvz9rxG for ; Sat, 30 Apr 2022 09:49:57 +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=B6j8sPes; 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:30507 Archived-At: Did you try to look at the output `pandoc --version` to know where your dat= a directory is? 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/YmzqI5Gu2PRMt6xF%40localhost.