From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/12578 Path: news.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: How to get a page break (/f) from Markdown -> docx? Date: Mon, 20 Apr 2015 10:17:18 -0700 Message-ID: <20150420171718.GB49983@localhost.hsd1.ca.comcast.net> References: <65081506-a54b-4aff-96a0-d8e1cb6accc2@googlegroups.com> <2085f4cb-d713-4975-a739-9ad775cd37c4@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: ger.gmane.org 1429550259 13191 80.91.229.3 (20 Apr 2015 17:17:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 17:17:39 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBLHJ2SUQKGQE5KFETAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Apr 20 19:17:34 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yk0-f190.google.com ([209.85.160.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkFK9-0002zR-C3 for gtp-pandoc-discuss@m.gmane.org; Mon, 20 Apr 2015 19:17:33 +0200 Original-Received: by ykq19 with SMTP id 19sf39310350ykq.0 for ; Mon, 20 Apr 2015 10:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=LEO+gGE/rec1M7Lu1eNJju40Z45+vnjeiGOJZC2TcYE=; b=O6TGy1auYJb1K4tXA6wWctQX4ddvyHpSwNs7Vnh3W+NJn9+IIC4ouUNni19jbxLzle iwnfTqc5kXibkVfFkY3oRY+ddEEVYt8RlhnL2Qx5y/4zbPoTHnqTTTPA2/1fRRx4yOWc BmII5xsDsmWOVZ5ug+wGQfYzLNQr7OYFVJ0uq3I/MVt2EczYTfsWO1Mw1LPC6w5G0Of7 8ZKdydMZZVonHUtycKdFeJbHRhbk0X0AFnUgODqijOP9pxwS31hzbDq20fOINROJQu5j eaE7dd3P66Wz4UCGjDnOXEkSOpkZsYQNG5M4hY3c3LrqEX9hmGaK4ltka2gESxsBYqij nlvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=LEO+gGE/rec1M7Lu1eNJju40Z45+vnjeiGOJZC2TcYE=; b=KFzp3nhad34PleyN1KLcXDW7su37uF6dzoERnTC0/ijtlZPVIYdnb2e65P5rckQz+7 Zqd8+C0bevz2vkqUPGAsHtEhhN5BNrWyazy26g+8/vlnGxV9ZkNEnKvY3iSNRgL7RSTl cGUj6UWI05BNXxxmsjmOTXsEwtuVssRO2yyL9GokcakTvP3bCseuuMVcfd3oJmhMy0zH nIx7HVHw8f36RuoxR0yI0QhyvX21B8uueL1RY0f78YoD/ZxvOsRB/+ur3FvbISy6qQzl zes4lL8WGoxHtFPX8qqqotIAsID+dhLN3R22UocPssuD6ZpGQbLr/r2vqsKIs1GE86jJ Gy X-Received: by 10.50.114.8 with SMTP id jc8mr314904igb.11.1429550252601; Mon, 20 Apr 2015 10:17:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.129.40 with SMTP id c40ls1919638iod.44.gmail; Mon, 20 Apr 2015 10:17:32 -0700 (PDT) X-Received: by 10.50.80.15 with SMTP id n15mr23435956igx.8.1429550252233; Mon, 20 Apr 2015 10:17:32 -0700 (PDT) Original-Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com. [209.85.192.172]) by gmr-mx.google.com with ESMTPS id pc4si2327565pac.0.2015.04.20.10.17.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 10:17:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.192.172 as permitted sender) client-ip=209.85.192.172; Original-Received: by pdbqd1 with SMTP id qd1so213919049pdb.2 for ; Mon, 20 Apr 2015 10:17:31 -0700 (PDT) X-Gm-Message-State: ALoCoQnCxGJxQSzzXdX8a6sp2TBE4BSFusfzK3SmqwlgIGowPkinArszFYlWTzqSbvqBhMUa+gpI X-Received: by 10.70.96.162 with SMTP id dt2mr29749880pdb.20.1429550251907; Mon, 20 Apr 2015 10:17:31 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by mx.google.com with ESMTPSA id qc9sm18882824pab.19.2015.04.20.10.17.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 10:17:30 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id CEDB2A621; Mon, 20 Apr 2015 13:17:18 -0400 (EDT) Content-Disposition: inline In-Reply-To: <2085f4cb-d713-4975-a739-9ad775cd37c4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 209.85.192.172 as permitted sender) smtp.mail=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:12578 Archived-At: Try with insertPgBrks :: Block -> Block insertPgBrks (RawBlock (Format "tex") "\newpage") = pgBrkBlock insertPgBrks blk = blk