public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: CFCF <h.c.friedrich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Docx Margin
Date: Mon, 18 Nov 2013 09:15:55 -0800 (PST)	[thread overview]
Message-ID: <e4989094-92c2-4a01-b13c-a6e4fbdf366c@googlegroups.com> (raw)
In-Reply-To: <20131031181853.GC7678-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 4614 bytes --]

Have a look at http://officeopenxml.com/WPsectionPgMar.php

At the end of document.xml generated in Pandoc then saved from Word 2013 
with custom margins and paper size I found this:

<w:sectPr w:rsidR="00E50FC8" w:rsidSect="00D938EE">
<w:pgSz w:w="9638" w:h="13606"/>
<w:pgMar w:top="850" w:right="850" w:bottom="567" w:left="850" w:header="283
" w:footer="283"w:gutter="0"/>
<w:cols w:space="720"/>
<w:titlePg/>
<w:docGrid w:linePitch="360"/>
</w:sectPr>
</w:body>

All measurements are in twips,i.e. twentieths of a point (?!?).
 So <w:pgSz w:w="9638" w:h="13606" translates to 170x240mm paper size.



On Thursday, October 31, 2013 7:18:53 PM UTC+1, fiddlosopher wrote:
>
> I'm agreed about its usefulness!  I just haven't been able to figure 
> out yet how to do this in docx.  Again, I'd invite help from any 
> ooxml experts out there. 
>
> +++ Paul D. Walker [Oct 30 13 01:19 ]: 
> >    This would still be a useful feature. 
> >    On Thursday, October 17, 2013 9:49:27 PM UTC+8, Michael Nestrud 
> wrote: 
> > 
> >    I'd like to second that I would love the ability to set word margins 
> to 
> >    something besides default, either through the reference.docx or other 
> >    means. 
> >    Thanks, 
> >    -Michael 
> >    On Tuesday, February 14, 2012 7:26:36 PM UTC-5, Matt Burton wrote: 
> > 
> >      Good enough then; I'll try to modify my content so that it works 
> >      better with the default styles.  Thanks! 
> >      On Feb 14, 11:25 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 
> wrote: 
> >      > You can modify styles, but page margins are not (currently at 
> >      least) 
> >      > in any styles, so changes to them won't persist.  It would be 
> good 
> >      > to make this modifiable, but I haven't had any luck putting page 
> >      > margins in the styles in the reference.docx. Maybe someone with 
> >      more 
> >      > ooxml experience can help. 
> >      > 
> >      > +++ Matt Burton [Feb 13 12 18:25 ]: 
> >      > 
> >      > 
> >      > 
> >      > 
> >      > 
> >      > 
> >      > 
> >      > > Hello, 
> >      > 
> >      > > Is it possible to set non-default document margins for the docx 
> >      > > writer?  I modified the margins in the Page Layout section of 
> >      > > Microsoft Word, but the settings are not carried over from the 
> >      > > 'reference.docx' file.  Other style settings are copied as 
> >      expected, 
> >      > > but the resulting Word document has standard (1 inch) margins. 
> >      > 
> >      > > Thanks very much, 
> >      > > Matt Burton 
> >      > 
> >      > > -- 
> >      > > You received this message because you are subscribed to the 
> >      Google Groups "pandoc-discuss" group. 
> >      > > To post to this group, send email to 
> >      pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> >      > > To unsubscribe from this group, send email to 
> >      pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> >      > > For more options, visit this group 
> >      athttp://[1]groups.google.com/group/pandoc-discuss?hl=en. 
> > 
> >    -- 
> >    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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >    To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<javascript:>. 
>
> >    To view this discussion on the web visit 
> >    [2]
> https://groups.google.com/d/msgid/pandoc-discuss/6d37e7c4-1ae5-407b- 
> >    ae32-1253885d37c2%40googlegroups.com. 
> >    For more options, visit [3]https://groups.google.com/groups/opt_out. 
> > 
> > References 
> > 
> >    1. http://groups.google.com/group/pandoc-discuss?hl=en 
> >    2. 
> https://groups.google.com/d/msgid/pandoc-discuss/6d37e7c4-1ae5-407b-ae32-1253885d37c2%40googlegroups.com 
> >    3. https://groups.google.com/groups/opt_out 
>

-- 
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/e4989094-92c2-4a01-b13c-a6e4fbdf366c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 18633 bytes --]

  parent reply	other threads:[~2013-11-18 17:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-14  2:25 Matt Burton
     [not found] ` <36673f7b-9305-449c-9794-64dcfbbbd174-vo1gq9LBqTWBTme2s9K3m2B/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2012-02-14 16:25   ` John MacFarlane
     [not found]     ` <20120214162556.GD19597-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2012-02-15  0:26       ` Matt Burton
     [not found]         ` <2cb6471f-0620-4484-ab4e-9a965cd569f6-f4amzYh8hJaqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2013-10-17 13:49           ` Michael Nestrud
     [not found]             ` <c33b3dbb-ac91-42b0-99bd-83fbd42f04fe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-10-30  8:19               ` Paul D. Walker
     [not found]                 ` <6d37e7c4-1ae5-407b-ae32-1253885d37c2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-10-31 18:18                   ` John MacFarlane
     [not found]                     ` <20131031181853.GC7678-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-11-18 17:15                       ` CFCF [this message]
     [not found]                         ` <e4989094-92c2-4a01-b13c-a6e4fbdf366c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-11-18 17:41                           ` CFCF
     [not found]                             ` <5cdf6ff1-9117-4025-8833-958e39f82020-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-11-18 18:01                               ` John MacFarlane
     [not found]                                 ` <20131118180119.GB21483-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-11-18 23:45                                   ` CFCF
     [not found]                                     ` <9010aaa2-9907-4adf-a902-6ad19ab64fb8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-11-19  2:07                                       ` John MacFarlane
2014-06-01  5:07                                       ` John MacFarlane
     [not found]                                         ` <20140601050752.GC3144-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-06-02  5:33                                           ` John MacFarlane
     [not found]                                             ` <20140602053305.GA10292-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-06-02  6:04                                               ` Niels Berglund
     [not found]                                                 ` <CAL0uK6Ce-WTakLDvhtDmt6vPTznuNaGnEJrFCsXhaMCFeX5X_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-03 16:57                                                   ` John MacFarlane
2014-06-01  5:06               ` John MacFarlane
     [not found]                 ` <20140601050653.GB3144-9Rnp8PDaXcZ2EAH53EmH34tHsfhOvSUSZkel5v8DVj8@public.gmane.org>
2014-07-12 18:57                   ` Michael Nestrud

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=e4989094-92c2-4a01-b13c-a6e4fbdf366c@googlegroups.com \
    --to=h.c.friedrich-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).