From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11593 Path: news.gmane.org!not-for-mail From: Mark Szepieniec Newsgroups: gmane.text.pandoc Subject: Re: Customize EPUB Title Page Date: Sun, 28 Dec 2014 13:49:42 +0100 Message-ID: References: <20141222162500.GB95411@localhost.hsd1.nm.comcast.net> <549FEA2B.2080005@web.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1f8b01388f0050b463118 X-Trace: ger.gmane.org 1419770990 568 80.91.229.3 (28 Dec 2014 12:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Dec 2014 12:49:50 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBC5LDAET5YPBBZ7Y76SAKGQEPGVGN3Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Dec 28 13:49:46 2014 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yh0-f58.google.com ([209.85.213.58]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y5DI0-00021g-Sp for gtp-pandoc-discuss@m.gmane.org; Sun, 28 Dec 2014 13:49:45 +0100 Original-Received: by mail-yh0-f58.google.com with SMTP id i57sf1983505yha.23 for ; Sun, 28 Dec 2014 04:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=TFRr2Ju4xuusTsozkTlRe6V/5uAaUw5sLkFLERem3VA=; b=kZmUK1BL5Miy4R1nDBt0MqyNm/ij7fYOtpollkrZ3fvqSPdfvk0TBJVqqFGQxUaJM3 YnyOCKXyNnxdRw5dXl5YZuAOvEg+aEiQZdVE8/7QDgHLjwoW+DAPCJzYhJvxNw6fr6T9 h5MbiVrg9AIqWfEZ9s4TcCUn347m/ba2VMBe+gz+rPPfB+ApoziU3v9WPoo+r0A3ZwEU nOd8m8j3KussxQPPPRl0MlcvtyrFDDI84ftv2Pk/ZaWSf5MLU4Itv/acF/dOkwwgpTRd +CbZBhFgsfo3yqVvuTJAzbJ6Z+O9Rs9C1HvpfTTBJVlm68BB0cop9PD2LNj/WYYFwt5f uC6A== X-Received: by 10.50.129.98 with SMTP id nv2mr624064igb.1.1419770983380; Sun, 28 Dec 2014 04:49:43 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.26.7 with SMTP id a7ls2868853ioa.94.gmail; Sun, 28 Dec 2014 04:49:42 -0800 (PST) X-Received: by 10.66.248.103 with SMTP id yl7mr12026057pac.12.1419770982732; Sun, 28 Dec 2014 04:49:42 -0800 (PST) Original-Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com. [2607:f8b0:400d:c01::233]) by gmr-mx.google.com with ESMTPS id u7si4692503qcf.2.2014.12.28.04.49.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Dec 2014 04:49:42 -0800 (PST) Received-SPF: pass (google.com: domain of mszepien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c01::233 as permitted sender) client-ip=2607:f8b0:400d:c01::233; Original-Received: by mail-qc0-f179.google.com with SMTP id c9so8723521qcz.10 for ; Sun, 28 Dec 2014 04:49:42 -0800 (PST) X-Received: by 10.224.45.69 with SMTP id d5mr83781144qaf.56.1419770982531; Sun, 28 Dec 2014 04:49:42 -0800 (PST) Original-Received: by 10.229.203.67 with HTTP; Sun, 28 Dec 2014 04:49:42 -0800 (PST) In-Reply-To: <549FEA2B.2080005-S0/GAf8tV78@public.gmane.org> X-Original-Sender: mszepien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mszepien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400d:c01::233 as permitted sender) smtp.mail=mszepien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com 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:11593 Archived-At: --001a11c1f8b01388f0050b463118 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is that not simply a YAML issue? >From http://www.pandoc.org/README.html: The pipe character (|) can be used to begin an indented block that will be interpreted literally, without need for escaping. This form is necessary when the field contains blank lines: On Sun, Dec 28, 2014 at 12:31 PM, Pablo Rodr=C3=ADguez wrote= : > On 12/22/2014 05:25 PM, John MacFarlane wrote: > > (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. > > John, > > I=E2=80=99m afraid that the rights metadata field is always considered as= being > a single paragraph. > > To make it more customizable, would it be possible that the rights value > won=E2=80=99t be considered as a single paragraph? > > Otherwhise, this won=E2=80=99t work: > > --- > title: My first small ebook > author: K. Weinert > stylesheet: mystyle.css > date: 2014-12-20 > rights: =C2=A9 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. > stylesheet: book.css > ... > > Many thanks for your help, > > > 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/549FEA2B.2080005%40web.d= e > . > For more options, visit https://groups.google.com/d/optout. > --=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, send an e= mail 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/CAE4-1rU5pJmLwGwFs%3Dww%2BDJ-ZH-wYyk%3DX7wW9LPePFX-ag2ipQ%40= mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a11c1f8b01388f0050b463118 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Is that not simply a YAML issue?


The = pipe character (|= ) can be used to begin an indented block that will be interpreted literally= , without need for escaping. This form is necessary when the field contains= blank lines:

On Sun, Dec 28, 2014 at 12:31 PM, Pablo Rodr=C3=ADguez <= span dir=3D"ltr"><oino= s@web.de> wrote:
On 12/22/2014 05:25 PM, John MacFarlane wrote:
> (These remarks concern pandoc 1.13.2 and its default templates.)
>
> You can customize the epub (or epub3) template.=C2=A0 See the User'= ;s Guide
> under Templates for basic instructions.=C2=A0 The epub templates have<= br> > conditionals
>
>=C2=A0 =C2=A0 =C2=A0$if(titlepage)$
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0$endif$
>
> and whatever goes in place of the ... will be on the title page.
> So, this is extremely customizable.

John,

I=E2=80=99m afraid that the rights metadata field is always considered as b= eing
a single paragraph.

To make it more customizable, would it be possible that the rights value won=E2=80=99t be considered as a single paragraph?

Otherwhise, this won=E2=80=99t work:

---
title: My first small ebook
author: K. Weinert
stylesheet: mystyle.css
date: 2014-12-20
rights: =C2=A9 2014 Karsten Weinert

=C2=A0 =C2=A0 All rights reserved.

=C2=A0 =C2=A0 The author is not offering this ebook as legal, accounting, o= r 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.

=C2=A0 =C2=A0 Neither the author nor the publisher shall be held liable or<= br> responsible to any person or entity with respect to any loss or
incidental or consequential damages=C2=A0 =C2=A0caused, or alleged to have = been
caused, directly or indirectly, by the information or programs contained herein.
stylesheet: book.css
...

Many thanks for your help,


Pablo
--
http://www.ousia.tk
--
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 pa= ndoc-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/549FEA2B.2080005%40web.= de.
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://g= roups.google.com/d/msgid/pandoc-discuss/CAE4-1rU5pJmLwGwFs%3Dww%2BDJ-ZH-wYy= k%3DX7wW9LPePFX-ag2ipQ%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a11c1f8b01388f0050b463118--