From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11579 Path: news.gmane.org!not-for-mail From: "Karsten W." Newsgroups: gmane.text.pandoc Subject: Re: Customize EPUB Title Page Date: Mon, 22 Dec 2014 16:30:05 -0800 (PST) Message-ID: References: <20141222162500.GB95411@localhost.hsd1.nm.comcast.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3679_507898651.1419294605629" X-Trace: ger.gmane.org 1419294613 9216 80.91.229.3 (23 Dec 2014 00:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2014 00:30:13 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDUNZMVN2MPRBDXP4KSAKGQEHXQLTKY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Dec 23 01:30:08 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pa0-f63.google.com ([209.85.220.63]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y3DMV-0004ip-QA for gtp-pandoc-discuss@m.gmane.org; Tue, 23 Dec 2014 01:30:08 +0100 Original-Received: by mail-pa0-f63.google.com with SMTP id bj1sf769185pad.8 for ; Mon, 22 Dec 2014 16:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=aqdYp5DScac9Jp8EQ9pli2CMPeIPvG1XlR8PWRrvvfg=; b=kzq0jnRZ6Y4h4OuCfcLk2/D90nySX5jpHcau3ggc4/Nm7/c7v2kX7UrPKaxlNJVVsl 53+/0As1Dzq1qhh9ARCb5Mfm8zbKBfGSKqhx+sBZYs6skCv4AeITsaPvuc9WtPDUF1oi w66l42CT5GD6IzHCPyetlR2Tt/EfNN0W+oiwQb7VF39it3xspU8H8neEgnlbig5bKkXj hTI43TaZqQvrVq09bNRMgI++BMPwgqPI0J5iSqRASzwGFYMK26QEVS23XA4yForernWW uoJk+HXDRHb40+skYMDx3BD86nZjmeUt1A1OHJ3OUBVlQNcMgSgYoB8kC228QVPDINi2 68/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=aqdYp5DScac9Jp8EQ9pli2CMPeIPvG1XlR8PWRrvvfg=; b=S2uWv65gfKxF3kAYiWZa4D912J9kVuEvZzU9lvZgLb7VN0g/OoNRmJXhFD87A3EqWa lODdxzjfW4cD8yZQ3OzXXaDKissGYILQOpSgqq4qqw6qqsNz/4tMoaCw5AWKmYUAQ6rD /bQyqk6YeyLNFsGtxRBHEYloHiVyyzbqvzEXc7zD3/g/HXZ3IprpR6w8qE2inSdYwa5/ cVt3vytGm8pWRZhpzFaEtgFSOcWV+fT0K+4ZXJBFBoZolJZTVMpiSq5Cfngifs2csKzh BHOyWyuxFBiidfjlWdD44p4D3vyMdg1qPpNQdvI6KjmIFFibZI1VMvYvPXyPMj9N6fax VWOg== X-Received: by 10.140.87.68 with SMTP id q62mr60727qgd.8.1419294606714; Mon, 22 Dec 2014 16:30:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.22.84 with SMTP id 78ls1064839qgm.42.gmail; Mon, 22 Dec 2014 16:30:06 -0800 (PST) X-Received: by 10.140.87.68 with SMTP id q62mr60726qgd.8.1419294606363; Mon, 22 Dec 2014 16:30:06 -0800 (PST) In-Reply-To: <20141222162500.GB95411-bi+AKbBUZKaOwiQRAsGx7a+gxsCIUpAnHiGdP5j34PU@public.gmane.org> X-Original-Sender: Karsten.G.Weinert-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:11579 Archived-At: ------=_Part_3679_507898651.1419294605629 Content-Type: multipart/alternative; boundary="----=_Part_3680_329505444.1419294605629" ------=_Part_3680_329505444.1419294605629 Content-Type: text/plain; charset=UTF-8 Thanks for your replies! I just downloaded pandoc 1.13.2 and learned about the pandoc -D epub and pandoc --template=FILE features. This is great and easy to understand. I will certainly use it at some point. For the current project, I decided to create a colophon section at the end of the document where all the stuff, credits, disclaimer, etc goes into. Kind regards Karsten Am Montag, 22. Dezember 2014 17:25:16 UTC+1 schrieb John MacFarlane: > > (These remarks concern pandoc 1.13.2 and its default templates.) > > You can customize the epub (or epub3) template. See the User's Guide > under Templates for basic instructions. The epub templates have > conditionals > > $if(titlepage)$ > ... > $endif$ > > and whatever goes in place of the ... will be on the title page. > So, this is extremely customizable. > > +++ Karsten W. [Dec 21 14 12:05 ]: > >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: > > > > > >

My first small ebook

> >

K. Weinert

> >

2014-12-20

> > > > > >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: > > > >--- > >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. > > > >... > > > >For further projects, also the abstract metadata comes to mind as a > >candidate for the title page. I searched pandoc's user guide and the epub > >example "Pro Git", > >but did not find something. > > > >Any hints on styling the title page are appreciated! > > > >Kind regards > >Karsten > > > >-- > >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 . > >To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > >To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/cb41e923-e763-4f38-aabc-426c8fa3f3a3%40googlegroups.com. > > >For more options, visit https://groups.google.com/d/optout. > > -- 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/e187874d-86f1-4859-8af8-d5c028740113%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_3680_329505444.1419294605629 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your replies!

I just downloa= ded pandoc 1.13.2 and learned about the

pandoc -D = epub 

and 

pand= oc --template=3DFILE

features. This is great and e= asy to understand. I will certainly use it at some point.
For the= current project, I decided to create a colophon section at the end of the = document where all the stuff, credits, disclaimer, etc goes into.
=

Kind regards
Karsten

Am Montag, 22. De= zember 2014 17:25:16 UTC+1 schrieb John MacFarlane:
(These remarks concern pandoc 1.13.2 and its default t= emplates.)

You can customize the epub (or epub3) template.  See the User's Gu= ide
under Templates for basic instructions.  The epub templates have
conditionals

    $if(titlepage)$
    ...
    $endif$

and whatever goes in place of the ... will be on the title page.
So, this is extremely customizable.

+++ Karsten W. [Dec 21 14 12:05 ]:
>Hi,
>still an my small first ebook project, I am exploring the possibili= ties of
>the title page before the table of contents. Currently, it shows ti= tle,
>name and date:
>
><body>
>  <h1 class=3D"title">My first small ebook</h1>
>  <h2 class=3D"author">K. Weinert</h2>
>  <h3 class=3D"date">2014-12-20</h3>
></body>
>
>Now is it possible to include further metadata on this page? For in= stance,
>the "rights" would be useful in my case. With the metadata being:
>
>---
>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, accou= nting, or other
>professional services advice. While best efforts have been used in
>preparing this book,
>    the author make no representations or warranties of a= ny kind and assume
>no liabilities of any kind with respect to the accuracy or complete= ness of
>the
>    contents and specifically disclaim any implied warran= ties of
>merchantability or fitness of use for a particular purpose.
>
>    Neither the author nor the publisher shall be held li= able or
>responsible to any person or entity with respect to any loss or inc= idental
>or consequential damages
>    caused, or alleged to have been caused, directly or i= ndirectly, by the
>information or programs contained herein.
>
>...
>
>For further projects, also the abstract metadata comes to mind as a
>candidate for the title page. I searched pandoc's user guide and th= e epub
>example "Pro Git",
>but did not find something.
>
>Any hints on styling the title page are appreciated!
>
>Kind regards
>Karsten
>
>--=20
>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, s= end an email to pandoc-discus...@= googlegroups.com.
>To post to this group, send email to pandoc-...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-dis= cuss/cb41e923-e763-4f38-aabc-426c8fa3f3a3%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

--
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/e187874d-86f1-4859-8af8-d5c028740113%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_3680_329505444.1419294605629-- ------=_Part_3679_507898651.1419294605629--