librarian.git
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

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

12 years agoFB2: add the 'created by wolnelektury.pl' note.
Michał Górny [Sat, 12 May 2012 21:11:05 +0000 (23:11 +0200)]
FB2: add the 'created by wolnelektury.pl' note.

12 years agoFB2: output a basic book description.
Michał Górny [Sat, 12 May 2012 21:03:44 +0000 (23:03 +0200)]
FB2: output a basic book description.

12 years agoFB2: use mode=para for poems -- simplify.
Michał Górny [Sun, 6 May 2012 09:51:19 +0000 (11:51 +0200)]
FB2: use mode=para for poems -- simplify.

12 years agoFB2: a few more elements.
Michał Górny [Sun, 6 May 2012 09:36:21 +0000 (11:36 +0200)]
FB2: a few more elements.

12 years agoFB2: Create a <section/> over global scope text.
Michał Górny [Wed, 25 Apr 2012 11:31:37 +0000 (13:31 +0200)]
FB2: Create a <section/> over global scope text.

12 years agoDrop unnecessary executable bits from files.
Michał Górny [Thu, 26 Apr 2012 10:16:05 +0000 (12:16 +0200)]
Drop unnecessary executable bits from files.

12 years agoInitial FictionBook 2 output support.
Michał Górny [Tue, 24 Apr 2012 18:29:12 +0000 (20:29 +0200)]
Initial FictionBook 2 output support.

This is a work-in-progress and still needs a lot of polishing.

12 years agoepub: fix --working-copy description
Michał Górny [Tue, 24 Apr 2012 14:11:30 +0000 (16:11 +0200)]
epub: fix --working-copy description

12 years agodefault cover in new size
Radek Czajka [Wed, 18 Apr 2012 10:49:19 +0000 (12:49 +0200)]
default cover in new size

12 years agofix cover size
Radek Czajka [Wed, 18 Apr 2012 10:34:22 +0000 (12:34 +0200)]
fix cover size

12 years agohtml: no editor note in toc
Radek Czajka [Tue, 3 Apr 2012 10:06:36 +0000 (12:06 +0200)]
html: no editor note in toc

12 years ago#1868: check uri pattern in strict mode
Radek Czajka [Tue, 3 Apr 2012 09:23:02 +0000 (11:23 +0200)]
#1868: check uri pattern in strict mode

12 years ago#2044: handle weird whitespace for covers
Radek Czajka [Tue, 3 Apr 2012 08:26:01 +0000 (10:26 +0200)]
#2044: handle weird whitespace for covers

12 years agoworking copy epub flag
Radek Czajka [Wed, 28 Mar 2012 13:44:30 +0000 (15:44 +0200)]
working copy epub flag

12 years agoadd empty defaultleading pdf customization
Radek Czajka [Thu, 22 Mar 2012 10:13:14 +0000 (11:13 +0100)]
add empty defaultleading pdf customization

12 years agocover colors
Marcin Koziej [Thu, 15 Mar 2012 12:29:18 +0000 (13:29 +0100)]
cover colors
+ trailing whitespace removed

12 years agoHTML: remove anchors from TOC
Radek Czajka [Tue, 28 Feb 2012 14:26:23 +0000 (15:26 +0100)]
HTML: remove anchors from TOC

12 years agocover change
Radek Czajka [Wed, 1 Feb 2012 12:03:12 +0000 (13:03 +0100)]
cover change

12 years agolightier cover
Radek Czajka [Tue, 31 Jan 2012 11:38:50 +0000 (12:38 +0100)]
lightier cover

12 years agoFix section counting.
Marcin Koziej [Mon, 30 Jan 2012 12:20:20 +0000 (13:20 +0100)]
Fix section counting.

12 years agoMerge branch 'master' of github.com:fnp/librarian into pretty
Marcin Koziej [Mon, 30 Jan 2012 09:07:04 +0000 (10:07 +0100)]
Merge branch 'master' of github.com:fnp/librarian into pretty

12 years agonew cover
Radek Czajka [Mon, 30 Jan 2012 08:55:14 +0000 (09:55 +0100)]
new cover

12 years agofix
Radek Czajka [Fri, 27 Jan 2012 18:40:56 +0000 (19:40 +0100)]
fix

12 years agodefault cover
Radek Czajka [Fri, 27 Jan 2012 18:39:05 +0000 (19:39 +0100)]
default cover

12 years agoadd section anchores
Marcin Koziej [Fri, 27 Jan 2012 15:58:36 +0000 (16:58 +0100)]
add section anchores

12 years agoremove anchors from fragments
Radek Czajka [Wed, 25 Jan 2012 11:08:28 +0000 (12:08 +0100)]
remove anchors from fragments

12 years agopackager change
Radek Czajka [Wed, 25 Jan 2012 10:50:25 +0000 (11:50 +0100)]
packager change

12 years agofix for empty salias
Radek Czajka [Thu, 19 Jan 2012 15:40:51 +0000 (16:40 +0100)]
fix for empty salias

12 years agokind, genre, epoch not required
Radek Czajka [Thu, 19 Jan 2012 14:56:10 +0000 (15:56 +0100)]
kind, genre, epoch not required

12 years ago#1913: tags in section titles break table of contents
Radek Czajka [Wed, 4 Jan 2012 12:34:57 +0000 (13:34 +0100)]
#1913: tags in section titles break table of contents