From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11027 Path: news.gmane.org!not-for-mail From: Ken Kleinman Newsgroups: gmane.text.pandoc Subject: How to get a page break (/f) from Markdown -> docx? Date: Fri, 3 Oct 2014 06:55:22 -0700 (PDT) Message-ID: <65081506-a54b-4aff-96a0-d8e1cb6accc2@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8111_1210327626.1412344522829" X-Trace: ger.gmane.org 1412344532 29008 80.91.229.3 (3 Oct 2014 13:55:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2014 13:55:32 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD4PNU4QSMGRBS6VXKQQKGQEUFYNTAA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 03 15:55:27 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yk0-f191.google.com ([209.85.160.191]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xa3KO-00020X-Hj for gtp-pandoc-discuss@m.gmane.org; Fri, 03 Oct 2014 15:55:24 +0200 Original-Received: by mail-yk0-f191.google.com with SMTP id q200sf204317ykb.8 for ; Fri, 03 Oct 2014 06:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; 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:sender:list-subscribe:list-unsubscribe:content-type; bh=gNhEuYjlGTPIfAhWBjeVKqc5MnLWfiK6IRYnX4Tl3Bw=; b=h2Z/1JRJH07FCJ+lfmTG+k8WV9krl1xiqGOUqKi9r7/PPQV7nXN0Gh9WHnVYvUD82u tbHZyhlwNXX4uPhPgoDVfAT8GvAh6t9JbyUq//BwDhkGpTMk4QtckPYzUzWUhIFdxo2k kBOZ7jcpQRLXhR0m7vA45rV1a1aUS9jol3ZRwOOdBkZfp7nta0MCCl63ywn0KWp+lQVr ZuiOqUGbxmeqFS7tIe0KncKIbkS8OqlYb5RGhMTFH2zUfMVYVEUmwve5pyBR0iKDwTsX RAuVY4GccHR9NnhUQwk960kNU0DoTU0zfaLu+wCMEjSL4ehbb1LIXosP34vORnPM9wb3 IVXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; 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:sender:list-subscribe:list-unsubscribe:content-type; bh=gNhEuYjlGTPIfAhWBjeVKqc5MnLWfiK6IRYnX4Tl3Bw=; b=mtt8knExAoW72uuqdtZVdVQ0itpwZ7iQZDEXuBAKpc566wyndp/5+VHgfvo0oBvlrs kzeMONwiU3tP4XZjDq+Xa39AvlFQYcNYnAqfEurjngbDqJ1x/fqEUT8a4gvaZ+aRjaUA 3WEyVoniqW8xF6IHtVgy/cI2w9nSTXib9ZEOnawrO1JWOmHdZZzHlLQb7V7+ElMPxyXJ VdmjvhoE3qg7uBtrZ5FEnO/6PgBoN1xcaOXkzXICBVtFE+q0PaT7NlCaxR9c6g9tAXzi 6vUBxy9q988vfHCT466SsEWl/qe3/bgWsUh+92x0dhDY4B9sgutRYf8PV6m7Zw30ieMq x85w== X-Received: by 10.140.91.181 with SMTP id z50mr6928qgd.20.1412344523765; Fri, 03 Oct 2014 06:55:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.94.211 with SMTP id g77ls1362052qge.77.gmail; Fri, 03 Oct 2014 06:55:23 -0700 (PDT) X-Received: by 10.140.20.39 with SMTP id 36mr17692qgi.15.1412344523336; Fri, 03 Oct 2014 06:55:23 -0700 (PDT) X-Original-Sender: ken.kleinman-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:11027 Archived-At: ------=_Part_8111_1210327626.1412344522829 Content-Type: text/plain; charset=UTF-8 Hello, folks-- Can anyone help me figure out how to insert a page break into a .docx, using a file written in Markdown? This ought to be possible with the \f escape code (formfeed), but using this results in a file that Word will not open, despite the fact that \n (newline) works fine. Brief backstory: I'm using R and RStudio to write a mailmerge-like program with text and personalized graphics for an NIH-funded research project. (RStudio uses Pandoc to convert from Markdown to .docx and pre-processing to run R code and insert results.) The goal is to return to research participants some information about themselves in the context of the others in the study. My plan is to generate some text and graphics within R and use Pandoc to generate the reports. I've attached a (very) crude mock-up of a graphic below. The page break is needed to separate reports for each individual in the project. Many thanks! --Ken Kleinman [image: Inline image 1] -- 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/65081506-a54b-4aff-96a0-d8e1cb6accc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_8111_1210327626.1412344522829 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello, folks--

Can anyone help me figure out how = to insert a page break into a .docx, using a file written in Markdown?

This o= ught to be possible with the \f escape code (formfeed), but using this resu= lts in a file that Word will not open, despite the fact that \n (newline) w= orks fine.

Brief backstory: I'= m using R and RStudio to write a mailmerge-like program with text and perso= nalized graphics for an NIH-funded research project.  (RStudio uses Pa= ndoc to convert from Markdown to .docx and pre-processing to run R code and= insert results.)  The goal is to return to research participants some= information about themselves in the context of the others in the study.&nb= sp; My plan is to generate some text and graphics within R and use Pandoc t= o generate the reports.  I've attached a (very) crude mock-up of a gra= phic below.  The page break is needed to separate reports for each ind= ividual in the project.

Many thanks!

--Ken Kleinman
3D"Inline

--
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/65081506-a54b-4aff-96a0-d8e1cb6accc2%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_8111_1210327626.1412344522829--