+
diff --git a/resources/content_server/mobile.css b/resources/content_server/mobile.css
index 9be755b954..e3a4b58422 100644
--- a/resources/content_server/mobile.css
+++ b/resources/content_server/mobile.css
@@ -1,83 +1,78 @@
/* CSS for the mobile version of the content server webpage */
-
.navigation table.buttons {
- width: 100%;
+ width: 100%;
}
.navigation .button {
- width: 50%;
+ width: 50%;
}
-.button a, .button:visited a {
- padding: 0.5em;
- font-size: 1.25em;
- border: 1px solid black;
- text-color: black;
- background-color: #ddd;
- border-top: 1px solid ThreeDLightShadow;
- border-right: 1px solid ButtonShadow;
- border-bottom: 1px solid ButtonShadow;
- border-left: 1 px solid ThreeDLightShadow;
- -moz-border-radius: 0.25em;
- -webkit-border-radius: 0.25em;
+.button a,.button:visited a {
+ padding: 0.5em;
+ font-size: 1.25em;
+ border: 1px solid black;
+ text-color: black;
+ background-color: #ddd;
+ border-top: 1px solid ThreeDLightShadow;
+ border-right: 1px solid ButtonShadow;
+ border-bottom: 1px solid ButtonShadow;
+ border-left: 1 px solid ThreeDLightShadow;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
}
.button:hover a {
- border-top: 1px solid #666;
- border-right: 1px solid #CCC;
- border-bottom: 1 px solid #CCC;
- border-left: 1 px solid #666;
-
-
+ border-top: 1px solid #666;
+ border-right: 1px solid #CCC;
+ border-bottom: 1 px solid #CCC;
+ border-left: 1 px solid #666;
}
div.navigation {
- padding-bottom: 1em;
- clear: both;
+ padding-bottom: 1em;
+ clear: both;
}
#search_box {
- border: 1px solid #393;
- -moz-border-radius: 0.5em;
- -webkit-border-radius: 0.5em;
- padding: 1em;
- margin-bottom: 0.5em;
- float: right;
+ border: 1px solid #393;
+ -moz-border-radius: 0.5em;
+ -webkit-border-radius: 0.5em;
+ padding: 1em;
+ margin-bottom: 0.5em;
+ float: right;
}
#listing {
- width: 100%;
- border-collapse: collapse;
+ width: 100%;
+ border-collapse: collapse;
}
+
#listing td {
- padding: 0.25em;
+ padding: 0.25em;
}
#listing td.thumbnail {
- height: 60px;
- width: 60px;
+ height: 60px;
+ width: 60px;
}
#listing tr:nth-child(even) {
-
- background: #eee;
+ background: #eee;
}
-#listing .button a{
- display: inline-block;
- width: 2.5em;
- padding-left: 0em;
- padding-right: 0em;
- overflow: hidden;
- text-align: center;
+#listing .button a {
+ display: inline-block;
+ width: 2.5em;
+ padding-left: 0em;
+ padding-right: 0em;
+ overflow: hidden;
+ text-align: center;
}
#logo {
- float: left;
+ float: left;
}
#spacer {
- clear: both;
-}
-
-
+ clear: both;
+}
\ No newline at end of file
diff --git a/resources/templates/html.css b/resources/templates/html.css
index e9b683ca34..448ec596b9 100644
--- a/resources/templates/html.css
+++ b/resources/templates/html.css
@@ -34,380 +34,367 @@
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
+@
+namespace url (http: //www.w3.org /1999/xhtml);
+ @namespace svg url (http: //www.w3.org /2000/svg);
+ /* blocks */
-@namespace url(http://www.w3.org/1999/xhtml);
-@namespace svg url(http://www.w3.org/2000/svg);
-
-/* blocks */
-
-html, div, map, dt, isindex, form {
- display: block;
+html,div,map,dt,isindex,form {
+ display: block;
}
body {
- display: block;
+ display: block;
}
-p, dl, multicol {
- display: block;
- margin: 1em 0;
+p,dl,multicol {
+ display: block;
+ margin: 1em 0;
}
dd {
- display: block;
- margin-left: 40px;
+ display: block;
+ margin-left: 40px;
}
blockquote {
- display: block;
- margin: 1em;
+ display: block;
+ margin: 1em;
}
address {
- display: block;
- font-style: italic;
+ display: block;
+ font-style: italic;
}
center {
- display: block;
- text-align: center;
+ display: block;
+ text-align: center;
}
blockquote[type=cite] {
- display: block;
- margin: 1em 0em;
- border-color: blue;
- border-width: thin;
+ display: block;
+ margin: 1em 0em;
+ border-color: blue;
+ border-width: thin;
}
span[_moz_quote=true] {
- color: blue;
+ color: blue;
}
pre[_moz_quote=true] {
- color: blue;
+ color: blue;
}
h1 {
- display: block;
- font-size: 2em;
- font-weight: bold;
- margin: .67em 0;
+ display: block;
+ font-size: 2em;
+ font-weight: bold;
+ margin: .67em 0;
}
h2 {
- display: block;
- font-size: 1.5em;
- font-weight: bold;
- margin: .83em 0;
+ display: block;
+ font-size: 1.5em;
+ font-weight: bold;
+ margin: .83em 0;
}
h3 {
- display: block;
- font-size: 1.17em;
- font-weight: bold;
- margin: 1em 0;
+ display: block;
+ font-size: 1.17em;
+ font-weight: bold;
+ margin: 1em 0;
}
h4 {
- display: block;
- font-weight: bold;
- margin: 1.33em 0;
+ display: block;
+ font-weight: bold;
+ margin: 1.33em 0;
}
h5 {
- display: block;
- font-size: 0.83em;
- font-weight: bold;
- margin: 1.67em 0;
+ display: block;
+ font-size: 0.83em;
+ font-weight: bold;
+ margin: 1.67em 0;
}
h6 {
- display: block;
- font-size: 0.67em;
- font-weight: bold;
- margin: 2.33em 0;
+ display: block;
+ font-size: 0.67em;
+ font-weight: bold;
+ margin: 2.33em 0;
}
listing {
- display: block;
- font-family: monospace;
- font-size: medium;
- white-space: pre;
- margin: 1em 0;
+ display: block;
+ font-family: monospace;
+ font-size: medium;
+ white-space: pre;
+ margin: 1em 0;
}
-xmp, pre, plaintext {
- display: block;
- font-family: monospace;
- white-space: pre;
- margin: 1em 0;
+xmp,pre,plaintext {
+ display: block;
+ font-family: monospace;
+ white-space: pre;
+ margin: 1em 0;
}
/* tables */
-
table {
- display: table;
- border-spacing: 2px;
- border-collapse: separate;
- margin-top: 0;
- margin-bottom: 0;
- text-indent: 0;
+ display: table;
+ border-spacing: 2px;
+ border-collapse: separate;
+ margin-top: 0;
+ margin-bottom: 0;
+ text-indent: 0;
}
table[align="left"] {
- float: left;
+ float: left;
}
table[align="right"] {
- float: right;
+ float: right;
}
-table[rules]:not([rules="none"]) {
- border-collapse: collapse;
+table[rules]:not ([rules="none"] ) {
+ border-collapse: collapse;
}
-
-/* caption inherits from table not table-outer */
+
+/* caption inherits from table not table-outer */
caption {
- display: table-caption;
- text-align: center;
+ display: table-caption;
+ text-align: center;
}
-table[align="center"] > caption {
- margin-left: auto;
- margin-right: auto;
+table[align="center"]>caption {
+ margin-left: auto;
+ margin-right: auto;
}
-table[align="center"] > caption[align="left"] {
- margin-right: 0;
+table[align="center"]>caption[align="left"] {
+ margin-right: 0;
}
-table[align="center"] > caption[align="right"] {
- margin-left: 0;
+table[align="center"]>caption[align="right"] {
+ margin-left: 0;
}
tr {
- display: table-row;
- vertical-align: inherit;
+ display: table-row;
+ vertical-align: inherit;
}
col {
- display: table-column;
+ display: table-column;
}
colgroup {
- display: table-column-group;
+ display: table-column-group;
}
tbody {
- display: table-row-group;
- vertical-align: middle;
+ display: table-row-group;
+ vertical-align: middle;
}
thead {
- display: table-header-group;
- vertical-align: middle;
+ display: table-header-group;
+ vertical-align: middle;
}
tfoot {
- display: table-footer-group;
- vertical-align: middle;
+ display: table-footer-group;
+ vertical-align: middle;
}
/* for XHTML tables without tbody */
-table > tr {
- vertical-align: middle;
+table>tr {
+ vertical-align: middle;
}
-td {
- display: table-cell;
- vertical-align: inherit;
- text-align: inherit;
- padding: 1px;
+td {
+ display: table-cell;
+ vertical-align: inherit;
+ text-align: inherit;
+ padding: 1px;
}
th {
- display: table-cell;
- vertical-align: inherit;
- font-weight: bold;
- padding: 1px;
+ display: table-cell;
+ vertical-align: inherit;
+ font-weight: bold;
+ padding: 1px;
}
/* inlines */
-
-b, strong {
- font-weight: bolder;
+b,strong {
+ font-weight: bolder;
}
-i, cite, em, var, dfn {
- font-style: italic;
+i,cite,em,var,dfn {
+ font-style: italic;
}
-tt, code, kbd, samp {
- font-family: monospace;
+tt,code,kbd,samp {
+ font-family: monospace;
}
-u, ins {
- text-decoration: underline;
+u,ins {
+ text-decoration: underline;
}
-s, strike, del {
- text-decoration: line-through;
+s,strike,del {
+ text-decoration: line-through;
}
blink {
- text-decoration: blink;
+ text-decoration: blink;
}
big {
- font-size: larger;
+ font-size: larger;
}
small {
- font-size: smaller;
+ font-size: smaller;
}
sub {
- vertical-align: sub;
- font-size: smaller;
- line-height: normal;
+ vertical-align: sub;
+ font-size: smaller;
+ line-height: normal;
}
sup {
- vertical-align: super;
- font-size: smaller;
- line-height: normal;
+ vertical-align: super;
+ font-size: smaller;
+ line-height: normal;
}
nobr {
- white-space: nowrap;
+ white-space: nowrap;
}
/* titles */
-abbr[title], acronym[title] {
- border-bottom: dotted 1px;
+abbr[title],acronym[title] {
+ border-bottom: dotted 1px;
}
/* lists */
-
-ul, menu, dir {
- display: block;
- list-style-type: disc;
- margin: 1em 0;
+ul,menu,dir {
+ display: block;
+ list-style-type: disc;
+ margin: 1em 0;
}
ol {
- display: block;
- list-style-type: decimal;
- margin: 1em 0;
+ display: block;
+ list-style-type: decimal;
+ margin: 1em 0;
}
li {
- display: list-item;
+ display: list-item;
}
/* nested lists have no top/bottom margins */
-ul ul, ul ol, ul dir, ul menu, ul dl,
-ol ul, ol ol, ol dir, ol menu, ol dl,
-dir ul, dir ol, dir dir, dir menu, dir dl,
-menu ul, menu ol, menu dir, menu menu, menu dl,
-dl ul, dl ol, dl dir, dl menu, dl dl {
- margin-top: 0;
- margin-bottom: 0;
+ul ul,ul ol,ul dir,ul menu,ul dl,ol ul,ol ol,ol dir,ol menu,ol dl,dir ul,dir ol,dir dir,dir menu,dir dl,menu ul,menu ol,menu dir,menu menu,menu dl,dl ul,dl ol,dl dir,dl menu,dl dl
+ {
+ margin-top: 0;
+ margin-bottom: 0;
}
/* 2 deep unordered lists use a circle */
-ol ul, ul ul, menu ul, dir ul,
-ol menu, ul menu, menu menu, dir menu,
-ol dir, ul dir, menu dir, dir dir {
- list-style-type: circle;
+ol ul,ul ul,menu ul,dir ul,ol menu,ul menu,menu menu,dir menu,ol dir,ul dir,menu dir,dir dir
+ {
+ list-style-type: circle;
}
/* 3 deep (or more) unordered lists use a square */
-ol ol ul, ol ul ul, ol menu ul, ol dir ul,
-ol ol menu, ol ul menu, ol menu menu, ol dir menu,
-ol ol dir, ol ul dir, ol menu dir, ol dir dir,
-ul ol ul, ul ul ul, ul menu ul, ul dir ul,
-ul ol menu, ul ul menu, ul menu menu, ul dir menu,
-ul ol dir, ul ul dir, ul menu dir, ul dir dir,
-menu ol ul, menu ul ul, menu menu ul, menu dir ul,
-menu ol menu, menu ul menu, menu menu menu, menu dir menu,
-menu ol dir, menu ul dir, menu menu dir, menu dir dir,
-dir ol ul, dir ul ul, dir menu ul, dir dir ul,
-dir ol menu, dir ul menu, dir menu menu, dir dir menu,
-dir ol dir, dir ul dir, dir menu dir, dir dir dir {
- list-style-type: square;
+ol ol ul,ol ul ul,ol menu ul,ol dir ul,ol ol menu,ol ul menu,ol menu menu,ol dir menu,ol ol dir,ol ul dir,ol menu dir,ol dir dir,ul ol ul,ul ul ul,ul menu ul,ul dir ul,ul ol menu,ul ul menu,ul menu menu,ul dir menu,ul ol dir,ul ul dir,ul menu dir,ul dir dir,menu ol ul,menu ul ul,menu menu ul,menu dir ul,menu ol menu,menu ul menu,menu menu menu,menu dir menu,menu ol dir,menu ul dir,menu menu dir,menu dir dir,dir ol ul,dir ul ul,dir menu ul,dir dir ul,dir ol menu,dir ul menu,dir menu menu,dir dir menu,dir ol dir,dir ul dir,dir menu dir,dir dir dir
+ {
+ list-style-type: square;
}
-
/* leafs */
-
-/* noshade and color attributes are handled completely by
+ /* noshade and color attributes are handled completely by
* the nsHTMLHRElement attribute mapping code
*/
hr {
- display: block;
- height: 2px;
- border: 1px inset;
- margin: 0.5em auto 0.5em auto;
- color: gray;
+ display: block;
+ height: 2px;
+ border: 1px inset;
+ margin: 0.5em auto 0.5em auto;
+ color: gray;
}
hr[size="1"] {
- border-style: solid none none none;
+ border-style: solid none none none;
}
-img[usemap], object[usemap] {
- color: blue;
+img[usemap],object[usemap] {
+ color: blue;
}
frameset {
- display: block ! important;
- position: static ! important;
- float: none ! important;
- border: none ! important;
+ display: block ! important;
+ position: static ! important;
+ float: none ! important;
+ border: none ! important;
}
frame {
- border: none ! important;
+ border: none ! important;
}
iframe {
- border: 2px inset;
+ border: 2px inset;
}
noframes {
- display: none;
+ display: none;
}
spacer {
- position: static ! important;
- float: none ! important;
+ position: static ! important;
+ float: none ! important;
}
/* hidden elements */
-area, base, basefont, head, meta, script, style, title,
-noembed, param, link {
- display: none;
+area,base,basefont,head,meta,script,style,title,noembed,param,link {
+ display: none;
}
/* Page breaks at body tags, to help out with LIT-generation */
body {
- page-break-before: always;
+ page-break-before: always;
}
/* Explicit line-breaks are blocks, sure... */
br {
- display: block;
+ display: block;
}
/* Images, embedded object, and SVG size defaults */
-img, object, svg|svg {
- width: auto;
- height: auto;
+img,object,svg |svg {
+ width: auto;
+ height: auto;
}
/* These are needed because ADE renders anchors the same as links */
+a {
+ text-decoration: inherit;
+ color: inherit;
+ cursor: inherit
+}
-a { text-decoration: inherit; color: inherit; cursor: inherit }
-a[href] { text-decoration: underline; color: blue; cursor: pointer }
+a[href] {
+ text-decoration: underline;
+ color: blue;
+ cursor: pointer
+}
\ No newline at end of file
diff --git a/setup/installer/windows/en-us.xml b/setup/installer/windows/en-us.xml
index 89cc25f0a2..ed181c524b 100644
--- a/setup/installer/windows/en-us.xml
+++ b/setup/installer/windows/en-us.xml
@@ -1,9 +1,16 @@
-
- If you are upgrading from a {app} version older than 0.6.17, please uninstall {app} first. Click Advanced to change installation settings.
- Computing space requirements, this may take upto five minutes...
- Computing space requirements, this may take upto five minutes...
- Computing space requirements, this may take upto five minutes...
- Please wait while the installer finishes determining your disk space requirements, this may take upto five minutes...
+
+ If you are upgrading from a {app} version older than
+ 0.6.17, please uninstall {app} first. Click Advanced to change
+ installation settings.
+ Computing space requirements, this may take upto five
+ minutes...
+ Computing space requirements, this may take upto five
+ minutes...
+ Computing space requirements, this may take upto five
+ minutes...
+ Please wait while the installer finishes determining
+ your disk space requirements, this may take upto five minutes...
diff --git a/setup/installer/windows/wix-template.xml b/setup/installer/windows/wix-template.xml
index 37dd8b25a8..1300eba956 100644
--- a/setup/installer/windows/wix-template.xml
+++ b/setup/installer/windows/wix-template.xml
@@ -1,164 +1,157 @@
-
+
-
-
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
- {app_components}
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+ {app_components}
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
-
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
-
-
-
+
+
+
+
-
+
+
+
+
+
= 501)]]>
-
-
- NEWPRODUCTFOUND
-
-
-
- NEWPRODUCTFOUND
-
+
+
+ NEWPRODUCTFOUND
+
+
+
+ NEWPRODUCTFOUND
+
-
-
- WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed
+
+
+ WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
-
+
diff --git a/src/calibre/ebooks/lrf/html/demo/demo.html b/src/calibre/ebooks/lrf/html/demo/demo.html
index 7d2f783ccc..37bed69b88 100644
--- a/src/calibre/ebooks/lrf/html/demo/demo.html
+++ b/src/calibre/ebooks/lrf/html/demo/demo.html
@@ -1,187 +1,279 @@
-
Demo of html2lrf
-
- This document contains a demonstration of the capabilities of html2lrf, the HTML to LRF converter from calibre. To obtain calibre visit http://calibre-ebook.com
-
This document contains a demonstration of the capabilities of html2lrf, the HTML to LRF
+converter from calibre. To obtain calibre visit
+http://calibre-ebook.com
- html2lrf supports both rowspan and colspan, but no other HTML table attributes, as it uses its own algorithm to determine optimal placement of cells.
-
-
- Note that if you have custom fonts on your reader, the table may not be properly aligned. Also html2lrf does not support nested tables.
-
-
- On the next page you'll see a real life example taken from a Project Gutenberg text with no modifications. It shows off html2lrf's handling of rowspan and colspan.
-
- Here I demonstrate the use of inline images in the midst of text. Here is a small image embedded in a sentence. Now we have a slightly larger image that is automatically put in its own block and finally we have a large image which is put on a page by itself. Try changing sizes from S to M to L and see how the images behave.
-
+
Nested lists
+
+
Item 1
+
+
Sub item 1
+
Sub item 2
+
+
Sub sub item 1. This is a multiline item with almost
+ correct blocking.
+
Sub sub item 2
+
+
+
Item 2
+
+
+
Definition Lists
+
+
Term 1
+
Definition of Term 1. A multi line definition showing correct
+ blocking.
This LRF file has been prepared by embedding Times New Roman and Andale Mono
- as the default serif and monospace fonts. This allows it to correctly display
- non English characters such as:
-
-
mouse in German: mūs
-
mouse in Russian: мышь
-
-
- Note that embedding fonts in LRF files slows down page turns slightly.
-
-
beautiful image based dropcaps to emphasize this
- paragraph. Image based dropcaps are specified by adding the class = 'libprs500_dropcaps'
- attribute to an <img> tag.
-
-
-
This is a plain text based dropcaps. It
- is not nearly as dramatic, but easier to code ;-)
-
-
-
-
This is an Example of small-caps.
- It can also be used to highlight the start of a paragraph very effectively.
-
-
-
A paragraph with a hanging indent. This is especially
- useful for highly structured text like verse, or dialogue.
html2lrf supports both rowspan and colspan, but no other HTML
+table attributes, as it uses its own algorithm to determine optimal
+placement of cells.
+
Note that if you have custom fonts on your reader, the table may
+not be properly aligned. Also html2lrf does not support nested tables.
+
On the next page you'll see a
+real life example taken from a Project Gutenberg text with no
+modifications. It shows off html2lrf's handling of rowspan and colspan.
+
- html2lrf follows links in HTML files that point to other files, recursively. Thus it can be used to convert a whole tree of HTML files into a single LRF file.
-
-
Here I demonstrate the use of inline images in the midst of text.
+Here is a small image embedded in a sentence.
+Now we have a slightly larger image that is automatically put in its own
+block and finally
+we have a large image which is put on a page by itself. Try changing
+sizes from S to M to L and see how the images behave.
This LRF file has been prepared by embedding Times New Roman and
+Andale Mono as the default serif and monospace fonts. This allows it to
+correctly display non English characters such as:
+
+
mouse in German: mūs
+
mouse in Russian: мышь
+
+
Note that embedding fonts in LRF files slows down page turns
+slightly.
+
beautiful image
+based dropcaps to emphasize this paragraph. Image based dropcaps are
+specified by adding the class = 'libprs500_dropcaps'
+attribute to an <img> tag.
+
+
+
This is a plain text based dropcaps. It is not
+nearly as dramatic, but easier to code ;-)
+
+
+
This is an Example
+of small-caps. It can also be used to highlight the start of a paragraph
+very effectively.
+
+
A paragraph with a hanging indent. This is
+especially useful for highly structured text like verse, or dialogue.
+
html2lrf follows links in
+HTML files that point to other files, recursively. Thus it can be used
+to convert a whole tree of HTML files into a single LRF file.
+