From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/12579 Path: news.gmane.org!not-for-mail From: hjallen44-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Newsgroups: gmane.text.pandoc Subject: Re: How to get a page break (/f) from Markdown -> docx? Date: Mon, 20 Apr 2015 10:35:23 -0700 (PDT) Message-ID: <86515234-38b7-4fa5-8d21-0c94fe3cf9f6@googlegroups.com> References: <65081506-a54b-4aff-96a0-d8e1cb6accc2@googlegroups.com> <2085f4cb-d713-4975-a739-9ad775cd37c4@googlegroups.com> <20150420171718.GB49983@localhost.hsd1.ca.comcast.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_476_109286446.1429551323229" X-Trace: ger.gmane.org 1429551325 31383 80.91.229.3 (20 Apr 2015 17:35:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 17:35:25 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCCLTF6K4IOBBW7R2SUQKGQESNUAQAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Apr 20 19:35:25 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qc0-f187.google.com ([209.85.216.187]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkFbQ-0004uz-Ik for gtp-pandoc-discuss@m.gmane.org; Mon, 20 Apr 2015 19:35:24 +0200 Original-Received: by qcvp6 with SMTP id p6sf39382384qcv.0 for ; Mon, 20 Apr 2015 10:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=K0EB/CSPAtji986VMKHGvKm9n2LCG6WcWBEb93Jp1dA=; b=mhRVBZC5uYZavPWdRGystZboWQ6ng+8VpCM6jJJakYsL3HDwon0Y6qO9vyDJLZNOJm Tcx+aOXj0wg6O75YlVStkwGtR569TXnx8z/29BtwOU/cg38k3OXUGzIH09DdjbFCJBBH 0J7TyF5Rr1JwvENJlgwnyd0YXfrsZiCcGxUeTcp/7Owsfe7GUKIHGdLoSm/mVKQi/beW TpOZNo9aWIoCHoUQNHVeQ8F8OlH7JHWDAdwEX02CNKnSLtq5TJPIP73CcFctjSYcRBtR //WYmxLzVU8xpQaMAcEyUpFKmAv/aBEVH1dDhgMqgJBf+NoBrNSm4ydyABuWMG4LDER+ uDlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=K0EB/CSPAtji986VMKHGvKm9n2LCG6WcWBEb93Jp1dA=; b=Zy/s/A/iHbvkMPnaaZnID8Xr4oOLf6/lXM0iFmZ3byawsb2iPX6TSsgvvR1akETi2n huEzossxUtQ/i4YLAxW30QfzP2q4OfJ06BPnpZeaUzJFPNWgFPLZxcOO3q4Ny5JAAMF2 h+s7k3qUyDttwzYOWAPtMdtAPp/f+ZOyj3GV85UGc/oJOgKKGnaZy8yD2QrT58U2I+KV pymLYGL9FTVTipgPhfOkjfJB6cu+0C24jidk9wIfwWaECkCTcxYgDFvsLX89b2UsN8d9 IF2tKHuTHgK+UN1s6LZfKOMZUptg7ZGLXe+t62S2iBsoF6b6oH+7TO7xq/87rP9F8E4R cPQQ== X-Received: by 10.140.93.226 with SMTP id d89mr208977qge.38.1429551323833; Mon, 20 Apr 2015 10:35:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.21.165 with SMTP id 34ls373763qgl.36.gmail; Mon, 20 Apr 2015 10:35:23 -0700 (PDT) X-Received: by 10.140.98.175 with SMTP id o44mr222404qge.33.1429551323516; Mon, 20 Apr 2015 10:35:23 -0700 (PDT) In-Reply-To: <20150420171718.GB49983-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org> X-Original-Sender: hjallen44-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.org gmane.text.pandoc:12579 Archived-At: ------=_Part_476_109286446.1429551323229 Content-Type: multipart/alternative; boundary="----=_Part_477_678779737.1429551323229" ------=_Part_477_678779737.1429551323229 Content-Type: text/plain; charset=UTF-8 Thanks for the response! I think I may have a couple of issues going on. First, the output I receive with the above method amended as suggested is pandoc: Error running filter pandoc-word-pagebreak pandoc-word-pagebreak not found in path Error: pandoc document conversion failed with error 83 I get this regardless of the path of the filter I give in the pandoc_args: section. The current version of pandoc on my RHEL 6 machine is 1.11.1 (I have a request in to my IT folks for an upgrade). One point of confusion for me is the statement in the release notes for 1.13 stating that this error text is thrown regardless of the cause for the error. So, is the error due to issues with the filter or due to something else such as permissions? Can I test outside of Rstudio? I am currently working through the filter writing tutorial, hopefully I will be able to learn something. Thanks, Joel On Monday, April 20, 2015 at 1:17:33 PM UTC-4, John MacFarlane wrote: > > Try with > > insertPgBrks :: Block -> Block > insertPgBrks (RawBlock (Format "tex") "\newpage") = pgBrkBlock > insertPgBrks blk = blk > > > -- 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/86515234-38b7-4fa5-8d21-0c94fe3cf9f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_477_678779737.1429551323229 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for the response!
I think I may have a couple of= issues going on.  First, the output I receive with the above method a= mended as suggested is
pandoc: Error running filt= er pandoc-= word-pagebreak
pandoc-word-pagebreak not found in path
Error: pandoc document conversion failed with error 83
I get this regardless of the = path of the filter I give in the pandoc_args: section. 
The curren= t version of pandoc on my RHEL 6 machine is 1.11.1 (I have a request in to = my IT folks for an upgrade).
One point of confusion for me is the statem= ent in the release notes for 1.13 stating that this error text is thrown re= gardless of the cause for the error. 
So, is the error due to issu= es with the filter or due to something else such as permissions?
Can I t= est outside of Rstudio?
I am currently working through the filter writin= g tutorial, hopefully I will be able to learn something.
Thanks,
Joel=


On Monday, April 20, 2015 at 1:17:33 PM UTC-4, John MacFarlane = wrote:
Try with

insertPgBrks :: Block -> Block
insertPgBrks (RawBlock (Format "tex") "\newpage") =3D pgBrkBlock
insertPgBrks blk =3D blk


--
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/86515234-38b7-4fa5-8d21-0c94fe3cf9f6%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_477_678779737.1429551323229-- ------=_Part_476_109286446.1429551323229--