O'Reilly templates

pull/123/head
Andreas M. Antonopoulos 4 years ago
parent c9a6ec8f29
commit c80793bcd0

@ -0,0 +1,54 @@
{
"branch": "master",
"files": [
"titlepage.html",
"copyright.html",
"toc.html",
"preface.asciidoc",
"ch01.asciidoc",
"ix.html",
"author_bio.html",
"colo.html"
],
"formats": {
"pdf": {
"version": "web",
"color_count": "1",
"index": true,
"toc": true,
"syntaxhighlighting": true,
"show_comments": false,
"trim_size": "7inx9.1875in",
"antennahouse_version": "AHFormatterV62_64-MR4"
},
"epub": {
"index": true,
"toc": true,
"epubcheck": true,
"syntaxhighlighting": true,
"show_comments": false,
"downsample_images": false,
"mathmlreplacement": false
},
"mobi": {
"index": true,
"toc": true,
"syntaxhighlighting": true,
"show_comments": false,
"downsample_images": false
},
"html": {
"index": true,
"toc": true,
"syntaxhighlighting": true,
"show_comments": false,
"consolidated": false
}
},
"theme": "oreillymedia/animal_theme_sass",
"title": "Mastering the Lightning Network",
"print_isbn13": "9781492054863",
"lang": "en",
"accent_color": "",
"templating": false
}

@ -0,0 +1,4 @@
<section data-type="colophon" class="abouttheauthor">
<h1>About the Author(s)</h1>
<p>John Doe does some interesting stuff...</p>
</section>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

@ -0,0 +1,10 @@
<section id="colophon" data-type="colophon">
<h1>Colophon</h1>
<p>The animal on the cover of <em>FILL IN TITLE</em> is <em>FILL IN DESCRIPTION</em>.</p>
<p>Many of the animals on O'Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to <a href="http://animals.oreilly.com">animals.oreilly.com</a>.</p>
<p>The cover illustration is by Karen Montgomery, based on a black and white engraving from <em>FILL IN CREDITS</em>. The cover fonts are Gilroy Semibold and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag's Ubuntu Mono.</p>
</section>

@ -0,0 +1,109 @@
<section data-type='copyright-page' xmlns='http://www.w3.org/1999/xhtml'>
<h1>Mastering the Lightning Network</h1>
<p class='author'>
by
<span class='firstname'>Andreas </span>
<span class='othername mi'>M. </span>
<span class='surname'>Antonopoulos</span>
</p>
<p class='copyright'>Copyright © FILL IN YEAR O&apos;Reilly Media. All rights reserved.</p>
<p class='printlocation'>Printed in the United States of America.</p>
<p class='publisher'>
Published by
<span class='publishername'>O&apos;Reilly Media, Inc.</span>
, 1005 Gravenstein Highway North, Sebastopol, CA 95472.
</p>
<p>
O&apos;Reilly books may be purchased for educational, business, or sales
promotional use. Online editions are also available for most titles (
<a href='http://oreilly.com/safari'>http://oreilly.com/safari</a>
). For more information, contact our corporate/institutional sales
department: 800-998-9938 or
<span data-type='email'>corporate@oreilly.com</span>
.
</p>
<ul class='stafflist'>
<li>
<span class='staffrole'>Editors:</span>
Michele Cronin and Michelle Smith
</li>
<li>
<span class='staffrole'>Production Editor:</span>
FILL IN PRODUCTION EDITOR
</li>
<li>
<span class='staffrole'>Copyeditor:</span>
FILL IN COPYEDITOR
</li>
<li>
<span class='staffrole'>Proofreader:</span>
FILL IN PROOFREADER
</li>
<li>
<span class='staffrole'>Indexer:</span>
FILL IN INDEXER
</li>
<li>
<span class='staffrole'>Interior Designer:</span>
David Futato
</li>
<li>
<span class='staffrole'>Cover Designer:</span>
Karen Montgomery
</li>
<li>
<span class='staffrole'>Illustrator:</span>
Rebecca Demarest
</li>
</ul>
<ul class='printings'>
<li>
<span class='printedition'>December 2020:</span>
First Edition
</li>
</ul>
<!--Add additional revdate spans below as needed.-->
<div>
<h1 class='revisions'>Revision History for the First Edition</h1>
<ul class='releases'>
<li>
<span class='revdate'>YYYY-MM-DD:</span>
First Release
</li>
</ul>
</div>
<p class='errata'>
See
<a href='http://oreilly.com/catalog/errata.csp?isbn=9781492054863'>http://oreilly.com/catalog/errata.csp?isbn=9781492054863</a>
for release details.
</p>
<div class='legal'>
<p>
The OReilly logo is a registered trademark of OReilly Media, Inc.
Mastering the Lightning Network, the cover image, and related trade dress
are trademarks of OReilly Media, Inc.
</p>
<p>
The views expressed in this work are those of the author(s), and do not
represent the publisher&apos;s views. While the publisher and the
author(s) have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the
author(s) disclaim all responsibility for errors or omissions, including
without limitation responsibility for damages resulting from the use of or
reliance on this work. Use of the information and instructions contained
in this work is at your own risk. If any code samples or other technology
this work contains or describes is subject to open source licenses or the
intellectual property rights of others, it is your responsibility to
ensure that your use thereof complies with such licenses and/or rights.
<!--PROD: Uncomment the following sentence if appropriate and add it to the
above para:-->
<!--This book is not intended as [legal/medical/financial; use the appropriate
reference] advice. Please consult a qualified professional if you
require [legal/medical/financial] advice.-->
</p>
</div>
<div class='copyright-bottom'>
<p class='isbn'>978-1-492-05486-3</p>
<p class='printer'>[FILL IN]</p>
</div>
</section>

@ -0,0 +1,2 @@
<!-- This is a placeholder element for use with the automatic index generation option in Atlas -->
<section data-type="index"/>

@ -0,0 +1,15 @@
{{ doctype }}
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="publisher" content="O'Reilly Media, Inc."/>
<meta name="author" content="AUTHOR NAMES HERE"/>
<meta name="date" content="RETAIL AVAILABILITY DATE FROM PDB MANUFACTURING TAB HERE IN YYYY-MM-DD FORM (e.g., 2014-07-07)"/>
<meta name="description" content="BOOK MARKETING DESCRIPTION HERE. (This can be supplied by the author, but otherwise the Consumer Short Text from the Marketing tab in the PDB works here - just make sure not to paste curly quotes or em dashes! Replace with straight quotes and hyphens.)"/>
<meta name="identifier" content="TECH-BOOK-ISBN-13"/>
<title>{{ title }}</title>
</head>
<body data-type="book">
{{ content }}
</body>
</html>

@ -0,0 +1,15 @@
{{ doctype }}
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="publisher" content="O'Reilly Media, Inc."/>
<meta name="author" content="AUTHOR NAMES HERE"/>
<meta name="date" content="RETAIL AVAILABILITY DATE FROM PDB MANUFACTURING TAB HERE IN YYYY-MM-DD FORM (e.g., 2014-07-07)"/>
<meta name="description" content="BOOK MARKETING DESCRIPTION HERE. (This can be supplied by the author, but otherwise the Consumer Short Text from the Marketing tab in the PDB works here - just make sure not to paste curly quotes or em dashes! Replace with straight quotes and hyphens.)"/>
<meta name="identifier" content="TECH-BOOK-ISBN-13"/>
<title>{{ title }}</title>
</head>
<body data-type="book">
{{ content }}
</body>
</html>

@ -0,0 +1,64 @@
@charset "UTF-8";
/*--------Put Your Custom CSS Rules Below--------*/
/*--- This oneoff overrides the code in https://github.com/oreillymedia/<name_of_theme>/blob/master/pdf/pdf.css---*/
/*----Uncomment to temporarily turn on code-eyballer highlighting (make sure to recomment after you build)
pre {
background-color: yellow;
}
---*/
/*----Uncomment to turn on automatic code wrapping
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
----*/
/*----Uncomment to change the TOC start page (set
the number to one page _after_ the one you want;
so 6 to start on v, 8 to start on vii, etc.)
@page toc:first {
counter-reset: page 6;
}
----*/
/*----Uncomment to fix a bad break in the title
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] h1 {
padding-left: 1.5in;
}
----*/
/*----Uncomment to fix a bad break in the subtitle
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] h2 {
padding-left: 1in;
}
----*/
/*----Uncomment to fix a bad break in the author names
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] p.author {
padding-left: 3in;
}
----*/
/* ----Uncomment to suppress duplicate page numbers in index entries
WARNING: MAY CAUSE PDF BUILDS TO SEGFAULT
div[data-type="index"] {
-ah-suppress-duplicate-page-number: true;
}
----*/

@ -0,0 +1,58 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="h">
<!-- Do add border div for figure images in animal series -->
<xsl:param name="figure.border.div" select="1"/>
<!-- This param is required for animal_theme_sass, but not the old animal_theme -->
<!-- Generate separate footnote-call markers, so that we don't
need to rely on AH counters to do footnote numbering -->
<xsl:param name="process.footnote.callouts.only" select="1"/>
<xsl:template name="string-replace-all">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="by"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:value-of select="substring-before($text,$replace)"/>
<xsl:value-of select="$by"/>
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="substring-after($text,$replace)"/>
<xsl:with-param name="replace" select="$replace"/>
<xsl:with-param name="by" select="$by"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="h:img/@src">
<xsl:choose>
<xsl:when test="contains(., 'callouts/')">
<xsl:variable name="newtext">
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="."/>
<xsl:with-param name="replace" select="'png'"/>
<xsl:with-param name="by" select="'pdf'"/>
</xsl:call-template>
</xsl:variable>
<xsl:attribute name="src">
<xsl:value-of select="$newtext"/>
</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

@ -0,0 +1,7 @@
<section data-type="titlepage">
<h1>Mastering the Lightning Network</h1>
<p class="author">Andreas Antonopoulos</p>
</section>
<!-- if a pocket ref, include this line below the h1:
<p data-type="subtitle">Pocket Reference/Guide</p> -->

@ -0,0 +1,2 @@
<!-- This is a placeholder element for use with the automatic TOC generation option in Atlas -->
<nav data-type="toc"/>
Loading…
Cancel
Save