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.
Radek Czajka [Thu, 2 May 2013 10:18:12 +0000 (12:18 +0200)]
forgotten image
Radek Czajka [Fri, 26 Apr 2013 11:18:18 +0000 (13:18 +0200)]
Add table of themes directly to HTML.
Radek Czajka [Mon, 25 Feb 2013 12:33:17 +0000 (13:33 +0100)]
Add WL logo on cover
Radek Czajka [Mon, 25 Feb 2013 11:01:34 +0000 (12:01 +0100)]
Scalable metrics in Cover
Radek Czajka [Thu, 27 Sep 2012 15:09:02 +0000 (17:09 +0200)]
Many FB2 fixes
Radek Czajka [Mon, 24 Sep 2012 12:43:39 +0000 (14:43 +0200)]
Merge remote-tracking branch 'mgorny/fb2'
Radek Czajka [Fri, 7 Sep 2012 11:08:16 +0000 (13:08 +0200)]
fixes #2356: set User-Agent
Michał Górny [Wed, 29 Aug 2012 21:02:51 +0000 (23:02 +0200)]
FB2: fix verse handling in lyrics.
Use the epub verse conversion code to convert verses to a more suitable
XML format.
Radek Czajka [Wed, 22 Aug 2012 20:45:30 +0000 (22:45 +0200)]
pdf: respect inherited cover
Radek Czajka [Wed, 22 Aug 2012 09:20:16 +0000 (11:20 +0200)]
Better Unicode handling in errors.
Radek Czajka [Mon, 20 Aug 2012 10:29:17 +0000 (12:29 +0200)]
added WLDocument.as_cover: treat covers more like ebooks
Radek Czajka [Fri, 17 Aug 2012 14:26:15 +0000 (16:26 +0200)]
Allow specyfing fallback values for BookInfo fields when creating a WLDocument.
Radek Czajka [Fri, 17 Aug 2012 12:34:54 +0000 (14:34 +0200)]
fixes #2325: repetitions in editor list
Radek Czajka [Fri, 17 Aug 2012 10:27:16 +0000 (12:27 +0200)]
smaller image for tests
Radek Czajka [Thu, 2 Aug 2012 11:53:27 +0000 (13:53 +0200)]
fix for running from bad dir
Radek Czajka [Wed, 13 Jun 2012 12:09:33 +0000 (14:09 +0200)]
Allow using remote cache for image downloading. Also, DRY in book2* scripts
Marcin Koziej [Thu, 24 May 2012 10:06:09 +0000 (12:06 +0200)]
fix expected html output to contain secX anchors
Marcin Kozey [Thu, 24 May 2012 08:40:38 +0000 (01:40 -0700)]
Merge pull request #3 from mgorny/fb2
FB2: fix whitespace around footnotes.
Michał Górny [Wed, 16 May 2012 05:03:48 +0000 (07:03 +0200)]
FB2: fix whitespace around footnotes.
rczajka [Mon, 14 May 2012 08:26:54 +0000 (01:26 -0700)]
Merge pull request #2 from mgorny/fb2
Initial support for FictionBook 2 output format
rczajka [Mon, 14 May 2012 08:25:42 +0000 (01:25 -0700)]
Merge pull request #1 from mgorny/master
book2epub: fix --working-copy description
Michał Górny [Sat, 12 May 2012 21:11:05 +0000 (23:11 +0200)]
FB2: add the 'created by wolnelektury.pl' note.
Michał Górny [Sat, 12 May 2012 21:03:44 +0000 (23:03 +0200)]
FB2: output a basic book description.
Michał Górny [Sun, 6 May 2012 09:51:19 +0000 (11:51 +0200)]
FB2: use mode=para for poems -- simplify.
Michał Górny [Sun, 6 May 2012 09:36:21 +0000 (11:36 +0200)]
FB2: a few more elements.