diff options
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/default.dzslides | 7 | ||||
-rw-r--r-- | data/templates/default.epub2 | 8 | ||||
-rw-r--r-- | data/templates/default.epub3 | 9 | ||||
-rw-r--r-- | data/templates/default.html4 | 7 | ||||
-rw-r--r-- | data/templates/default.html5 | 7 | ||||
-rw-r--r-- | data/templates/default.revealjs | 7 | ||||
-rw-r--r-- | data/templates/default.s5 | 11 | ||||
-rw-r--r-- | data/templates/default.slideous | 7 | ||||
-rw-r--r-- | data/templates/default.slidy | 7 |
9 files changed, 49 insertions, 21 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides index cad4dba4b..ef4f03c8d 100644 --- a/data/templates/default.dzslides +++ b/data/templates/default.dzslides @@ -12,10 +12,13 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.epub2 b/data/templates/default.epub2 index d5bb67fdb..e57b42004 100644 --- a/data/templates/default.epub2 +++ b/data/templates/default.epub2 @@ -6,7 +6,13 @@ <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title>$pagetitle$</title> - <style type="text/css">.smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} +$if(quotes)$ + q { quotes: "“" "”" "‘" "’"; } +$endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.epub3 b/data/templates/default.epub3 index 5c5b0307a..7fcbf1928 100644 --- a/data/templates/default.epub3 +++ b/data/templates/default.epub3 @@ -5,12 +5,13 @@ <meta charset="utf-8" /> <meta name="generator" content="pandoc" /> <title>$pagetitle$</title> - <style type="text/css">.smallcaps{font-variant: small-caps;}</style> -$if(quotes)$ <style type="text/css"> - q { quotes: "“" "”" "‘" "’"; } - </style> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} +$if(quotes)$ + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.html4 b/data/templates/default.html4 index 7081c0bd1..8f422cf5f 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -14,10 +14,13 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.html5 b/data/templates/default.html5 index ee7ae771b..633764b3c 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -14,10 +14,13 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index d5a85737e..92d81e3f1 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -17,10 +17,13 @@ $endif$ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> <link rel="stylesheet" href="$revealjs-url$/css/reveal.css"> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.s5 b/data/templates/default.s5 index dc9dd8099..c3896af84 100644 --- a/data/templates/default.s5 +++ b/data/templates/default.s5 @@ -15,13 +15,16 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} +$if(quotes)$ + q { quotes: "“" "”" "‘" "’"; } +$endif$ + </style> <!-- configuration parameters --> <meta name="defaultView" content="slideshow" /> <meta name="controlVis" content="hidden" /> -$if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> -$endif$ $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.slideous b/data/templates/default.slideous index f7c637b36..5f194703b 100644 --- a/data/templates/default.slideous +++ b/data/templates/default.slideous @@ -16,10 +16,13 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ diff --git a/data/templates/default.slidy b/data/templates/default.slidy index 10b120503..cde6dd540 100644 --- a/data/templates/default.slidy +++ b/data/templates/default.slidy @@ -16,10 +16,13 @@ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + .smallcaps{font-variant: small-caps;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ |