From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17930 Path: news.gmane.org!.POSTED!not-for-mail From: Jonathan Van Belle Newsgroups: gmane.text.pandoc Subject: Re: How to get a page break (/f) from Markdown -> docx? Date: Sat, 22 Jul 2017 04:33:08 -0700 (PDT) Message-ID: <4cbcc474-0950-4962-b567-b28c8657a5d9@googlegroups.com> References: <65081506-a54b-4aff-96a0-d8e1cb6accc2@googlegroups.com> <2085f4cb-d713-4975-a739-9ad775cd37c4@googlegroups.com> <20150420171718.GB49983@localhost.hsd1.ca.comcast.net> <86515234-38b7-4fa5-8d21-0c94fe3cf9f6@googlegroups.com> <253add6a-b873-4a1c-ad97-3dadf4c7ed1f@googlegroups.com> <20150422154425.GC52517@localhost.hsd1.ca.comcast.net> <2f0fdd14-9f3e-4aa7-9d9c-756cc82f3a5d@googlegroups.com> <6ecc8d08-7c6d-4e76-8b35-004176e6af4b@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_2187_1064061419.1500723188456" X-Trace: blaine.gmane.org 1500723189 27841 195.159.176.226 (22 Jul 2017 11:33:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 11:33:09 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDELPFMCYYKRB5PPZTFQKGQEXJU2WOI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 22 13:33:04 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f189.google.com ([209.85.223.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYsee-0006w2-7f for gtp-pandoc-discuss@m.gmane.org; Sat, 22 Jul 2017 13:33:04 +0200 Original-Received: by mail-io0-f189.google.com with SMTP id l7sf3163279iof.0 for ; Sat, 22 Jul 2017 04:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=jSApPz7cLSlCaRB9kvHP4Wx0ACrjXiUscT3Ete2a87w=; b=TOCyWHvUKVKZVYV/uwdqzngGOMIS4ASH5yCQrDp73VphPV741nT4P9NX9PHS5sGKLS IFeZ0NIi+mGpP8CobEAHTlKQNn2x5gUY8toTf2AHQAAs8HA/APO4vdwHvyP5bfHgxbig K2i0v+OIeleNeQzhv59KyzWlfDBBa9IqCfdCOOxrGj09Mm/DjDc8RGdvoN4qwD+RTZEl Mi6nuD8WTkDqNnlbgbdmQjDjq2yLgGH4Hdv7u1SKL9WQblbTEQObQX+/2kL32l7AnhK0 azM2K4bBpht1py0DK9Xg0eHQDr7ax5JfD+qEXbBWqp0dtdu1ZLMCc1NMGSsWgrAwtMYm OVew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=jSApPz7cLSlCaRB9kvHP4Wx0ACrjXiUscT3Ete2a87w=; b=Fzg9sKVawySACY4KpcIXXLKCJX42wwo4+eYauk6X19Vgw01PYrZ9xjTr4qIES4rKIC LQFpXXfkci0+VvyRUe6p0VP6PNfx1OMi+EGUzj1wD7ct/dhXbA6j00aQds4hldx0VmuN ny2xn5mdV1uh3YcXRgA6roimCtmCngyn0IH6/T6MN0/YcYBaZiFLxTgnwGwuMMzL96IF sEKOR4mlf7i6crRjgCZmlqr9xKsOPoSjXfQhQmQMnXF1LzoQkWgfPI7mRvstk3GqJuCo OkFaDFgiJWr+z+s+ihB1p+H4kVdx217IiBn8XimvfdEIk9zSrrHwhosCsbpC06K8x5ag bStw== 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:in-reply-to :references: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=jSApPz7cLSlCaRB9kvHP4Wx0ACrjXiUscT3Ete2a87w=; b=iPHW7J3SK/92gxHpKzH08O4b1PBk4jzvtpaTCqIPimzeuf5Ca/A5wST/7DCP2QCdGp +Eefrvj8Gqr4gYXwF8tzWvDaxYBtqCMUzz1SigDgyP4gStD7oFwN4cnrSbcq5JInuhga VRRHT9s55bbQ8eT5pCpz4KBiVvW78NRlZyUnSnu5/hJ384YKM2IZ4/KiH1EJuLeMLjhW ITMyS+VRC9pWUVoq4+tOrW9lX+J4m4SAMMNkLQV4aMdLNwY7wqfWd7vCCxwmr5WtgS9i VlttrZ5Ui6UTyl5zhv+m15Muz3GHQ2KZbSe7aLxKWItZDoXbtIXxH+SCrLOl1FECINLc /ASA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw113rhsLDhiYtbNQy4pTiYtSJ9LVvYrb9RBnJnNC8NrQKMfTJvNXU aPk9lXvhT/H9sw== X-Received: by 10.36.57.130 with SMTP id l124mr69858ita.1.1500723189809; Sat, 22 Jul 2017 04:33:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.5.13 with SMTP id 13ls9535352iof.15.gmail; Sat, 22 Jul 2017 04:33:09 -0700 (PDT) X-Received: by 10.36.82.208 with SMTP id d199mr70180itb.7.1500723188997; Sat, 22 Jul 2017 04:33:08 -0700 (PDT) In-Reply-To: <6ecc8d08-7c6d-4e76-8b35-004176e6af4b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: grummfy-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:17930 Archived-At: ------=_Part_2187_1064061419.1500723188456 Content-Type: multipart/alternative; boundary="----=_Part_2188_2111939503.1500723188457" ------=_Part_2188_2111939503.1500723188457 Content-Type: text/plain; charset="UTF-8" Hello, I see this filter and the other, is anyone can convert it to a multi format script? If I need to write pseudo code it will be something like if format == 'html' then replace by "
" if format == 'openxml' then replace by "" etc thanks -- 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/4cbcc474-0950-4962-b567-b28c8657a5d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2188_2111939503.1500723188457 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I see this filter and the other, is anyone can c= onvert it to a multi format script?

If I need to write pseudo code i= t will be something like
if format =3D=3D 'html' then replace by= "<div style=3D\"page-break-after: always;\"></div&= gt;"
if format =3D=3D 'openxml' then replace by "<w= :p><w:r><w:br w:type=3D\"page\"/></w:r></= w:p>"
etc

thanks

--
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/4cbcc474-0950-4962-b567-b28c8657a5d9%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2188_2111939503.1500723188457-- ------=_Part_2187_1064061419.1500723188456--