aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epub-coverimage.html13
-rw-r--r--epub-page.html14
-rw-r--r--epub-titlepage.html14
3 files changed, 39 insertions, 2 deletions
diff --git a/epub-coverimage.html b/epub-coverimage.html
index e73978bd0..b28d19eba 100644
--- a/epub-coverimage.html
+++ b/epub-coverimage.html
@@ -5,6 +5,19 @@
<title>$pagetitle$</title>
<style type="text/css">img{ max-width: 100%; }</style>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
+$if(quotes)$
+ <style type="text/css">
+ q { quotes: "“" "”" "‘" "’"; }
+ </style>
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" $if(epub3)$$else$type="text/css"$endif$ href="$css$" />
+$endfor$
</head>
<body>
<div id="cover-image">
diff --git a/epub-page.html b/epub-page.html
index eb47fd4ab..69beb7d04 100644
--- a/epub-page.html
+++ b/epub-page.html
@@ -3,7 +3,19 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title>$pagetitle$</title>
-<link href="stylesheet.css" type="text/css" rel="stylesheet" />
+$if(quotes)$
+ <style type="text/css">
+ q { quotes: "“" "”" "‘" "’"; }
+ </style>
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" $if(epub3)$$else$type="text/css"$endif$ href="$css$" />
+$endfor$
</head>
<body>
$body$
diff --git a/epub-titlepage.html b/epub-titlepage.html
index fa7c7d614..8e1aca3dc 100644
--- a/epub-titlepage.html
+++ b/epub-titlepage.html
@@ -3,7 +3,19 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>$pagetitle$</title>
-<link href="stylesheet.css" type="text/css" rel="stylesheet" />
+$if(quotes)$
+ <style type="text/css">
+ q { quotes: "“" "”" "‘" "’"; }
+ </style>
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" $if(epub3)$$else$type="text/css"$endif$ href="$css$" />
+$endfor$
</head>
<body>
<h1 class="title">$title$</h1>