public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos-S0/GAf8tV78@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Customize EPUB Title Page
Date: Sun, 21 Dec 2014 21:44:51 +0100	[thread overview]
Message-ID: <54973143.6030200@web.de> (raw)
In-Reply-To: <cb41e923-e763-4f38-aabc-426c8fa3f3a3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

On 12/21/2014 09:05 PM, Karsten W. wrote:
> Hi,
> still an my small first ebook project, I am exploring the possibilities
> of the title page before the table of contents. Currently, it shows
> title, name and date:
> 
> <body>
>   <h1 class="title">My first small ebook</h1>
>   <h2 class="author">K. Weinert</h2>
>   <h3 class="date">2014-12-20</h3>
> </body>
> 
> Now is it possible to include further metadata on this page? For
> instance, the "rights" would be useful in my case. With the metadata being:

Hi Karsten,

which is your pandoc version? I’m using pandoc-1.13.1, but I think that
the template has been changed in version 1.13.2 to include a copyright page.

You can always create your own copyright page:

> ---
> title: My first small ebook
> author: K. Weinert
> cover-image: cover.jpg
> stylesheet: mystyle.css
> date: 2014-12-20
> rights: |
>     (c) by me.
> 
>     The author is not offering this ebook as legal, accounting, or other
> professional services advice. While best efforts have been used in
> preparing this book, 
>     the author make no representations or warranties of any kind and
> assume no liabilities of any kind with respect to the accuracy or
> completeness of the 
>     contents and specifically disclaim any implied warranties of
> merchantability or fitness of use for a particular purpose. 
> 
>     Neither the author nor the publisher shall be held liable or
> responsible to any person or entity with respect to any loss or
> incidental or consequential damages 
>     caused, or alleged to have been caused, directly or indirectly, by
> the information or programs contained herein. 
> 
> ...

Right after the metadata:

# [Copyright page] {.hidden #copyright-page}

© 2014 Karsten Weinert

All rights reserved.

The author is not offering this ebook as legal, accounting, or other
professional services advice. While best efforts have been used in
preparing this book,

The author make no representations or warranties of any kind and
assume no liabilities of any kind with respect to the accuracy or
completeness of the contents and specifically disclaim any implied
warranties of merchantability or fitness of use for a particular purpose.

Neither the author nor the publisher shall be held liable or
responsible to any person or entity with respect to any loss or
incidental or consequential damages  caused, or alleged to have been
caused, directly or indirectly, by the information or programs contained
herein.

And CSS file:

.hidden>h1 {
    visibility: hidden;
    margin: 0%;
    padding: 0%;
    font-size: 0pt;
    }

#copyright-page {
    line-height: 120%;
    text-align: justify;
    font-size: 95%;
    text-indent: 0%;
    margin-top: 0%;
    padding-top: 0%;
    }

#copyright-page p {
    text-indent: 0%;
    padding-top: 0%;
    }

This is what I used for an ebook and it looks fine.

Let me know if you have further questions.


Pablo
-- 
http://www.ousia.tk

-- 
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/54973143.6030200%40web.de.
For more options, visit https://groups.google.com/d/optout.


  parent reply	other threads:[~2014-12-21 20:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-21 20:05 Karsten W.
     [not found] ` <cb41e923-e763-4f38-aabc-426c8fa3f3a3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2014-12-21 20:44   ` Pablo Rodríguez [this message]
2014-12-22 16:25   ` John MacFarlane
     [not found]     ` <20141222162500.GB95411-bi+AKbBUZKaOwiQRAsGx7a+gxsCIUpAnHiGdP5j34PU@public.gmane.org>
2014-12-23  0:30       ` Karsten W.
2014-12-28 11:31       ` Pablo Rodríguez
     [not found]         ` <549FEA2B.2080005-S0/GAf8tV78@public.gmane.org>
2014-12-28 12:49           ` Mark Szepieniec
     [not found]             ` <CAE4-1rU5pJmLwGwFs=ww+DJ-ZH-wYyk=X7wW9LPePFX-ag2ipQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-28 16:56               ` Pablo Rodríguez

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=54973143.6030200@web.de \
    --to=oinos-s0/gaf8tv78@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).