public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* A couple of newbie questions
@ 2019-09-12 17:22 Don Raikes
  2019-09-13  8:09 ` Jeff Milton
  2019-09-13 13:14 ` Agustín Martín
  0 siblings, 2 replies; 3+ messages in thread
From: Don Raikes @ 2019-09-12 17:22 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Hello,

 

I am starting to work on my first pandoc project. I am creating both a pdf and Microsoft word docx file from my markdown files (in the process of creating a book).

 

I have two basic questions:

 

1.                How can I format a cover page that includes just the title, author, and date the pdf//docx was generated?

2.                How do I force pagebreaks between sections of the book? For example after the overview and before chapter 1.

Any tips examples would be greatly appreciated.

 

 

-- 
Thanks, Donald 

"As a leader, to be successful, is to help the people around you to be successful." - Kent Boucher

 

Accessibility, like security, is better when built-in from the beginning rather than bolted on at the end.


http://www.oracle.com/
Donald Raikes | Accessibility Specialist
Mobile: HYPERLINK "tel:+15202717608"+15202717608 | VOIP: HYPERLINK "tel:+15205744033"+15205744033 
Oracle Accessibility Program Office
| Tucson, Arizona 

http://www.oracle.com/commitment

Oracle is committed to developing practices and products that help protect the environment

 

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/98ac4921-3537-4189-8e98-7dfec2397102%40default.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A couple of newbie questions
  2019-09-12 17:22 A couple of newbie questions Don Raikes
@ 2019-09-13  8:09 ` Jeff Milton
  2019-09-13 13:14 ` Agustín Martín
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Milton @ 2019-09-13  8:09 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

I am also a newbie, so there may be a better answer than this, but if you
add  "--top-level-division=chapter" as an argument on the command line it
will force a page break before every H1 element.

On Thu, Sep 12, 2019 at 1:23 PM Don Raikes <DON.RAIKES-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:

> Hello,
>
>
>
> I am starting to work on my first pandoc project. I am creating both a pdf
> and Microsoft word docx file from my markdown files (in the process of
> creating a book).
>
>
>
> I have two basic questions:
>
>
>
> 1.                How can I format a cover page that includes just the
> title, author, and date the pdf//docx was generated?
>
> 2.                How do I force pagebreaks between sections of the book?
> For example after the overview and before chapter 1.
>
> Any tips examples would be greatly appreciated.
>
>
>
>
>
> --
> Thanks, Donald
>
> “As a leader, to be successful, is to help the people around you to be
> successful.” – Kent Boucher
>
>
>
> Accessibility, like security, is better when built-in from the beginning
> rather than bolted on at the end.
>
>
> [image: Oracle] <http://www.oracle.com/>
> Donald Raikes | Accessibility Specialist
> Mobile: +15202717608 | VOIP: +15205744033
> Oracle Accessibility Program Office
> | Tucson, Arizona
>
> [image: Green Oracle] <http://www.oracle.com/commitment>
>
> Oracle is committed to developing practices and products that help protect
> the environment
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/98ac4921-3537-4189-8e98-7dfec2397102%40default
> <https://groups.google.com/d/msgid/pandoc-discuss/98ac4921-3537-4189-8e98-7dfec2397102%40default?utm_medium=email&utm_source=footer>
> .
>


-- 
Jeff Milton: 212.388.9622

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEAbEdkCa9GyWWhe711zQFuYii7jTzMmXO3t%2BtRMWVF3U%3D-yCA%40mail.gmail.com.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A couple of newbie questions
  2019-09-12 17:22 A couple of newbie questions Don Raikes
  2019-09-13  8:09 ` Jeff Milton
@ 2019-09-13 13:14 ` Agustín Martín
  1 sibling, 0 replies; 3+ messages in thread
From: Agustín Martín @ 2019-09-13 13:14 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2462 bytes --]

Hi Don.

Regarding docx generation, you can influence the outcome via the 
`reference-doc`.

There you can tweak the positioning of the styles used in the title page 
(even to the point of *reordering* some of them if you play with absolute 
positioning in the styles).

I also recommend that you use the "first page is different" option in your 
header/footer options and use that to include specific logos you may need 
in your title page (thus you won't need them in your markdown), and the 
rest of header/footers.

As for docx pagebreaks I have found that the easiest solution is to define 
your headings 1, 2... styles in your reference-doc to include a page jump 
before the style.

Best regards,
  Agustín.


On Thursday, September 12, 2019 at 7:23:02 PM UTC+2, Don Raikes wrote:
>
> Hello,
>
>  
>
> I am starting to work on my first pandoc project. I am creating both a pdf 
> and Microsoft word docx file from my markdown files (in the process of 
> creating a book).
>
>  
>
> I have two basic questions:
>
>  
>
> 1.                How can I format a cover page that includes just the 
> title, author, and date the pdf//docx was generated?
>
> 2.                How do I force pagebreaks between sections of the book? 
> For example after the overview and before chapter 1.
>
> Any tips examples would be greatly appreciated.
>
>  
>
>  
>
> -- 
> Thanks, Donald 
>
> “As a leader, to be successful, is to help the people around you to be 
> successful.” – Kent Boucher
>
>  
>
> Accessibility, like security, is better when built-in from the beginning 
> rather than bolted on at the end.
>
>
> [image: Oracle] <http://www.oracle.com/>
> Donald Raikes | Accessibility Specialist
> Mobile: +15202717608 | VOIP: +15205744033 
> Oracle Accessibility Program Office
> | Tucson, Arizona 
>
> [image: Green Oracle] <http://www.oracle.com/commitment>
>
> Oracle is committed to developing practices and products that help protect 
> the environment
>
>  
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b56d8e3d-168f-4a52-9a59-d08c8e652b2b%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 6716 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-13 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 17:22 A couple of newbie questions Don Raikes
2019-09-13  8:09 ` Jeff Milton
2019-09-13 13:14 ` Agustín Martín

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).