Radek Czajka [Wed, 23 Apr 2014 10:34:59 +0000 (12:34 +0200)]
Merge remote-tracking branch 'quiris/master'
Radek Czajka [Wed, 23 Apr 2014 10:26:20 +0000 (12:26 +0200)]
Fix font-optimizer for Perl 5.18.
Robert Błaut [Tue, 1 Apr 2014 11:27:08 +0000 (13:27 +0200)]
[epub] pep8
Robert Błaut [Tue, 1 Apr 2014 11:03:36 +0000 (13:03 +0200)]
[epub] pep8 tabs removed
Robert Błaut [Tue, 1 Apr 2014 11:00:25 +0000 (13:00 +0200)]
[mobi] pep8
Robert Błaut [Sat, 29 Mar 2014 09:16:30 +0000 (10:16 +0100)]
Merge remote-tracking branch 'upstream/master'
merge upstream with my own fork
Robert Błaut [Sat, 29 Mar 2014 08:27:41 +0000 (09:27 +0100)]
Fix for not working --verbose optional switch
Robert Błaut [Fri, 28 Mar 2014 21:50:30 +0000 (22:50 +0100)]
[mobi] not needed cover lines removed - epub intermediate file provides required cover; added support for second optional conversion tool - kindlegen
Robert Błaut [Fri, 28 Mar 2014 21:47:37 +0000 (22:47 +0100)]
[epub] removed flag with-full-fonts as it is not required any more
Robert Błaut [Fri, 28 Mar 2014 21:46:29 +0000 (22:46 +0100)]
[epub, mobi] new switch use-kindlegen and html-toc switch improvement
Robert Błaut [Thu, 27 Mar 2014 22:07:28 +0000 (23:07 +0100)]
[epub, mobi] added optional command line switch helpful with kindlegen conversion
Robert Błaut [Thu, 27 Mar 2014 22:05:58 +0000 (23:05 +0100)]
[epub, mobi] book-text id – alignment with a rest of html output files
Robert Błaut [Thu, 27 Mar 2014 22:04:32 +0000 (23:04 +0100)]
[epub, mobi] - tabs clean up plus media query amzn-kf8 helpful during kindlegen conversion
Robert Błaut [Thu, 27 Mar 2014 22:03:14 +0000 (23:03 +0100)]
[epub] output improvements - clean xhtml instead of html tag soup
Robert Błaut [Thu, 27 Mar 2014 08:21:00 +0000 (09:21 +0100)]
[epub, mobi] - xsl output impovements required for better annotation visual rendering on Kindle Paperwhite
Robert Błaut [Thu, 27 Mar 2014 07:28:14 +0000 (08:28 +0100)]
[epub, mobi] encode in utf-8 instead of entities. Result: smaller files :)
Radek Czajka [Thu, 6 Mar 2014 12:12:19 +0000 (13:12 +0100)]
[HTML] fixes #3029: <motto> contains blocks.
Robert Błaut [Wed, 5 Mar 2014 13:38:44 +0000 (14:38 +0100)]
fix impovement for IT #3356 - workaround rare problem
Robert Błaut [Tue, 4 Mar 2014 09:13:23 +0000 (10:13 +0100)]
[epub, mobi] hyphenate all kinds of documents and annotation style improvement
Robert Błaut [Tue, 4 Mar 2014 08:26:19 +0000 (09:26 +0100)]
[epub, mobi] hyphenator - added language detection and more hyph dictionaries
Robert Błaut [Mon, 3 Mar 2014 22:21:05 +0000 (23:21 +0100)]
[epub, mobi] Add early hyphenate support for powiesc, opowiadania and wywiad. TODO: language detection
Robert Błaut [Mon, 3 Mar 2014 20:21:43 +0000 (21:21 +0100)]
Merge remote-tracking branch 'upstream/master'
Radek Czajka [Fri, 28 Feb 2014 09:04:03 +0000 (10:04 +0100)]
String comparison bug.
Robert Błaut [Thu, 27 Feb 2014 16:12:17 +0000 (17:12 +0100)]
Merge remote-tracking branch 'upstream/master'
Robert Błaut [Thu, 27 Feb 2014 16:09:26 +0000 (17:09 +0100)]
Merge remote-tracking branch 'upstream/master'
Sync between librarian master and fork
Robert Błaut [Thu, 27 Feb 2014 16:03:20 +0000 (17:03 +0100)]
[epub, mobi] fix for IT #3356 - new line char is problemtic in toc.ncx - replace it with space
Robert Błaut [Thu, 27 Feb 2014 11:43:20 +0000 (12:43 +0100)]
[epub] fix for calibre warning - cover does not need linear=no attribute
Calibre said „There are items marked as non-linear in the <spine>.
These will be displayed in random order by different ebook readers.
Some will ignore the non-linear attribute, some will display them at
the end or the beginning of the book and some will fail to display them
at all. Instead of using non-linear items simply place the items in the
order you want them to be displayed.”
Radek Czajka [Thu, 27 Feb 2014 10:50:39 +0000 (11:50 +0100)]
[TXT] Newline after last line, update test.
Radek Czajka [Wed, 26 Feb 2014 15:41:44 +0000 (16:41 +0100)]
Merge remote-tracking branch 'quiris/master' into quiris
Radek Czajka [Tue, 25 Feb 2014 13:19:52 +0000 (14:19 +0100)]
PDF cover: higher resolution, lower quality.
Radek Czajka [Thu, 20 Feb 2014 14:24:14 +0000 (15:24 +0100)]
fix in book2partner
Radek Czajka [Thu, 20 Feb 2014 14:10:10 +0000 (15:10 +0100)]
Reorganizing partner code a little.
Radek Czajka [Fri, 7 Feb 2014 14:06:21 +0000 (15:06 +0100)]
Wide PDF cover.
Radek Czajka [Thu, 20 Feb 2014 10:17:45 +0000 (11:17 +0100)]
Fix escaping stuff in PDF.
Robert Błaut [Sun, 16 Feb 2014 10:25:06 +0000 (11:25 +0100)]
[epub, mobi] Paragraph indentation improvements plus support for initials in chapters
Robert Błaut [Sat, 15 Feb 2014 09:52:13 +0000 (10:52 +0100)]
Merge recent changes from branch 'fnp/librarian/master'
Sync between fork and origin
Radek Czajka [Mon, 10 Feb 2014 15:40:50 +0000 (16:40 +0100)]
Fixes #2570: Text spilling into fragments from outside.
Radek Czajka [Fri, 7 Feb 2014 15:31:02 +0000 (16:31 +0100)]
Fixes #3031: Sponsor info in PDF.
Radek Czajka [Fri, 7 Feb 2014 14:05:41 +0000 (15:05 +0100)]
Fix some errors in scripts.
Radek Czajka [Wed, 5 Feb 2014 11:36:36 +0000 (12:36 +0100)]
Remove unused image.
Radek Czajka [Mon, 3 Feb 2014 13:19:20 +0000 (14:19 +0100)]
Fix HTML TOC themes issue.
Radek Czajka [Mon, 3 Feb 2014 09:06:17 +0000 (10:06 +0100)]
Fix HTML test.
Radek Czajka [Mon, 3 Feb 2014 09:00:39 +0000 (10:00 +0100)]
Add support for custom covers (coverBarColor, coverBoxPosition), remove the logo-in-white-box option.
Robert Błaut [Fri, 31 Jan 2014 16:10:17 +0000 (17:10 +0100)]
[epub, mobi] note tag styling improvement - one more time…
Robert Błaut [Fri, 31 Jan 2014 12:02:16 +0000 (13:02 +0100)]
[epub, mobi] didaskalia tag rendering improvement
Robert Błaut [Fri, 31 Jan 2014 11:53:38 +0000 (12:53 +0100)]
[epub, mobi] further nota tag rendering improvements
Robert Błaut [Thu, 30 Jan 2014 09:39:34 +0000 (10:39 +0100)]
[epub, mobi] fix for hanging single letter conjunctions - currenty disabled
for future use.
Robert Błaut [Thu, 30 Jan 2014 07:14:09 +0000 (08:14 +0100)]
[epub, mobi] motto_podpis impovements
Robert Błaut [Thu, 30 Jan 2014 07:02:37 +0000 (08:02 +0100)]
[epub, mob] Paragraphs inside note should be justified
Robert Błaut [Wed, 29 Jan 2014 20:51:58 +0000 (21:51 +0100)]
[epub, mobi] fix for notes without margin-bottom. Issue #2567
Robert Błaut [Wed, 29 Jan 2014 14:48:48 +0000 (15:48 +0100)]
[txt] return Windows friendly txt file with \r\n line ends instead of \n
POSIX editors recognize Windows line end. Notepad on Windows does not
recognize POSIX line ends.
Robert Błaut [Wed, 29 Jan 2014 11:31:53 +0000 (12:31 +0100)]
[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts
Better aproach than previous one.
Robert Błaut [Wed, 29 Jan 2014 11:19:02 +0000 (12:19 +0100)]
Robert Błaut [Wed, 29 Jan 2014 11:16:45 +0000 (12:16 +0100)]
Revert "Revert "[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts""
This reverts commit
afc2b870c1646c8d6c1b754d4ee44aa059e834c9.
Robert Błaut [Wed, 29 Jan 2014 11:15:47 +0000 (12:15 +0100)]
Revert "[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts"
This reverts commit
0081ccb8e51026b5af824b3c641648d23155f1e1.
Robert Błaut [Wed, 29 Jan 2014 10:13:50 +0000 (11:13 +0100)]
[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts
Robert Błaut [Tue, 28 Jan 2014 20:06:27 +0000 (21:06 +0100)]
[epub, mobi] CSS improvements - better interoperability on various readers
Robert Błaut [Tue, 28 Jan 2014 13:46:26 +0000 (14:46 +0100)]
[ePub] Fix for error validation with epubcheck 3.0.1 in multi-volume books
ERROR: example.epub/OPS/toc.ncx(24,47): assertion failed: different
playOrder values for navPoint/navTarget/pageTarget that refer to same
target
Robert Błaut [Tue, 28 Jan 2014 10:43:24 +0000 (11:43 +0100)]
[ePub] Added conversion from 3-letter to 2-letter (if available) language code
The change-set is intended to fix various ebook readers problems
regarding not recognized 3-letter (bibliographic) language code.
Robert Błaut [Sun, 26 Jan 2014 16:20:13 +0000 (17:20 +0100)]
Fix for dc:creator and dc:date tag – make it as described in OPF 2.0.1 spec.
According to an example from OPF 2.0.1 spec:
<dc:creator opf:file-as="King, Martin Luther Jr." opf:role="aut">
Rev. Dr. Martin Luther King Jr.
</dc:creator>
Regarding to dc:date change: Sigil throws with xsi:type in dc:date.
Robert Błaut [Sun, 26 Jan 2014 15:02:30 +0000 (16:02 +0100)]
Fix for missing xml declaration of content.opf and toc.ncx
Lack of xml declaration causes failed ePub validation with Epubcheck
Version 3.0.1
Robert Błaut [Sun, 26 Jan 2014 10:43:52 +0000 (11:43 +0100)]
Fix for Epubcheck Version 3.0.1 validation warning
WARNING: OEBPS/toc.ncx: meta@dtb:uid content 'sample' should conform to
unique-identifier in content.opf:
'http://wolnelektury.pl/katalog/lektura/sample'
Robert Błaut [Sun, 19 Jan 2014 11:41:00 +0000 (12:41 +0100)]
[Mobi] Mobi output improvements
1. Produce dual Mobi file by default (Mobi7 + KF8). Much nicer and
richer experience on Kindle devices.
2. Embed fonts in Mobi.
3. Remove obsolete Mobi stylesheet (mobi.py uses epub css by default)
4. Add flag with-full-fonts to epub.py as it is required for mobi.py to
produce working subset of fonts by calibre.
5. Ignore margins option by default to ensure that result mobi file
will use Kindle devices own margins.
Robert Błaut [Sun, 19 Jan 2014 09:39:35 +0000 (10:39 +0100)]
Use CSS styles also in HTML TOC
Robert Błaut [Fri, 17 Jan 2014 10:36:12 +0000 (11:36 +0100)]
[ePub, Mobi] Smaller text-indent in paragraphs.
Robert Błaut [Thu, 16 Jan 2014 20:01:49 +0000 (21:01 +0100)]
[ePub Mobi] Removed unnecessary annotations clutter. Make them according typography rules
Robert Błaut [Thu, 16 Jan 2014 13:53:49 +0000 (14:53 +0100)]
[Mobi] Fix for inconsistent styles between on-line reader and Mobi.
Robert Błaut [Thu, 16 Jan 2014 13:46:02 +0000 (14:46 +0100)]
[ePub] Fix for inconsistent styles between on-line reader and ePub.
Robert Błaut [Wed, 15 Jan 2014 22:39:42 +0000 (23:39 +0100)]
[Mobi] CSS improvements for paragraph and footnotes
Robert Błaut [Wed, 15 Jan 2014 21:54:50 +0000 (22:54 +0100)]
CSS style footnotes clean up
Robert Błaut [Wed, 15 Jan 2014 21:53:26 +0000 (22:53 +0100)]
Transition from square bracket to superscripted footnotes
Robert Błaut [Wed, 15 Jan 2014 21:49:00 +0000 (22:49 +0100)]
Fix for incorrect .ttf MIME type
Robert Błaut [Wed, 15 Jan 2014 19:43:25 +0000 (20:43 +0100)]
Paragraphs formatting improvements
No margins between .paragraph classes plus text indentation between two adjacent .paragraph classes.
Radek Czajka [Tue, 14 Jan 2014 13:02:58 +0000 (14:02 +0100)]
Insert anchors before, not inside elements.
Radek Czajka [Fri, 3 Jan 2014 16:01:23 +0000 (17:01 +0100)]
Use cover with logos by default.
Radek Czajka [Wed, 18 Dec 2013 15:20:52 +0000 (16:20 +0100)]
Covers with logos.
Marcin Koziej [Mon, 16 Dec 2013 08:40:49 +0000 (09:40 +0100)]
use lists not tuples since tuples break things
Marcin Koziej [Sat, 7 Dec 2013 17:17:06 +0000 (18:17 +0100)]
merging master
Marcin Koziej [Wed, 4 Dec 2013 18:45:25 +0000 (19:45 +0100)]
fixes for dates etc
Radek Czajka [Tue, 19 Nov 2013 10:48:31 +0000 (11:48 +0100)]
Metadata can have lang attribute.
Marcin Koziej [Tue, 12 Nov 2013 17:07:24 +0000 (18:07 +0100)]
add genre to picture_info
Radek Czajka [Tue, 12 Nov 2013 11:26:46 +0000 (12:26 +0100)]
Fix broken txt test.
Marcin Koziej [Wed, 6 Nov 2013 15:30:30 +0000 (16:30 +0100)]
More on date format
Marcin Koziej [Wed, 6 Nov 2013 14:19:50 +0000 (15:19 +0100)]
Handle all date formats in a primitive way (always take the beginning of period)
Marcin Koziej [Tue, 5 Nov 2013 11:26:10 +0000 (12:26 +0100)]
tests for handling "2 poł XIX w." dates + utf8 check
Marcin Koziej [Tue, 5 Nov 2013 09:04:45 +0000 (10:04 +0100)]
Merge branch '__images'
Marcin Koziej [Mon, 4 Nov 2013 16:12:54 +0000 (17:12 +0100)]
Accept dates in like "2 poł. XIX w."
Aleksander Łukasz [Wed, 9 Oct 2013 11:45:42 +0000 (13:45 +0200)]
Fixing thank-you note in epub
Radek Czajka [Tue, 8 Oct 2013 10:04:25 +0000 (12:04 +0200)]
Add thank-you note in EPUB and PDF.
Radek Czajka [Mon, 7 Oct 2013 07:53:56 +0000 (09:53 +0200)]
typo
Radek Czajka [Tue, 17 Sep 2013 14:14:35 +0000 (16:14 +0200)]
Legal note fix.
Radek Czajka [Wed, 7 Aug 2013 10:37:22 +0000 (12:37 +0200)]
funders in txt
Radek Czajka [Wed, 7 Aug 2013 10:19:28 +0000 (12:19 +0200)]
Add funders info.
Radek Czajka [Wed, 24 Jul 2013 20:41:58 +0000 (22:41 +0200)]
PDF cover info fix
Radek Czajka [Mon, 22 Jul 2013 13:09:21 +0000 (15:09 +0200)]
#2773: support info in pdf/epub/mobi.
Radek Czajka [Tue, 16 Jul 2013 12:25:08 +0000 (14:25 +0200)]
Fixes #2631: losing whitespace in epub/mobi stanzas.
Radek Czajka [Tue, 16 Jul 2013 12:01:15 +0000 (14:01 +0200)]
fixes #2620: remove old tagline
Radek Czajka [Tue, 16 Jul 2013 10:08:00 +0000 (12:08 +0200)]
Added theme table in test
Radek Czajka [Tue, 16 Jul 2013 09:41:45 +0000 (11:41 +0200)]
Use Pillow-compatible imports.
Radek Czajka [Fri, 28 Jun 2013 09:20:05 +0000 (11:20 +0200)]
Spaces in themes list in HTML.