From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31954 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to make writeNative include metadata? Date: Tue, 3 Jan 2023 14:02:57 -0800 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="23263"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBFGM2KOQMGQEANPJLUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 03 23:03:04 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f188.google.com ([209.85.222.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pCpN9-0005oO-Rc for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 03 Jan 2023 23:03:03 +0100 Original-Received: by mail-qk1-f188.google.com with SMTP id bm30-20020a05620a199e00b006ff813575b1sf21904393qkb.16 for ; Tue, 03 Jan 2023 14:03:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672783383; cv=pass; d=google.com; s=arc-20160816; b=mW9xwEG6WEoBPwWDFD5GFKN5MRgqqVOkB3Io9n2t30eiberCWYjILsWVyqUZ8f0NI4 +2XD7lGZYUYJoJqgLIX9UudXUq/fHqSijDrN6BCCi2u0BKlB3y8iPiFs/ZCGC5Yw21LD EfcPtUjwXQ5gOPEgMcnN886o6oks9ZB8h0Jf8ZDmGhywCLmP1zFLIJH9MSSbZsIN2vF6 2Ina/D64968U+YL+hZ+sKPuWHrIDqoXrIJ+rRcnYksaLT3hNukd2ZkiwSd3zcyBqYMms 4XtHJXLAql9DYiOnQR6yR2jb5GzPCt99WbOjbkcb3Q9YjXlI4ZFduyNOzLjO2W6iQBL4 PPEA== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=FKZII5BzTYcjk/r3S7IVhAAkesnVCGtoWkZ2+lhAHO8=; b=p/wEbJpJ08LdChC6FObutcr1sX2XpIUG0T8Zzn/IaQCxFhJ7rbvqrEiv/ryQRfvQaf 2+sEy3PfC/8ZnHvpTE2MNEuWHpbiyfKLb+fifv5puzRbrZxvdV0ru1r1foUSyUHHaJNQ DlrTh6GyRYASr50J8xZzmbLFirmLQmfKEot0+zJGXEEVsa3Hz14ZJUrKRBub1EMauuJI jOzN/YV/vHTvsJuJg6QZEeW/rT217fFMwxv1Dog+i7X/3lrxt1Zg8IMmYYbfID5bsSJy mt5cQ166hhEQlLFj57Ou4K0m9O41sjs/w/+KwGgnH2OLZuS8bhhFl6QbqM0gXwLIibj6 BQDw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LaMtEAcX; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=FKZII5BzTYcjk/r3S7IVhAAkesnVCGtoWkZ2+lhAHO8=; b=J5c1Q+z93AX6kia8JgG+dd/UVdCg51E/B0nMsYXXitvMfzYN1arFH/n+QXdoiQNcjz opy/2ZcZCJikKMH1gz2TDbp/+7J4CHwbVUPH8JOXpL3ZYVSgQSAuIMrByPXDaJLN5Kmh CYMdEiUPW760fqclungWhOCSTiT4xtELhYcg1joJjPvNxURrD2y7FAp++rf8Qpp8EGhO l7NeGj02ZgMR3IN38uooKCpSws2bSnMbQ4jWqLK3qoYOYd7Lvo4FNOwjrugub0LDlcnR EW6HDJQf62Erc5x72Hd1sX5PX6cAtCctcxK+kYfpn1NZH4E2H94Ta5bhRO40xxrpz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=FKZII5BzTYcjk/r3S7IVhAAkesnVCGtoWkZ2+lhAHO8=; b=B+Th93eQjl11VeuoPdk9r0+QPJdOxnOtOOORqS+IABR6VyRQE6EIOBo47SPM+72Fo4 xoS287294nBaYLNK2hKJGfae7h3cob2WEG1YeXwIXRZRRCyl9ETxyAIKZromK1wmRi5r 9biw3UBkYvizf8Q2stcpTut33m0A42stPbv3nP8ft2+X2mKp5cfGFnQSn18TixOvF7Lb 1I9It3t2sV0cTNJu5XlaTdu8Cy9hFyu9dbJECb0tBjaB/4nhKVxBmFggtqkg8IT6kQge V/VPVVDv96UN2DdoyjnthrvX8sTX6e7bnUdKvhJd3VRu1QH4mcWH+ghLfOz3mDvJu41u Y X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=FKZII5BzTYcjk/r3S7IVhAAkesnVCGtoWkZ2+lhAHO8=; b=oqS8vaSocOU0+8qXiBB2lCqj49UWSKcbFVE3wB0oL0D9cPYf+ZXqieMmBIGjdlEC+5 oW0QcKMoWmPFqtayvrZCMDlE9V2IK3T00klSZroAL1sQcEGs2CrCOChmytuzRp/QP1EW xox4mlnaHMcVhH+PLebIUoEwux3EpyUk1RIoZPmFbLusSUvcLYekvFg2Jo3gEmICNtub /rg7grzZFcBsWwXJgf0Lu0fCmudLDWeSmuJ2DZwUBn6/fM4+viyrEFAxAOd20/aEC84K fHFFHlKvuTQNqNrwF6lx Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2koZbETXcwTkzcD65c1noqT5g1NPU2uAiKRLVXxEcmEQiSDUwi5X pUDwQAUbsc2vbCV9bifa9ZI= X-Google-Smtp-Source: AMrXdXsSQx+aYCJkkQUq92NFj59UTE5YpsoUBq7/LyYYQMj1RjMHEP5Q37YsRSpYFhGTCCr4QDqX0g== X-Received: by 2002:a05:6214:89:b0:50d:6151:eb49 with SMTP id n9-20020a056214008900b0050d6151eb49mr2044935qvr.81.1672783382799; Tue, 03 Jan 2023 14:03:02 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:58c1:0:b0:397:ab6a:3f0 with SMTP id u1-20020ac858c1000000b00397ab6a03f0ls23074502qta.0.-pod-prod-gmail; Tue, 03 Jan 2023 14:03:00 -0800 (PST) X-Received: by 2002:ac8:4705:0:b0:3ab:5a62:453b with SMTP id f5-20020ac84705000000b003ab5a62453bmr58214264qtp.53.1672783380547; Tue, 03 Jan 2023 14:03:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672783380; cv=none; d=google.com; s=arc-20160816; b=jC3bS63EMW6PLYEhLToIC487IFla9SEiXkhiysHDoJafDJAnh0CJoIYZr4zUWuqaCy e5XdV9PQDVY5UPUrKVgCN+KOcUNFhtfI3JBDEavLu0JzMCAAyqMKfPgPbYnz1gaa+Z4U IFbeJCL9kdNF0qP9ex5ChXAzm8uWQiKDjSQKNEdtL6rBAxErK6bGb4iCyE1e2N+db9MN zCccCFmLmM+iixNwXvmHRUzsK5OWRfmTB3vAA3GLN0vj7Q8DEucO0lIDUQPSGFbjA3Ta XdyX5EVsiGlobtymui6A/uhWL6vLgDQvmEGh2416VeJtxTQhYaVth9AhQer6mUpLJO3B slLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=gectSee3rjTeYewFTh2lK4n+374PqU0sU/aprk3VVOk=; b=jHzWk5yOwd0jf5u/4qB/1O0BRPsMg89bBfju9M4sf1j0TzW/4KA7bNeGch+7ZsPnTu XMzyFzjrfs6oKLF7kLvzg6BoIhswDBGj7Hy/QGiLpfYAalukga/fPP9Iv9GrvSg83GE7 9API9XvQxhQw0pv65v+23YVQ52H3HFkp8WGOpaPaWNEvUsf097lbLFsTiSc8s77EgpBA RUUXnEgaXKySIAzshF1MyAOVlhJNTaRhgj4+AIR8KZ1ki+hiix1xC8Vz4i5q71+L81QR sFqGcEXPvMJza6m3IIzDolyEmckJGidMrL1/nGH6CRuMZOhsC01XwL2J/+XoiDuCVynX ZqeA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LaMtEAcX; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com. [2607:f8b0:4864:20::42e]) by gmr-mx.google.com with ESMTPS id s16-20020ac85ed0000000b003a7fa08057asi1981938qtx.1.2023.01.03.14.03.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Jan 2023 14:03:00 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42e as permitted sender) client-ip=2607:f8b0:4864:20::42e; Original-Received: by mail-pf1-x42e.google.com with SMTP id a30so5944976pfr.6 for ; Tue, 03 Jan 2023 14:03:00 -0800 (PST) X-Received: by 2002:a05:6a00:1c8c:b0:582:8722:bf60 with SMTP id y12-20020a056a001c8c00b005828722bf60mr7371785pfw.3.1672783379381; Tue, 03 Jan 2023 14:02:59 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id y9-20020a62ce09000000b00574866d619asm9388907pfg.119.2023.01.03.14.02.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jan 2023 14:02:58 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LaMtEAcX; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:31954 Archived-At: You need to set `writerTemplate` to `Just =E2=80=9C=E2=80=9D`. We removed the old `writerStandalone` on grounds that it is redundant with = `writerTemplate`. Of course, this is a bit odd for formats like native tha= t don=E2=80=99t have templates, but in that case as long as `writerTemplate= ` is a Just value it will consider it standalone. > On Jan 3, 2023, at 1:22 PM, Amy de Buitl=C3=A9ir wro= te: >=20 > The command `pandoc myfile --to=3Dnative --standalone` produces output th= at includes the metadata. >=20 > My program needs to sereialise and deserialise Pandoc documents. I assume= could use the native file for this. However, the output produced by`Text.P= andoc.Writers.writeNative` does not include metadata. I don't see a "standa= lone" option or anything similar in `WriterOptions`. >=20 > Is there a way to make `writeNative` include the metadata? >=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 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/ab602db1-e8d7-4bd5-b077-0f454edc6e3fn%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/FC6C8CCA-59EE-43BF-82C7-582EEFCE2F6A%40gmail.com.