78 Commits

Author SHA1 Message Date
Kovid Goyal
b121e7d4f5
Conversion: Change the default white-space CSS for <pre> tags to pre-wrap as this suits ebooks better (most ebook readin programs dont do
horizontal scrolling in paged mode well).
2020-05-16 10:04:02 +05:30
Kovid Goyal
a663e0e52a
Viewer: Fix LRF files not opening 2020-04-25 17:41:14 +05:30
Kovid Goyal
e9fc598a49
Avoid un-needed display:block class on <html> 2020-02-20 20:36:52 +05:30
Kovid Goyal
f10f23d4f6
Remove some mozilla specific rules from the default css 2019-10-20 13:52:49 +05:30
Kovid Goyal
901f1b1b74
Centralize all CSS used by book details 2019-09-13 13:52:46 +05:30
Kovid Goyal
ac953dd2e6
Get rid of the :hover rule from the book details css file as Qt does not support it 2019-09-13 09:14:36 +05:30
Kovid Goyal
9c0346bbb1
QTextBrowser should not require explicit link color override 2019-09-13 09:13:36 +05:30
Eli Schwartz
f75ea236e5
py3: make templite templates use python3-compatible syntax 2019-05-20 00:55:13 -04:00
Kovid Goyal
c9f56651ba
FB2 Input: Add <div> to <blockquote> content to silence the useless epubcheck 2018-02-28 09:28:47 +05:30
Kovid Goyal
8601b46151
Conversion: Handle the deprecated type attribute on <ol> tags. Fixes #1751148 [Bad conversion <ol type="a"> from ePub to azw3](https://bugs.launchpad.net/calibre/+bug/1751148) 2018-02-23 08:29:51 +05:30
Kovid Goyal
0b3125e4d8 Add an option to show the title for long text (comments type) custom columns in the book details panel. Access the option in Preferences->Add your own columns->Choose the column and click the button to edit the settings for that column. 2016-07-23 11:23:53 +05:30
Kovid Goyal
db8742a393 Book details panel: Pick the color used for links from the current system color theme 2016-07-08 11:51:56 +05:30
Kovid Goyal
16870db206 Edit Book: Add support for EPUB 3 to the Table of Contents tool. Now when editing EPUB 3 files using the tool will automatically generate both the EPUB 3 navigation document and the NCX table of contents for backwards compatibility 2016-06-15 19:44:20 +05:30
Kovid Goyal
3a284d0860 FB2 Input: Do not put a border around images 2015-03-06 20:16:30 +05:30
Kovid Goyal
610f2e32cb FB2 Input: Add support for FB2 books that use the FictionBook 2.1 XML schema. Fixes #1401915 [can't read fb2, saved from samlib.ru](https://bugs.launchpad.net/calibre/+bug/1401915) 2014-12-14 10:52:46 +05:30
Kovid Goyal
a6a2359025 Edit Book: Make the CSS used for styling the generated inline ToC user customizable via http://manual.calibre-ebook.com/customize.html#overriding-icons-templates-et-cetera 2014-11-07 21:23:41 +05:30
Kovid Goyal
2faac51ceb Make the template used to create empty EPUB files customizable by the user 2014-09-04 10:46:11 +05:30
Kovid Goyal
689d9f6e60 Book details panel: Make series and tags clickable. Clicking on them will search the calibre library for all books in the same series/ having the same tag
Fixes #1341297 [[Enhancement] make series name (in book details) a link/clickable](https://bugs.launchpad.net/calibre/+bug/1341297)
2014-07-14 13:41:05 +05:30
Kovid Goyal
c20db472eb FB2 Input: Add support for note and cite back references
FB2 Input: Add support for note and cite back references. Link pairs of
type="note" and type="cite" now automatically generate the correct back
reference. Fixes #1243714 [Fb2 return link is lost when converted to mobi or epub](https://bugs.launchpad.net/calibre/+bug/1243714)
2013-10-23 20:50:20 +05:30
Kovid Goyal
3f6c88f0ae FB2 Input: Fix paras with both id and style
FB2 Input: Fix a regression that broke conversion of FB2 files with
paragraphs having both a style and an id attribute. Fixes #1243709 [xls:attribute error in FB2 files](https://bugs.launchpad.net/calibre/+bug/1243709)
2013-10-23 20:50:20 +05:30
Kovid Goyal
951ebafe4c RTF Input: Add partial support for hyperlinks to web resources. Fixes #1167562 (Links are wrong after RTF conversion) 2013-04-12 21:25:47 +05:30
Kovid Goyal
12b5fbf81f XSL cleanups 2013-04-05 08:28:54 +05:30
Kovid Goyal
699f7c46b5 Use font-weight:bold instead of font-weight:bolder for the <b> and <strong> tags as ADE cant handle bolder when embedded fonts are used 2012-10-25 12:08:25 +05:30
Kovid Goyal
d24d34bef7 FB2 Input: Add support for th and strikethrought ags and also rowspan, colspan and align attributes. Fixes #1059351 (More spec compliant FB2 support) 2012-10-01 09:34:30 +05:30
Kovid Goyal
0720d2ed74 FB2 Input: Add support for <code> tag. Fixes #1058591 (Support FB2 code tag) 2012-09-30 09:02:40 +05:30
Kovid Goyal
4131aa18da No longer explicitly set the color of links to blue. This was needed for old versions of ADE which did not display links correctly without it. Since newer versions of ADE no longer have this problem, remove the workaround. 2012-08-20 23:24:31 +05:30
Kovid Goyal
bf6eda95ab FB2 Input: Better handling of inline images. Fixes #989869 (fb2: export/display: inline images displayed as top level) 2012-04-27 22:29:34 +05:30
Sengian
b9c6f154c0 RTF: Improve empty paragraphs handling & clean html file 2011-10-16 13:55:54 +02:00
Kovid Goyal
181d0065b6 RTF Input: Fix handling of internal links 2011-09-10 09:04:01 -06:00
Sengian
6328279091 Add link anchor for internal bookmarks 2011-09-10 12:06:50 +02:00
Sengian
c8e820760a Fix RTFinput not handling underlined text 2011-09-10 11:27:27 +02:00
Sengian
b3ff85a8f7 Merge from source 2011-08-18 20:47:55 +02:00
Kovid Goyal
dc8cc526cf Fix #811474 ([FB2] Can't read/process "title" tag in images) 2011-07-16 10:39:20 -06:00
Sengian
b7804c5aaf Merge 2011-07-03 10:55:41 +02:00
Kovid Goyal
fb107eb94a FB2 Input: Do not specify font families/background colors 2011-06-11 09:27:21 -06:00
Sengian
e32055136e Merge 2011-04-30 00:20:14 +02:00
Kovid Goyal
ec12901d8a ... 2011-04-28 10:11:00 -06:00
Kovid Goyal
1acc3716b6 ... 2011-04-24 19:47:09 -06:00
Kovid Goyal
978e1f826b Make the book details panel completely user configurable 2011-04-24 19:44:17 -06:00
Sengian
e3ec837fd1 Merge 2011-03-09 21:21:47 +01:00
Kovid Goyal
bcdd6d474a ... 2011-03-06 08:42:09 -07:00
Kovid Goyal
d68aaddbb4 ... 2011-03-06 08:39:53 -07:00
Kovid Goyal
a94fe3adad FB2 Input: Support for tables. Fixes #9302 (fb2 --> epub, mobi Missing tables) 2011-03-06 08:31:58 -07:00
Sengian
1b6a4837aa Merge 2011-02-27 20:37:41 +01:00
Sengian
d2c0e22451 merge 2011-02-27 20:33:52 +01:00
Kovid Goyal
2101dcf2b5 EPUB Output: Remove unnecessary CSS page breaks as they confuse the latest release of iBooks 2011-02-24 09:18:10 -07:00
Kovid Goyal
00f1d3f6aa ... 2011-02-17 10:36:56 -07:00
Kovid Goyal
39afea253c FB2 Input: Add support for super and sub scripts. Fixes #9018 (FB2 → Another format; missing supescript and subscript tags) 2011-02-17 10:36:13 -07:00
Sengian
c81f75f6f6 Partial fix for blank line in RTFInput 2011-01-16 12:05:00 +01:00
Kovid Goyal
7fde6cbead RTF Input: Various code cleanups. Go back to trying to handle unicode mappings without pre-processing (Fixes #8171 (Unsupported charsets ie non ascii in RTF)). Fix bug in handling super/sub scripts. 2011-01-12 17:23:53 -07:00