From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28831 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: The Nerdy Anarchist Newsgroups: gmane.text.pandoc Subject: metadata file not being read Date: Thu, 15 Jul 2021 10:53:25 -0700 (PDT) Message-ID: <747d018d-70d0-41a4-943b-cce7d3d2368cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_54_1875862519.1626371605959" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27372"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCAKROFA34MBBF7MYGDQMGQE2OJZYGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 15 19:53:29 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f57.google.com ([209.85.210.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m45Y9-0006v0-6V for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 15 Jul 2021 19:53:29 +0200 Original-Received: by mail-ot1-f57.google.com with SMTP id c3-20020a9d61430000b0290474c23d2dbcsf5187312otk.15 for ; Thu, 15 Jul 2021 10:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=GxqtQeNsM8mfuXiH7kwaYECPA1LJdZ07PdZLOmcZwBk=; b=Xh73d3BG+tzjtyCS2yF/W4DXa09wLGQz2ZfhlwDUMUCwf/zXFgCwElhvmIyzOLM0vd siAtq5zqOtF+IeZZkLd50TWqmA3lkU+QdFyRIVGowO+sSJVDASNSaQ7mExkp+FC562bT jvcvExOl5Oh1CiWUik+prooAnFsTItW767u17ep4m3QKsZBcYrTQlW5FBHk4rPvEWs9z 2C8lbmdiX4xdTv9F/jslvbCek8lVP+8S1jYzt9Y4jAXP0rKBeA25WT1rLEluQzWmvia6 1gnN0i0mYEVmu5HiFnuYOEgxrbBL3ZmLLB/Y1NphWfTqd9Ro/tROkB7F8KJ5p88A3yHi mhyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=GxqtQeNsM8mfuXiH7kwaYECPA1LJdZ07PdZLOmcZwBk=; b=kwVhm1UsteikUt8iwWnELuZ4e4YkyP4l1GtngRswgH0i5wZyxGAD6hCFbt4sO0A7gd glx/4NzDxIx6UNL6jdcf6G2DK79r8JRXYYUWLCf4tnmUlTVzK86PG6YSnT82kL7jyNsj hiOyX+4q/0N+a3V4JjZsCBUtWD413U8qIA6Whezk07gXX+J3NMgOXQI6KkCf5Hu56j+j BiRmNDxddh/9D1R9Pcn1iHYtZvkF6y1un93zktcZ/BwZBxzbquiSAbHDugFqlbPDxkz4 +xmlzkEfIchc/b6kVbO1WsGwkBOTj8UxGPNaRtEk0XaPQai71wEDu3J1pD1P7HXW0MAV j/CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=GxqtQeNsM8mfuXiH7kwaYECPA1LJdZ07PdZLOmcZwBk=; b=TJsRX/RJiNLG4zEYIaNrQ/AIIuS7gHqVWddUvUklFxLu482u33MxQPGTbe5WW7kDcl 69/LFHMqN0N+pRgdw99YxIZC/o5tYsgo4t3Hv7kDLfd3fhSvdPSZ4G0QPhovs4F7JWki bMatv9xgr3nsoapqG/9m9hnJETd1rRE9qr2ctj+Pgm/zyymcAIkKaeWeHK+e6gjmfoCC miyLiokF23PVZQYBrEYJimDPKYi8AHhc1avX9kxKFTcPvKSwU//YcVytBFwIOrhSKGT/ 0hPnadx5sIairlDRVTqg5bKYYnDiQw/kHvTFKdC8YAMsfLTrtvNDK7Xohd8WXwDWWaJk g8RQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533MgMKzlCXuBa+/Wd93OF2TwSomwC87SBSUHmmXL2saxf+eY7dX 7oRmHRqosX9WVI7RnIcpvaw= X-Google-Smtp-Source: ABdhPJw58nB0e1GXsanInaVn1VTYUG8IskcB6VKA1sdWnSAhxqhlK+pzEu81YwIsUBhiI9TI/cARpw== X-Received: by 2002:a05:6808:13c5:: with SMTP id d5mr4507766oiw.163.1626371608176; Thu, 15 Jul 2021 10:53:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:2a05:: with SMTP id y5ls1381660otu.2.gmail; Thu, 15 Jul 2021 10:53:26 -0700 (PDT) X-Received: by 2002:a05:6830:2692:: with SMTP id l18mr2760110otu.254.1626371606789; Thu, 15 Jul 2021 10:53:26 -0700 (PDT) X-Original-Sender: ryanhoover1984-Re5JQEeQqe8AvxtiuMwx3w@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:28831 Archived-At: ------=_Part_54_1875862519.1626371605959 Content-Type: multipart/alternative; boundary="----=_Part_55_1738563758.1626371605959" ------=_Part_55_1738563758.1626371605959 Content-Type: text/plain; charset="UTF-8" As a learning exercise to learn how to use pandoc, I'm transcribing the first bits (i.e. only from the cover into the first couple sub-headings of the first chapter) of a PDF ebook that I have into an epub just so I can get the hang of things. I've created a metadata.yaml file (attached) formatted exactly like the yaml blocks in the manual, and it's not being read. My first step was creating an HTML file out of the PDF's copyright and dedication pages, as I didn't want them included in the TOC, then I run the following: pandoc -s --toc --toc-depth=3 -B 01-copy-ded.html --metadata-file=metadata.yaml 03-preface.md 04-introduction.md -t epub3 -o test.epub An epub is created, however, it has no metadata, and I'm shown an error/warning saying "[WARNING] This document format requires a nonempty element" Additionally, as a second issue, that 01-copy-ded.html is rendered twice: once before, and once after the TOC. Once again, if anyone can help me here, I'd be *greatly* appreciative! Also, is there something like a matrix chat somewhere where I would be able to receive assistance in a more "direct contact" manner? -- 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/747d018d-70d0-41a4-943b-cce7d3d2368cn%40googlegroups.com. ------=_Part_55_1738563758.1626371605959 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <br>As a learning exercise to learn how to use pandoc, I'm transcribing the= first bits (i.e. only from the cover into the first couple sub-headings of= the first chapter) of a PDF ebook that I have into an epub just so I can g= et the hang of things.  I've created a metadata.yaml file (attached) f= ormatted exactly like the yaml blocks in the manual, and it's not being rea= d.<br><div><br></div><div>My first step was creating an HTML file out of th= e PDF's copyright and dedication pages, as I didn't want them included in t= he TOC, then I run the following:<br><br>pandoc -s --toc --toc-depth=3D3 -B= 01-copy-ded.html --metadata-file=3Dmetadata.yaml 03-preface.md 04-introduc= tion.md -t epub3 -o test.epub</div><div><br></div><div>An epub is created, = however, it has no metadata, and I'm shown an error/warning saying "[WARNIN= G] This document format requires a nonempty <title> element" <br><br>= Additionally, as a second issue, that 01-copy-ded.html is rendered twice: o= nce before, and once after the TOC.<br><br>Once again, if anyone can help m= e here, I'd be *greatly* appreciative!  Also, is there something like = a matrix chat somewhere where I would be able to receive assistance in a mo= re "direct contact" manner?<br></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org">pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/747d018d-70d0-41a4-943b-cce7d3d2368cn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d= /msgid/pandoc-discuss/747d018d-70d0-41a4-943b-cce7d3d2368cn%40googlegroups.= com</a>.<br /> ------=_Part_55_1738563758.1626371605959-- ------=_Part_54_1875862519.1626371605959 Content-Type: application/x-yaml; name=metadata.yaml Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=metadata.yaml X-Attachment-Id: 0f359604-bf6e-46aa-84a5-0f1d231c47b9 Content-ID: <0f359604-bf6e-46aa-84a5-0f1d231c47b9> LS0tCnRpdGxlOgotIHR5cGU6IG1haW4KICB0ZXh0OiBDb21wdXRlciBOZXR3b3JrcwotIHR5cGU6 IHN1YnRpdGxlCiAgdGV4dDogR2xvYmFsIEVkaXRpb24KLSB0eXBlOiBlZGl0aW9uCiAgdGV4dDog U2l4dGggRWRpdGlvbgphdXRob3I6Ci0gbmFtZTogQW5kcmV3IFMuIFRhbmVuYmF1bQogIGFmZmls aWF0aW9uOiB8CiAgICBWcmlqZSBVbml2ZXJzaXRlaXQKCUFtc3RlcmRhbSwgVGhlIE5ldGhlcmxh bmRzCi0gbmFtZTogTmljayBGZWFtc3RlcgogIGFmZmlsaWF0aW9uOiB8CiAgIC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