librarian.git
10 years agoMerge remote-tracking branch 'upstream/master'
Robert Błaut [Mon, 3 Mar 2014 20:21:43 +0000 (21:21 +0100)]
Merge remote-tracking branch 'upstream/master'

10 years agoString comparison bug.
Radek Czajka [Fri, 28 Feb 2014 09:04:03 +0000 (10:04 +0100)]
String comparison bug.

10 years agoMerge remote-tracking branch 'upstream/master'
Robert Błaut [Thu, 27 Feb 2014 16:12:17 +0000 (17:12 +0100)]
Merge remote-tracking branch 'upstream/master'

10 years agoMerge 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

10 years ago[epub, mobi] fix for IT #3356 - new line char is problemtic in toc.ncx - replace...
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

10 years ago[epub] fix for calibre warning - cover does not need linear=no attribute
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.”

10 years ago[TXT] Newline after last line, update test.
Radek Czajka [Thu, 27 Feb 2014 10:50:39 +0000 (11:50 +0100)]
[TXT] Newline after last line, update test.

10 years agoMerge remote-tracking branch 'quiris/master' into quiris
Radek Czajka [Wed, 26 Feb 2014 15:41:44 +0000 (16:41 +0100)]
Merge remote-tracking branch 'quiris/master' into quiris

10 years agoPDF cover: higher resolution, lower quality.
Radek Czajka [Tue, 25 Feb 2014 13:19:52 +0000 (14:19 +0100)]
PDF cover: higher resolution, lower quality.

10 years agofix in book2partner
Radek Czajka [Thu, 20 Feb 2014 14:24:14 +0000 (15:24 +0100)]
fix in book2partner

10 years agoReorganizing partner code a little.
Radek Czajka [Thu, 20 Feb 2014 14:10:10 +0000 (15:10 +0100)]
Reorganizing partner code a little.

10 years agoWide PDF cover.
Radek Czajka [Fri, 7 Feb 2014 14:06:21 +0000 (15:06 +0100)]
Wide PDF cover.

10 years agoFix escaping stuff in PDF.
Radek Czajka [Thu, 20 Feb 2014 10:17:45 +0000 (11:17 +0100)]
Fix escaping stuff in PDF.

10 years ago[epub, mobi] Paragraph indentation improvements plus support for initials in chapters
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

10 years agoMerge recent changes from branch 'fnp/librarian/master'
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

10 years agoFixes #2570: Text spilling into fragments from outside.
Radek Czajka [Mon, 10 Feb 2014 15:40:50 +0000 (16:40 +0100)]
Fixes #2570: Text spilling into fragments from outside.

10 years agoFixes #3031: Sponsor info in PDF.
Radek Czajka [Fri, 7 Feb 2014 15:31:02 +0000 (16:31 +0100)]
Fixes #3031: Sponsor info in PDF.

10 years agoFix some errors in scripts.
Radek Czajka [Fri, 7 Feb 2014 14:05:41 +0000 (15:05 +0100)]
Fix some errors in scripts.

10 years agoRemove unused image.
Radek Czajka [Wed, 5 Feb 2014 11:36:36 +0000 (12:36 +0100)]
Remove unused image.

10 years agoFix HTML TOC themes issue.
Radek Czajka [Mon, 3 Feb 2014 13:19:20 +0000 (14:19 +0100)]
Fix HTML TOC themes issue.

10 years agoFix HTML test.
Radek Czajka [Mon, 3 Feb 2014 09:06:17 +0000 (10:06 +0100)]
Fix HTML test.

10 years agoAdd support for custom covers (coverBarColor, coverBoxPosition), remove the logo...
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.

10 years ago[epub, mobi] note tag styling improvement - one more time…
Robert Błaut [Fri, 31 Jan 2014 16:10:17 +0000 (17:10 +0100)]
[epub, mobi] note tag styling improvement - one more time…

10 years ago[epub, mobi] didaskalia tag rendering improvement
Robert Błaut [Fri, 31 Jan 2014 12:02:16 +0000 (13:02 +0100)]
[epub, mobi] didaskalia tag rendering improvement

10 years ago[epub, mobi] further nota tag rendering improvements
Robert Błaut [Fri, 31 Jan 2014 11:53:38 +0000 (12:53 +0100)]
[epub, mobi] further nota tag rendering improvements

10 years ago[epub, mobi] fix for hanging single letter conjunctions - currenty disabled
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.

10 years ago[epub, mobi] motto_podpis impovements
Robert Błaut [Thu, 30 Jan 2014 07:14:09 +0000 (08:14 +0100)]
[epub, mobi] motto_podpis impovements

10 years ago[epub, mob] Paragraphs inside note should be justified
Robert Błaut [Thu, 30 Jan 2014 07:02:37 +0000 (08:02 +0100)]
[epub, mob] Paragraphs inside note should be justified

10 years ago[epub, mobi] fix for notes without margin-bottom. Issue #2567
Robert Błaut [Wed, 29 Jan 2014 20:51:58 +0000 (21:51 +0100)]
[epub, mobi] fix for notes without margin-bottom. Issue #2567

10 years ago[txt] return Windows friendly txt file with \r\n line ends instead of \n
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.

10 years ago[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts
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.

10 years agoRevert deb4aee..88cabfe
Robert Błaut [Wed, 29 Jan 2014 11:19:02 +0000 (12:19 +0100)]
Revert deb4aee..88cabfe

This rolls back to commit deb4aee6a2185645b197a9a8524e7ed2232a7410.

10 years agoRevert "Revert "[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks witho...
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.

10 years agoRevert "[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts"
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.

10 years ago[epub, mobi] Fix for a problem with epubs, mobi in drama ebooks without acts
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

10 years ago[epub, mobi] CSS improvements - better interoperability on various readers
Robert Błaut [Tue, 28 Jan 2014 20:06:27 +0000 (21:06 +0100)]
[epub, mobi] CSS improvements - better interoperability on various readers

10 years ago[ePub] Fix for error validation with epubcheck 3.0.1 in multi-volume books
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

10 years ago[ePub] Added conversion from 3-letter to 2-letter (if available) language code
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.

10 years agoFix for dc:creator and dc:date tag – make it as described in OPF 2.0.1 spec.
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.

10 years agoFix for missing xml declaration of content.opf and toc.ncx
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

10 years agoFix for Epubcheck Version 3.0.1 validation warning
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'

10 years ago[Mobi] Mobi output improvements
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.

10 years agoUse CSS styles also in HTML TOC
Robert Błaut [Sun, 19 Jan 2014 09:39:35 +0000 (10:39 +0100)]
Use CSS styles also in HTML TOC

10 years ago[ePub, Mobi] Smaller text-indent in paragraphs.
Robert Błaut [Fri, 17 Jan 2014 10:36:12 +0000 (11:36 +0100)]
[ePub, Mobi] Smaller text-indent in paragraphs.

10 years ago[ePub Mobi] Removed unnecessary annotations clutter. Make them according typography...
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

10 years ago[Mobi] Fix for inconsistent styles between on-line reader and Mobi.
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.

10 years ago[ePub] Fix for inconsistent styles between on-line reader and ePub.
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.

10 years ago[Mobi] CSS improvements for paragraph and footnotes
Robert Błaut [Wed, 15 Jan 2014 22:39:42 +0000 (23:39 +0100)]
[Mobi] CSS improvements for paragraph and footnotes

10 years agoCSS style footnotes clean up
Robert Błaut [Wed, 15 Jan 2014 21:54:50 +0000 (22:54 +0100)]
CSS style footnotes clean up

10 years agoTransition from square bracket to superscripted footnotes
Robert Błaut [Wed, 15 Jan 2014 21:53:26 +0000 (22:53 +0100)]
Transition from square bracket to superscripted footnotes

10 years agoFix for incorrect .ttf MIME type
Robert Błaut [Wed, 15 Jan 2014 21:49:00 +0000 (22:49 +0100)]
Fix for incorrect .ttf MIME type

10 years agoParagraphs formatting improvements
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.

10 years agoInsert anchors before, not inside elements.
Radek Czajka [Tue, 14 Jan 2014 13:02:58 +0000 (14:02 +0100)]
Insert anchors before, not inside elements.

10 years agoUse cover with logos by default.
Radek Czajka [Fri, 3 Jan 2014 16:01:23 +0000 (17:01 +0100)]
Use cover with logos by default.

11 years agoCovers with logos.
Radek Czajka [Wed, 18 Dec 2013 15:20:52 +0000 (16:20 +0100)]
Covers with logos.

11 years agouse lists not tuples since tuples break things
Marcin Koziej [Mon, 16 Dec 2013 08:40:49 +0000 (09:40 +0100)]
use lists not tuples since tuples break things

11 years agomerging master
Marcin Koziej [Sat, 7 Dec 2013 17:17:06 +0000 (18:17 +0100)]
merging master

11 years agofixes for dates etc
Marcin Koziej [Wed, 4 Dec 2013 18:45:25 +0000 (19:45 +0100)]
fixes for dates etc

11 years agoMetadata can have lang attribute.
Radek Czajka [Tue, 19 Nov 2013 10:48:31 +0000 (11:48 +0100)]
Metadata can have lang attribute.

11 years agoadd genre to picture_info
Marcin Koziej [Tue, 12 Nov 2013 17:07:24 +0000 (18:07 +0100)]
add genre to picture_info

11 years agoFix broken txt test.
Radek Czajka [Tue, 12 Nov 2013 11:26:46 +0000 (12:26 +0100)]
Fix broken txt test.

11 years agoMore on date format
Marcin Koziej [Wed, 6 Nov 2013 15:30:30 +0000 (16:30 +0100)]
More on date format

11 years agoHandle all date formats in a primitive way (always take the beginning of period)
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)

11 years agotests for handling "2 poł XIX w." dates + utf8 check
Marcin Koziej [Tue, 5 Nov 2013 11:26:10 +0000 (12:26 +0100)]
tests for handling "2 poł XIX w." dates + utf8 check

11 years agoMerge branch '__images'
Marcin Koziej [Tue, 5 Nov 2013 09:04:45 +0000 (10:04 +0100)]
Merge branch '__images'

11 years agoAccept dates in like "2 poł. XIX w."
Marcin Koziej [Mon, 4 Nov 2013 16:12:54 +0000 (17:12 +0100)]
Accept dates in like "2 poł. XIX w."

11 years agoFixing thank-you note in epub
Aleksander Łukasz [Wed, 9 Oct 2013 11:45:42 +0000 (13:45 +0200)]
Fixing thank-you note in epub

11 years agoAdd thank-you note in EPUB and PDF.
Radek Czajka [Tue, 8 Oct 2013 10:04:25 +0000 (12:04 +0200)]
Add thank-you note in EPUB and PDF.

11 years agotypo
Radek Czajka [Mon, 7 Oct 2013 07:53:56 +0000 (09:53 +0200)]
typo

11 years agoLegal note fix.
Radek Czajka [Tue, 17 Sep 2013 14:14:35 +0000 (16:14 +0200)]
Legal note fix.

11 years agofunders in txt
Radek Czajka [Wed, 7 Aug 2013 10:37:22 +0000 (12:37 +0200)]
funders in txt

11 years agoAdd funders info.
Radek Czajka [Wed, 7 Aug 2013 10:19:28 +0000 (12:19 +0200)]
Add funders info.

11 years agoPDF cover info fix
Radek Czajka [Wed, 24 Jul 2013 20:41:58 +0000 (22:41 +0200)]
PDF cover info fix

11 years ago#2773: support info in pdf/epub/mobi.
Radek Czajka [Mon, 22 Jul 2013 13:09:21 +0000 (15:09 +0200)]
#2773: support info in pdf/epub/mobi.

11 years agoFixes #2631: losing whitespace in epub/mobi stanzas.
Radek Czajka [Tue, 16 Jul 2013 12:25:08 +0000 (14:25 +0200)]
Fixes #2631: losing whitespace in epub/mobi stanzas.

11 years agofixes #2620: remove old tagline
Radek Czajka [Tue, 16 Jul 2013 12:01:15 +0000 (14:01 +0200)]
fixes #2620: remove old tagline

11 years agoAdded theme table in test
Radek Czajka [Tue, 16 Jul 2013 10:08:00 +0000 (12:08 +0200)]
Added theme table in test

11 years agoUse Pillow-compatible imports.
Radek Czajka [Tue, 16 Jul 2013 09:41:45 +0000 (11:41 +0200)]
Use Pillow-compatible imports.

11 years agoSpaces in themes list in HTML.
Radek Czajka [Fri, 28 Jun 2013 09:20:05 +0000 (11:20 +0200)]
Spaces in themes list in HTML.

11 years agoforgotten image
Radek Czajka [Thu, 2 May 2013 10:18:12 +0000 (12:18 +0200)]
forgotten image

11 years agoAdd table of themes directly to HTML.
Radek Czajka [Fri, 26 Apr 2013 11:18:18 +0000 (13:18 +0200)]
Add table of themes directly to HTML.

11 years agoAdd WL logo on cover
Radek Czajka [Mon, 25 Feb 2013 12:33:17 +0000 (13:33 +0100)]
Add WL logo on cover

11 years agoScalable metrics in Cover
Radek Czajka [Mon, 25 Feb 2013 11:01:34 +0000 (12:01 +0100)]
Scalable metrics in Cover

12 years agoMany FB2 fixes
Radek Czajka [Thu, 27 Sep 2012 15:09:02 +0000 (17:09 +0200)]
Many FB2 fixes

12 years agoMerge remote-tracking branch 'mgorny/fb2'
Radek Czajka [Mon, 24 Sep 2012 12:43:39 +0000 (14:43 +0200)]
Merge remote-tracking branch 'mgorny/fb2'

12 years agofixes #2356: set User-Agent edumed
Radek Czajka [Fri, 7 Sep 2012 11:08:16 +0000 (13:08 +0200)]
fixes #2356: set User-Agent

12 years agoFB2: fix verse handling in lyrics.
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.

12 years agopdf: respect inherited cover
Radek Czajka [Wed, 22 Aug 2012 20:45:30 +0000 (22:45 +0200)]
pdf: respect inherited cover

12 years agoBetter Unicode handling in errors.
Radek Czajka [Wed, 22 Aug 2012 09:20:16 +0000 (11:20 +0200)]
Better Unicode handling in errors.

12 years agoadded WLDocument.as_cover: treat covers more like ebooks
Radek Czajka [Mon, 20 Aug 2012 10:29:17 +0000 (12:29 +0200)]
added WLDocument.as_cover: treat covers more like ebooks

12 years agoAllow specyfing fallback values for BookInfo fields when creating a WLDocument.
Radek Czajka [Fri, 17 Aug 2012 14:26:15 +0000 (16:26 +0200)]
Allow specyfing fallback values for BookInfo fields when creating a WLDocument.

12 years agofixes #2325: repetitions in editor list
Radek Czajka [Fri, 17 Aug 2012 12:34:54 +0000 (14:34 +0200)]
fixes #2325: repetitions in editor list

12 years agosmaller image for tests
Radek Czajka [Fri, 17 Aug 2012 10:27:16 +0000 (12:27 +0200)]
smaller image for tests

12 years agofix for running from bad dir
Radek Czajka [Thu, 2 Aug 2012 11:53:27 +0000 (13:53 +0200)]
fix for running from bad dir

12 years agoAllow using remote cache for image downloading. Also, DRY in book2* scripts
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

12 years agofix expected html output to contain secX anchors
Marcin Koziej [Thu, 24 May 2012 10:06:09 +0000 (12:06 +0200)]
fix expected html output to contain secX anchors

12 years agoMerge pull request #3 from mgorny/fb2
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.

12 years agoFB2: fix whitespace around footnotes.
Michał Górny [Wed, 16 May 2012 05:03:48 +0000 (07:03 +0200)]
FB2: fix whitespace around footnotes.

12 years agoMerge pull request #2 from mgorny/fb2
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

12 years agoMerge pull request #1 from mgorny/master
rczajka [Mon, 14 May 2012 08:25:42 +0000 (01:25 -0700)]
Merge pull request #1 from mgorny/master

book2epub: fix --working-copy description