From: Ken Kleinman <ken.kleinman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Cc: ken.kleinman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: How to get a page break (/f) from Markdown -> docx?
Date: Fri, 3 Oct 2014 07:21:08 -0700 (PDT) [thread overview]
Message-ID: <d4db22fa-7e71-4ae5-aa46-ff75a2fe3a62@googlegroups.com> (raw)
In-Reply-To: <87fvf5ckhv.fsf-4GNroTWusrE@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2269 bytes --]
I had somewhat ignorantly contacted Jon MacFarlane separately to ask this
question, previously, and he replied with the following:
"It should be possible to achieve what you want to achieve using
pandoc filters, with a bit of coding. The filters would insert
a bit of openxml code that produces a page break. I don't have
time to figure out how to do this right now, but it should be
possible."
I gather you've provided the necessary XML code, Jesse. Thanks. Would the
idea of filters be a way in to making this work?
Separate files would also be a possibility, thanks. It would be messier
coding in R than I'd hoped to do, and some administrative assistant will
have to open. print, close, each of hundreds of files, but I do think it's
better than nothing.
On Friday, October 3, 2014 10:08:14 AM UTC-4, Jesse Rosenthal wrote:
>
> Ken Kleinman <ken.kl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes:
>
> > Hello, folks--
> >
> > Can anyone help me figure out how to insert a page break into a .docx,
> > using a file written in Markdown?
>
> Well, the pandoc native format doesn't have pagebreaks (doesn't make
> sense in a lot of its output formats, particularly html). So I don't
> imagine it's possible. For what it's worth, the docx pagebreak xml is:
>
> ~~~
> <w:p>
> <w:r>
> <w:br w:type="page"/>
> </w:r>
> </w:p>
> ~~~
>
> But I don't know what input we would want to have produce this output,
> and we don't currently have a way to inject raw xml into a docx (nor do
> I think we should).
>
> For your purposes, probably producing different files for your different
> recipients would be the way to go.
>
> Best,
> Jesse
>
--
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/d4db22fa-7e71-4ae5-aa46-ff75a2fe3a62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 4173 bytes --]
next prev parent reply other threads:[~2014-10-03 14:21 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-03 13:55 Ken Kleinman
[not found] ` <65081506-a54b-4aff-96a0-d8e1cb6accc2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-10-03 14:10 ` Jesse Rosenthal
[not found] ` <87fvf5ckhv.fsf-4GNroTWusrE@public.gmane.org>
2014-10-03 14:21 ` Ken Kleinman [this message]
[not found] ` <d4db22fa-7e71-4ae5-aa46-ff75a2fe3a62-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-10-03 14:28 ` Ken Kleinman
[not found] ` <404e04a7-e51c-4afe-ab5a-826a2ccfec86-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-10-03 14:43 ` Jesse Rosenthal
[not found] ` <874mvlcixp.fsf-4GNroTWusrE@public.gmane.org>
2014-10-03 14:50 ` Ken Kleinman
[not found] ` <c4a5f8d6-a674-4ffd-8f90-afa87647f069-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-10-16 21:15 ` Gavin Swanson
2014-10-03 14:39 ` Jesse Rosenthal
2014-10-03 14:27 ` John MacFarlane
2015-04-20 17:05 ` hjallen44-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <2085f4cb-d713-4975-a739-9ad775cd37c4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-20 17:17 ` John MacFarlane
[not found] ` <20150420171718.GB49983-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2015-04-20 17:35 ` hjallen44-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <86515234-38b7-4fa5-8d21-0c94fe3cf9f6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-20 18:31 ` fiddlosopher
[not found] ` <253add6a-b873-4a1c-ad97-3dadf4c7ed1f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-22 13:28 ` hjallen44-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <f65a84c9-7e2f-4ba1-a092-0c52f5f79186-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-22 15:44 ` John MacFarlane
[not found] ` <20150422154425.GC52517-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2015-04-22 16:59 ` hjallen44-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <2f0fdd14-9f3e-4aa7-9d9c-756cc82f3a5d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-05-27 22:52 ` JO
[not found] ` <0ef1e813-31dc-4c69-b37b-2114f4c4621a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-05-28 17:59 ` 'Jason Seeley' via pandoc-discuss
2016-08-29 20:45 ` joel allen
[not found] ` <a1dc8029-bc47-49d4-a55f-0c035c076ba5-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-06-13 11:03 ` endymionselenicz-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <6ecc8d08-7c6d-4e76-8b35-004176e6af4b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-22 11:33 ` Jonathan Van Belle
2019-01-21 21:07 ` sonya.mamurin-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <f2152eb3-5e8e-42b7-9450-72035339de40-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-02-15 18:17 ` sonya.mamurin-Re5JQEeQqe8AvxtiuMwx3w
2015-05-30 15:41 ` amygroshek-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <9c2658ec-c79f-4dd7-b403-21c88dc93bc4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-05-30 17:13 ` Jason White
[not found] ` <20150530171323.GA20492-4VuKTzg51y8@public.gmane.org>
2015-12-09 1:58 ` Courtney Campany
[not found] ` <81dcb1b1-eb5a-4bb6-afdc-3ce9542d2cdb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-12-11 13:49 ` Andrew Dunning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4db22fa-7e71-4ae5-aa46-ff75a2fe3a62@googlegroups.com \
--to=ken.kleinman-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).