From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31953 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Amy_de_Buitl=C3=A9ir?= Newsgroups: gmane.text.pandoc Subject: How to make writeNative include metadata? Date: Tue, 3 Jan 2023 13:22:16 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9914_1560236831.1672780936505" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4175"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR454V73YMRBCNZ2KOQMGQEDMLPQRY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 03 22:22:26 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f186.google.com ([209.85.167.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pCojl-0000l2-Bf for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 03 Jan 2023 22:22:21 +0100 Original-Received: by mail-oi1-f186.google.com with SMTP id q8-20020a056808200800b00363bb37d22csf1813880oiw.19 for ; Tue, 03 Jan 2023 13:22:21 -0800 (PST) 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-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=0wj7sNSmtEhDNgjgnwscuLjRg77Rjh6AEIgfvW22t2o=; b=NskuFf/8p+Pjv2MmrURmpBMGG7KV6A5en4lNiNzRczgSHiXWvrOBe87AF/Z9CnY6IP Si4lgetm2ajZmGQWD+I3rblMIJN+J/svz/DLtWm8c+/aflQJa+yRq9zbB9lVRr5Q7kNJ kEeY9P8FaTcE88V5QlbEfdJIDrlTac2Tbcugdq6vzn3dgTL7dBilkTCetYPEEANOTFXv MiSGU/4ob0xJ60Th/KsJLx60L+y2XsyH79k5JJKUWKBKr1QXQpscuLjPCdc2RzbTqm6c uBfxhkp3PA4kQp1JcrEvYONcAESzvRNnMW33aPUHykkv78uK/5MfTAzgkdhbCh/ob/jl ZKuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nualeargais-ie.20210112.gappssmtp.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=0wj7sNSmtEhDNgjgnwscuLjRg77Rjh6AEIgfvW22t2o=; b=YHEkMDgLU6w6cJJrucIg0mJCCWCKlA10OKOvq71ehza7Rps9DmeELcvMDjzrHtvpV5 1jjWZSIUvbQJH25oDxioYiQbbejcUEMiSopiJMvoBP2G0cuGPeIXhY5mdLPVuNwisoyF fGaIggCbvAP8Gr3f4ClIy4yAVcS5D37OaO+5LbgyJpe3fAAZqMpfKt6oyLScgR5RMLTo shHUCz+GkuSr6tGgR1VhGdDZ2+A7fESdMogqo3HN/VDtK/F1W9mPtJVjII33o1rRDuEy AMJPqajnfgrP+eY64Uh451d1CoJ1THaHXmUvrZYaNRZjpAkK3le5XWmxOk1zCt7QZSgl bhlA== 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=0wj7sNSmtEhDNgjgnwscuLjRg77Rjh6AEIgfvW22t2o=; b=u689MU1iPbEVJ7Z4FhMN3jmRwjuC76SgiIHnHHZ0djZ9sLPiyW38me8W652YfVjXXm Gr97r5haujW2+EWtf0GN2usQH7iur5tw3EOZASeMMevwL9dTj1ujdtRwLfrnD8CrDExs iErk2pVGCzMJyp64pY668cD9U+z2KHqFgrsHTKwUU1DVmGnIiuxKCMq2/d6noqiDnIeg /MAGUp9EE+P4XmdtmJtjPNKOhRCXAiKa9DMh7/dCzFHKkHNSxXlx1v7N+9NoGXn03qaX kuFPNYPUNvBMh2Fty1d3c8VDocvQ/OdzDKbaVvxR/e1dsocqQ2ACenYeE1B5PgbwfY/K 4NBw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2krDOe/zzi125++8jNQrqwuzxFtAS3cXBxyrG8G7ko2rWhvckpBx LY+RUe/7idjB5rk5Kc2aef0= X-Google-Smtp-Source: AMrXdXsR/NUmQdktMsqXEanGfIFPOlvtkQWNv/GJjsvuAWlYypiSJr7PDr5Vvd68YSb3oAhNpkMqPA== X-Received: by 2002:a05:6870:1b06:b0:149:cc3c:b95 with SMTP id hl6-20020a0568701b0600b00149cc3c0b95mr2737533oab.197.1672780940276; Tue, 03 Jan 2023 13:22:20 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:5f8b:0:b0:363:d608:9c7f with SMTP id t133-20020aca5f8b000000b00363d6089c7fls567963oib.11.-pod-prod-gmail; Tue, 03 Jan 2023 13:22:17 -0800 (PST) X-Received: by 2002:a05:6808:3a91:b0:35c:4435:fc2e with SMTP id fb17-20020a0568083a9100b0035c4435fc2emr2962326oib.244.1672780937227; Tue, 03 Jan 2023 13:22:17 -0800 (PST) X-Original-Sender: amy-x92Y4IBCQKU6Cx7ujrKbww@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:31953 Archived-At: ------=_Part_9914_1560236831.1672780936505 Content-Type: multipart/alternative; boundary="----=_Part_9915_1028264153.1672780936505" ------=_Part_9915_1028264153.1672780936505 Content-Type: text/plain; charset="UTF-8" The command `pandoc myfile --to=native --standalone` produces output that includes the metadata. My program needs to sereialise and deserialise Pandoc documents. I assume could use the native file for this. However, the output produced by`Text.Pandoc.Writers.writeNative` does not include metadata. I don't see a "standalone" option or anything similar in `WriterOptions`. *Is there a way to make `writeNative` include the metadata?* -- 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/msgid/pandoc-discuss/ab602db1-e8d7-4bd5-b077-0f454edc6e3fn%40googlegroups.com. ------=_Part_9915_1028264153.1672780936505 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The command `pandoc myfile --to=3Dnative --standalone` produces output= that includes the metadata.

My program needs to s= ereialise and deserialise Pandoc documents. I assume could use the native f= ile for this. However, the output produced by`Text.Pandoc.Writers.writeNati= ve` does not include metadata. I don't see a "standalone" option or anythin= g similar in `WriterOptions`.

Is there a way to= make `writeNative` include the metadata?

--
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/ab602db1-e8d7-4bd5-b077-0f454edc6e3fn%40googlegroups.= com.
------=_Part_9915_1028264153.1672780936505-- ------=_Part_9914_1560236831.1672780936505--