From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18581 Path: news.gmane.org!.POSTED!not-for-mail From: sclarke-DpHT0TjK6O80n/F98K4Iww@public.gmane.org Newsgroups: gmane.text.pandoc Subject: docx to pdf conversion error Date: Thu, 9 Nov 2017 15:32:37 -0800 (PST) Message-ID: <9256e740-7530-4dc2-9acd-5d14eca6fc07@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_85_1620208262.1510270357477" X-Trace: blaine.gmane.org 1510270356 16571 195.159.176.226 (9 Nov 2017 23:32:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2017 23:32:36 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDH3TUHF3QCBBFWLSPIAKGQEUJDBAJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Nov 10 00:32:32 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f61.google.com ([209.85.218.61]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCwJD-00046W-Tq for gtp-pandoc-discuss@m.gmane.org; Fri, 10 Nov 2017 00:32:32 +0100 Original-Received: by mail-oi0-f61.google.com with SMTP id j83sf5555798oif.7 for ; Thu, 09 Nov 2017 15:32:39 -0800 (PST) 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=p6asoFPOqIOlW11z7yScNYWss9xSSjGUgoa/dVoeBQc=; b=IXIvGI8Jqu3A19ykWQBXxjjnagLocTvGunsslzO7e2AbsfYzxPK9MO0D0Ip71SKQ0N lTlJg1IPju6I/DC1ab4GT2eUOM0aQl3xQZQdQWWHTrYWX+LvXVyA/bm02N/vbl4oWWXU cwcritPtNF9XmgUyWB6T6651PWURjFnEa4Dur8RSED04pHbfjwArk+CchAemWfzVjpaP yThDwXyMSSR6F8gS4Ze2YxfXKUXV4EjiXSZlQNHyl0MyAm3PoIjrj12j9sO8IMmXLedn LXt98IHvbyORXIToQppMTAhJyQuodmvo5/xpnIQe27ytpYQAx6YT4Gbj3EdN+LUQPI9K tEFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netcraft-com-au.20150623.gappssmtp.com; s=20150623; 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=p6asoFPOqIOlW11z7yScNYWss9xSSjGUgoa/dVoeBQc=; b=CdnCFQyVRc2s04W2Pf3fVqi8j7UTNb0jvlFte0JhdQVV3mNVodnfpB2R9qMkOe2soh 6vxW41r+lyIrUwFYMmb+dEn2xFAxl1y50/XgectBF94sAMWNE9pMQzuYQezoDJdN/Fn1 l+KQZC95uEKev80J2fCbYc3IF0MlAQATFrWWiGBJNOuDuYhfRzqBe+uyGbmA1LVQwuLP T7qyLkkWu1WbiOHgD4TnH3K5kgRopCchRaM6kApF8LORQCtf9jKQ/Wgc7fX/lwu2NYDQ siPrGmeYYQlPdmqBwkl+AVm5VsFKVJtNHILGcOnwvUtRFAKGAJ/SRhOR6bg3dkvaxwvF yhDw== 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=p6asoFPOqIOlW11z7yScNYWss9xSSjGUgoa/dVoeBQc=; b=OFsFQleVpXAP0dfCsqGAjKois/wFx+pWZihJTgTcEs2NcqHV5NKNPaNVXVccO/Dlwt Xp2krVRodUwgJuxdzHTJ6+7Mp72YA30T0MplfrbxH3dA6BtFiO87vkJfQxSlgOb0rc9N 58z/gP6SfqnhUVlaDJOJ+F72a+OmtoOLTuS9ecrvzXfvjW2WTP1P81w9Q7Pb7gv5+8uT LMYMIqMXaIfhTfX7wmCZ8Mqifk4pRVxkpkut1CZrL+Kbf+ZztzJ0nQWMO6ILd4Z14H53 1/AYSvs4UN/RygspLK0oXqsSXtNIRyC8vcsiet/Nba/9VLHuRmeKETSQaikt16kM2Pi3 3PyA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJaThX6YxOyWsV0YycUnnQ8SSAA5EhbUeXYoxZ/rp7TIU0c3wfyBG+5x JzioEOJTPA7UVjuE50VG/kc= X-Google-Smtp-Source: AGs4zMYcQuzHOZQRUG0iWkuY4NhFKdaGQsZR5+1jRwCQLfD84fKoezr5Hf7y6+uqoGxSWHG0uhVUbQ== X-Received: by 10.157.12.211 with SMTP id o19mr289416otd.0.1510270359199; Thu, 09 Nov 2017 15:32:39 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.4.208 with SMTP id 199ls5879038oie.7.gmail; Thu, 09 Nov 2017 15:32:37 -0800 (PST) X-Received: by 10.157.92.195 with SMTP id r3mr291066oti.5.1510270357869; Thu, 09 Nov 2017 15:32:37 -0800 (PST) X-Original-Sender: sclarke-DpHT0TjK6O80n/F98K4Iww@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:18581 Archived-At: ------=_Part_85_1620208262.1510270357477 Content-Type: multipart/alternative; boundary="----=_Part_86_491765197.1510270357478" ------=_Part_86_491765197.1510270357478 Content-Type: text/plain; charset="UTF-8" OK not sure if this is by design or a bug ;) Relatively new to pandoc and coversion, and am coming from the Windowz world. We have a variety of OSs and editors in use and want to ensure a commonality of output format with standardised frontice pages etc. Version: pandoc 2.0.1.1 Compiled with pandoc-types 1.17.2, texmath 0.10, skylighting 0.4.3.2 We have created our own style file for formatting in latex, and our own pandoc.latex to generate the coverpage etc. We have been extending into using a yaml metadata file to include variables and elements (email address, mulitple authors etc) for our reports. We have a problem with the yaml metadata file causing failures with the conversion from docx to pdf. The file works correctly when used against a markdown file to produce a pdf. Behaviour: This fails - >pandoc --standalone --toc --number-sections --pdf-engine=xelatex --template pandoc.latex test.docx metadata.yaml -o test10.pdf couldn't parse docx file This works without issue - >pandoc --standalone --toc --number-sections --pdf-engine=xelatex --template pandoc.latex test.docx -o test10.pdf Now either I'm doing something I'm not supposed to (and it will be very annoying to have to go through the intermediary step of converting to markdown file first then to pdf), or something is wrong with my syntax. The same command when used for a markdown file works without issue and draws the variables we want from the markdown.yaml. -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9256e740-7530-4dc2-9acd-5d14eca6fc07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_86_491765197.1510270357478 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
OK not sure if this is by design or a bug ;)

Relatively new to pandoc and coversion, and am coming from the Window= z world.

We have a variety of OSs and editors in u= se and want to ensure a commonality of=C2=A0 output format with standardise= d frontice pages etc.

Version: pandoc 2.0.1.1 Comp= iled with pandoc-types 1.17.2, texmath 0.10, skylighting 0.4.3.2
=
We have created our own style file for formatting in latex, = and our own pandoc.latex to generate the coverpage etc.
We have b= een extending into using a yaml metadata file to include variables and elem= ents (email address, mulitple authors etc) for our reports.

<= /div>
We have a problem with the yaml metadata file causing failures wi= th the conversion from docx to pdf.
The file works correctly when= used against a markdown file to produce a pdf.

Be= haviour:

This fails -

>pandoc --standalone --toc --number-sections --pdf-engine=3Dxelate= x --template pandoc.latex test.docx metadata.yaml -o test10.pdf
c= ouldn't parse docx file


This works without issue -
>pandoc --standalone --toc = --number-sections --pdf-engine=3Dxelatex --template pandoc.latex test.docx = -o test10.pdf


Now either = I'm doing something I'm not supposed to (and it will be very annoyi= ng to have to go through the intermediary step of converting to markdown fi= le first then to pdf), or something is wrong with my syntax.

=
The same command when used for a markdown file works without iss= ue and draws the variables we want from the markdown.yaml.



--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/9256e740-7530-4dc2-9acd-5d14eca6fc07%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_86_491765197.1510270357478-- ------=_Part_85_1620208262.1510270357477--