librarian.git
9 years agoAdded developmentStage meta field.
Radek Czajka [Mon, 30 Jun 2014 08:03:24 +0000 (10:03 +0200)]
Added developmentStage meta field.

10 years agoMinor fixes.
Radek Czajka [Wed, 23 Apr 2014 11:32:24 +0000 (13:32 +0200)]
Minor fixes.

10 years agoMerge remote-tracking branch 'quiris/master'
Radek Czajka [Wed, 23 Apr 2014 10:34:59 +0000 (12:34 +0200)]
Merge remote-tracking branch 'quiris/master'

10 years agoFix font-optimizer for Perl 5.18.
Radek Czajka [Wed, 23 Apr 2014 10:26:20 +0000 (12:26 +0200)]
Fix font-optimizer for Perl 5.18.

10 years ago[epub] pep8
Robert Błaut [Tue, 1 Apr 2014 11:27:08 +0000 (13:27 +0200)]
[epub] pep8

10 years ago[epub] pep8 tabs removed
Robert Błaut [Tue, 1 Apr 2014 11:03:36 +0000 (13:03 +0200)]
[epub] pep8 tabs removed

10 years ago[mobi] pep8
Robert Błaut [Tue, 1 Apr 2014 11:00:25 +0000 (13:00 +0200)]
[mobi] pep8

10 years agoMerge remote-tracking branch 'upstream/master'
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

10 years agoFix for not working --verbose optional switch
Robert Błaut [Sat, 29 Mar 2014 08:27:41 +0000 (09:27 +0100)]
Fix for not working --verbose optional switch

10 years ago[mobi] not needed cover lines removed - epub intermediate file provides required...
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

10 years ago[epub] removed flag with-full-fonts as it is not required any more
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

10 years ago[epub, mobi] new switch use-kindlegen and html-toc switch improvement
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

10 years ago[epub, mobi] added optional command line switch helpful with kindlegen conversion
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

10 years ago[epub, mobi] book-text id – alignment with a rest of html output files
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

10 years ago[epub, mobi] - tabs clean up plus media query amzn-kf8 helpful during kindlegen conve...
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

10 years ago[epub] output improvements - clean xhtml instead of html tag soup
Robert Błaut [Thu, 27 Mar 2014 22:03:14 +0000 (23:03 +0100)]
[epub] output improvements - clean xhtml instead of html tag soup

10 years ago[epub, mobi] - xsl output impovements required for better annotation visual renderin...
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

10 years ago[epub, mobi] encode in utf-8 instead of entities. Result: smaller files :)
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 :)

10 years ago[HTML] fixes #3029: <motto> contains blocks.
Radek Czajka [Thu, 6 Mar 2014 12:12:19 +0000 (13:12 +0100)]
[HTML] fixes #3029: <motto> contains blocks.

10 years agofix impovement for IT #3356 - workaround rare problem
Robert Błaut [Wed, 5 Mar 2014 13:38:44 +0000 (14:38 +0100)]
fix impovement for IT #3356 - workaround rare problem

10 years ago[epub, mobi] hyphenate all kinds of documents and annotation style improvement
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

10 years ago[epub, mobi] hyphenator - added language detection and more hyph dictionaries
Robert Błaut [Tue, 4 Mar 2014 08:26:19 +0000 (09:26 +0100)]
[epub, mobi] hyphenator - added language detection and more hyph dictionaries

10 years ago[epub, mobi] Add early hyphenate support for powiesc, opowiadania and wywiad. TODO...
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

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.

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

10 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

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

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

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

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

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

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

10 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)

10 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

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

10 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."

10 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

10 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.

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

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

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

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

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

10 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.

10 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.

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

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