From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23314 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: --print-default-data-file does not create custom-reference document Date: Tue, 27 Aug 2019 12:15:12 -0700 Message-ID: References: <7b9dfe11-7483-431c-9a11-1e40d65b7ebd@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: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33065"; mail-complaints-to="usenet@blaine.gmane.org" To: pierrO Lelou , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBTECS3VQKGQE4Z4LCWY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 27 21:15:32 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pf1-f186.google.com ([209.85.210.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i2gwB-0008N7-84 for gtp-pandoc-discuss@m.gmane.org; Tue, 27 Aug 2019 21:15:27 +0200 Original-Received: by mail-pf1-f186.google.com with SMTP id b8sf78587pfd.5 for ; Tue, 27 Aug 2019 12:15:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566933325; cv=pass; d=google.com; s=arc-20160816; b=APUOHJxp0n/UruGL0jKuhUM7SgAtiVVAxb4BAG6xlA/kPsFNhvhcXhFM6Az47ifiQu Nx11XVUhQ5sE562UCz88nbIDnF0pKlGdTpx5z5eXS9aFE7FhsSfhz9kAXv+iK8vp5Rx3 HCGKe0u1QwdKQmIEnDdM+9EVcnwigEN/6+kdkElB67wpBsnoH0NsrI/hp3rRIWTr5D1y g1fGUjp+Qkv7xcessWQYlwJdA9ufAryaEdB1LA1JZDK5WSjuytJ+ZaH4nWLapaD0sNUG g73buz5WR93bZrtl7aC1QxT7lo1o7GX4ceYjwWUznO6i/V6JQEBjChivQxIfxrIYpm+f 14Vg== 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:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=3D1AZde7Vfx/4bh+TLudtaBKta+af+Y/6HRe1WCkiLM=; b=CSTDJiqwdXvFCx+JXszF84FMedJ5fIQg9peWgK+zd229IeNbnTDaNcl+ku5Pq37WnT Vn89/RU+IbXg/UPX93JPIbCFV7HWpHI2SOihsw6EpPEyc+IUg8WBKvVR11mWogcVGTWb PFVbqgy/WKTQr82YEesB1lhS835tEGqI1vTfsJBV+k7vGcM9Rv2qIw+U12ye5vy/4AsC 6C43JHMX0TudXxC3oBInfcsse5Rc3y8jBxdI2F+0MbGZjcvixvhNRxZLs0QxvIao+B/D n54Lf90tWN/3T3AaAcknRrLoRCBEFiNLbxXp+hbyPBzwKps54zmHOdwkcq9Cf98CffTA B2/w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F2Brksn7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding: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=3D1AZde7Vfx/4bh+TLudtaBKta+af+Y/6HRe1WCkiLM=; b=NdTLj8yF/2NtaQzMHUc+WoqAnoJULlO/pxUGZvnD5F/094J2JRH9SdvfFlc4KLos7f 6m7i0ekY3NXg3ALBoOBPvkO6c8r+L+wUcoxgh9K+inGS0+ffW2N1o3Xl+pYqDETnxlL5 N94R+RGrWVFMYPoBtZoBzTwG9mRuya+II64Fx2TQkLBqHnYh04bmQnoK3sS9i5BZcA0G SfM1yNmDxdTg7fs8+VCM5WOZws3TwwD+d1atC70DiWuTYqu9iqYaamZ2XioyTazRlrQi 4qxhipyfAvanzRLSOnRCxDU9KfKYUYjwaBsqv939o1W47lAh8hjpExeqH1eAlqIB8A2b aqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :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=3D1AZde7Vfx/4bh+TLudtaBKta+af+Y/6HRe1WCkiLM=; b=CQALpXbdLjRD+tMEVacEdOaX5357zQsy3BIBjKGhVj+VErxlX0i7q1LXfy1CLRTxWd sxbUQ+SnWeG3K8fL2FjXHTd2CF5bpIteucuJO5vNK62XQm9Uyin/TiTXfgXl8PPvmddj yf7GuocQdYAn5z7IwKU7c38E6lO2NuAHVLFHule0qoNj1T4ESRmcdIG6cTyulBIoNVcE 7gBvNDGGzfPC6waD0XMNVcvVBABel2lVQf9HYNjFhJDb34jwRbe6cDlVzfgSTSwQ3lCq G+BPEgCgrm+Cn5yddfhW8tZ/Rdbwl8mrrVm3ORYt/dr66K8znIf5wBAN3Fd1qI39/6E5 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWRWgUj+tv60CEIY7YkTvouoKTmzUqu+/u8+B3494f2DUf0Lqlp M4MvpS8zouq/UpsJxeMimEs= X-Google-Smtp-Source: APXvYqzLC6ZX4RWL2N/9RblCzuo6+IocVizjfO3UJQFGVJ4auNvZuJcUHGDiFUTRFrTPUBusJWh1rw== X-Received: by 2002:a17:902:7c8b:: with SMTP id y11mr432585pll.259.1566933325461; Tue, 27 Aug 2019 12:15:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:ce4e:: with SMTP id y75ls4069pfg.11.gmail; Tue, 27 Aug 2019 12:15:24 -0700 (PDT) X-Received: by 2002:a63:c1c:: with SMTP id b28mr22757456pgl.354.1566933324384; Tue, 27 Aug 2019 12:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566933324; cv=none; d=google.com; s=arc-20160816; b=gVLbOAEKi46JlVCYO/0waSB2Pq8ddLNqh/ZSqBnlfafJwMCatY/WJRqxuFWiIQUaWj AMHs8YwKNXZHLlkhtF/JxZvoxsUUyNCFuWVk/PG+ZqSwcXr7FAgldwfB3d8+GZIcoGYS 0/+S6VQs8ESgxS4J/07pT7dhVOppn9Gc1bDlwqMKuAmibZ/j4VAW84MHkHJzbF5atMj1 L7ujR3UuZdlAawKGg8SkJx3efsfi8IYy3UJztW3/VwQ6Wsv/4aSwxD/7SgWPeVt7Voy2 s1Ogix9XuxxHfz3PuDFNiFr2vOy7WJdSPV3dKIvw3wg1afDiaUOgZOdAvzLf319WHK0o uB/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=POIJzqDyeXQPmKNOLvpplxmv/ZDe/WunFc9mqRbwq20=; b=SZ/yGtJ8kS+lm1jRmxmp1eh0Vh/iqlBUO2rX6i0jxFZLSZCMufNOqCWwMey1pD3JZZ a9BO0ZaAaKyeApFAoiQGUUG3LGPSE/jyonnL3SRUH5aQzURgzar2cVPHChHNeqyBZ4VN dsR5fZgFfwDRj0FPUTfrbsJrwb54qPDrVdcvVg6RWIwEzbS+GdXP75FwVVFGl2O7XRWj rnYZaA7QHoD7M8k2ROH3vFPj8rUqpXn9YUrvlC/w35VfyCdLIq0Tp0PvIClNS7r60b7b oMDlpOL7IqC9RlCaPWfvmLDa+FIeGx3ReC3wsOk7YtP8kaFjOH4/f2JCn4+epenbjhEn ZVVA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F2Brksn7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com. [2607:f8b0:4864:20::630]) by gmr-mx.google.com with ESMTPS id e20si9458pfn.4.2019.08.27.12.15.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Aug 2019 12:15:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) client-ip=2607:f8b0:4864:20::630; Original-Received: by mail-pl1-x630.google.com with SMTP id m9so16722pls.8 for ; Tue, 27 Aug 2019 12:15:24 -0700 (PDT) X-Received: by 2002:a17:902:7b97:: with SMTP id w23mr413348pll.283.1566933324098; Tue, 27 Aug 2019 12:15:24 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id b19sm164931pgs.10.2019.08.27.12.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 12:15:23 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 5FC9DA18E; Tue, 27 Aug 2019 15:15:12 -0400 (EDT) In-Reply-To: <7b9dfe11-7483-431c-9a11-1e40d65b7ebd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=F2Brksn7; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:23314 Archived-At: You're using an older version; the documentation on our website is for the current version. (For your version, see the man page installed with the package.) Relevant changelog item from pandoc 2.7.1: * Allow `-o/--output` to be used with `--print-default-data-file`, `--print-highlighting-style`, `--print-default-template`. Note that `-o` must occur BEFORE the `--print*` command on the command line (this is documented, #5357). So prior to 2.7.1, you couldn't use -o with --print-default-data-file; it would just print to stdout. Of course you can use a redirect: pandoc --print-default-data-file reference.odt > custom-reference.odt which is what your man page should tell you to do. pierrO Lelou writes: > Hello, > Could you tell me why an error occurs when I try to produce a template /= =20 > reference file either in odt or docx file format ? > $ pandoc -o custom-reference.odt --print-default-data-file reference.odt > Then the terminal print this types of characters and pandoc quit with a 0= =20 > error code.=20 > 6=EF=BF=BD>A!=EF=BF=BD%&=EF=BF=BDz=EF=BF=BD=EF=BF=BD=EF=BF=BD8K=EF=BF=BD= =EF=BF=BD=EF=BF=BD*g=EF=BF=BD=EF=BF=BDRK=EF=BF=BDT=EF=BF=BDu=EF=BF=BD=EF=BF= =BD9=E2=96=92=EF=BF=BD=EF=BF=BD=EF=BF=BD;=EF=BF=BD~=EF=BF=BD=EF=BF=BD=EF=BF= =BDhM=EF=BF=BD=3Dq=EF=BF=BD}=EF=BF=BD9Y=EF=BF=BDQA+H"=EF=BF=BD=EF=BF=BD0=EF= =BF=BD=EF=BF=BD=EF=BF=BD.(=EF=BF=BD=EF=BF=BD=EF=BF=BD > > But there is no custom-reference.odt file in the user data directory > Is it because the version is 2.2.1 on Kubuntu 18.10 ? > $pandoc --version > pandoc 2.2.1 > Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.2, skylighting 0.6 > Default user data directory: /home/pierre/.pandoc > > Pandoc has been installed in /home/pierre/.locale/share/pandoc > I have tried both copying the directory in /home/.pandoc/ and created a= =20 > symlink from .locale/share/pandoc but result still be the same. > > Thank you for your help > > --=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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/7b9dfe11-7483-431c-9a11-1e40d65b7ebd%40googlegroups.com. --=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/yh480kimqizagv.fsf%40johnmacfarlane.net.