librarian.git
11 years agoSeparate the general from the WL-specific: PDF universal
Radek Czajka [Fri, 18 Jan 2013 12:28:30 +0000 (13:28 +0100)]
Separate the general from the WL-specific: PDF

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

13 years agowrap class methods as functions when used as BookInfo validators
Radek Czajka [Fri, 30 Dec 2011 09:55:04 +0000 (10:55 +0100)]
wrap class methods as functions when used as BookInfo validators

13 years agoremove lang from URI and add relation.isVariantOf
Radek Czajka [Thu, 29 Dec 2011 14:02:42 +0000 (15:02 +0100)]
remove lang from URI and add relation.isVariantOf

13 years agofixed broken tests
Marcin Koziej [Thu, 22 Dec 2011 12:24:57 +0000 (13:24 +0100)]
fixed broken tests

13 years agosha1 field
Marcin Koziej [Thu, 22 Dec 2011 11:41:59 +0000 (12:41 +0100)]
sha1 field

13 years agoWLPicture parts iterator (partiter)
Marcin Koziej [Wed, 21 Dec 2011 12:01:41 +0000 (13:01 +0100)]
WLPicture parts iterator (partiter)

13 years agoremove unnecessary print statement images
Marcin Koziej [Wed, 21 Dec 2011 08:58:10 +0000 (09:58 +0100)]
remove unnecessary print statement

13 years agoalso dont add tuples to lists sleepy man.
Marcin Koziej [Wed, 21 Dec 2011 08:34:08 +0000 (09:34 +0100)]
also dont add tuples to lists sleepy man.

13 years agopython 2.5 does not support tuple.index()
Marcin Koziej [Wed, 21 Dec 2011 08:28:43 +0000 (09:28 +0100)]
python 2.5 does not support tuple.index()

13 years agomerged a conflict in dcparser fields
Marcin Koziej [Tue, 20 Dec 2011 10:16:31 +0000 (11:16 +0100)]
merged a conflict in dcparser fields

13 years agoMerge branch 'picture' into pretty
Marcin Koziej [Tue, 20 Dec 2011 09:35:55 +0000 (10:35 +0100)]
Merge branch 'picture' into pretty

Conflicts:
librarian/dcparser.py

13 years agoset language
Marcin Koziej [Tue, 20 Dec 2011 09:32:30 +0000 (10:32 +0100)]
set language

13 years agoallow multiple authors
Radek Czajka [Mon, 19 Dec 2011 14:57:51 +0000 (15:57 +0100)]
allow multiple authors

13 years agoDC fixups for Pictures
Marcin Koziej [Mon, 19 Dec 2011 09:42:34 +0000 (10:42 +0100)]
DC fixups for Pictures

13 years agoMerge branch 'picture' into pretty
Radek Czajka [Fri, 16 Dec 2011 16:12:33 +0000 (17:12 +0100)]
Merge branch 'picture' into pretty

Conflicts:
librarian/dcparser.py

13 years agoPicture support
Marcin Koziej [Wed, 14 Dec 2011 13:01:17 +0000 (14:01 +0100)]
Picture support

13 years agonew cover scheme; Cover accepts BookInfo now; e-books include cover attribution,...
Radek Czajka [Mon, 12 Dec 2011 10:25:15 +0000 (11:25 +0100)]
new cover scheme; Cover accepts BookInfo now; e-books include cover attribution, if needed

13 years agodoctest fix
Radek Czajka [Wed, 7 Dec 2011 16:15:19 +0000 (17:15 +0100)]
doctest fix

13 years agosome WLURI related fixes
Radek Czajka [Wed, 7 Dec 2011 15:38:01 +0000 (16:38 +0100)]
some WLURI related fixes

13 years agomove WL-specific stuff to WLURI
Radek Czajka [Wed, 7 Dec 2011 12:01:25 +0000 (13:01 +0100)]
move WL-specific stuff to WLURI

13 years agoimport with for py2.5
Radek Czajka [Tue, 6 Dec 2011 10:30:05 +0000 (11:30 +0100)]
import with for py2.5

13 years agoconverters interface changed: WLDocument in, OutputFile out
Radek Czajka [Mon, 5 Dec 2011 16:06:51 +0000 (17:06 +0100)]
converters interface changed: WLDocument in, OutputFile out
added WLDocument.to_* converter functions

13 years agoMerge branch 'pdf'
Marcin Koziej [Mon, 5 Dec 2011 13:22:22 +0000 (14:22 +0100)]
Merge branch 'pdf'

13 years agochange passing customizations to TeX source
Marcin Koziej [Mon, 5 Dec 2011 13:20:58 +0000 (14:20 +0100)]
change passing customizations to TeX source

13 years agodc:language support
Radek Czajka [Thu, 1 Dec 2011 12:12:20 +0000 (13:12 +0100)]
dc:language support

13 years agowl style for XeLaTeX is now a class. Accepts several parameters affecting output...
Marcin Koziej [Mon, 28 Nov 2011 14:35:09 +0000 (15:35 +0100)]
wl style for XeLaTeX is now a class. Accepts several parameters affecting output pdf.

13 years agoadd dc:audiences
Radek Czajka [Mon, 21 Nov 2011 09:41:04 +0000 (10:41 +0100)]
add dc:audiences

13 years agosome epub/mobi fixes
Radek Czajka [Wed, 2 Nov 2011 12:09:16 +0000 (13:09 +0100)]
some epub/mobi fixes

13 years agoepub/mobi fixes
Radek Czajka [Thu, 27 Oct 2011 10:32:56 +0000 (12:32 +0200)]
epub/mobi fixes

13 years agonicer mobi
Radek Czajka [Thu, 27 Oct 2011 10:00:17 +0000 (12:00 +0200)]
nicer mobi

13 years agobook2mobi (using calibre)
Radek Czajka [Wed, 26 Oct 2011 15:40:15 +0000 (17:40 +0200)]
book2mobi (using calibre)

13 years agoextract annotations: return anchor to annotation, not the word in text
Radek Czajka [Fri, 16 Sep 2011 07:58:20 +0000 (09:58 +0200)]
extract annotations: return anchor to annotation, not the word in text

13 years agofootnotes fix
Radek Czajka [Fri, 16 Sep 2011 07:26:36 +0000 (09:26 +0200)]
footnotes fix

13 years agofunction to extract annotations from html
Radek Czajka [Thu, 15 Sep 2011 14:56:10 +0000 (16:56 +0200)]
function to extract annotations from html

13 years ago1% propaganda in epubs
Radek Czajka [Thu, 1 Sep 2011 10:32:46 +0000 (12:32 +0200)]
1% propaganda in epubs

13 years agooutput escaping fix
Radek Czajka [Thu, 1 Sep 2011 09:51:25 +0000 (11:51 +0200)]
output escaping fix

13 years agodirty workaround for python unicode problems
Radek Czajka [Thu, 7 Jul 2011 12:02:35 +0000 (14:02 +0200)]
dirty workaround for python unicode problems

13 years agobugfix: authors in footer
Radek Czajka [Wed, 27 Apr 2011 08:22:55 +0000 (10:22 +0200)]
bugfix: authors in footer

13 years agoencode unicode for lxml
Radek Czajka [Tue, 8 Mar 2011 12:07:08 +0000 (13:07 +0100)]
encode unicode for lxml

13 years agovendor cover change
Radek Czajka [Mon, 7 Mar 2011 09:43:58 +0000 (10:43 +0100)]
vendor cover change

13 years agovendor packagers rewrite
Radek Czajka [Fri, 4 Mar 2011 08:50:19 +0000 (09:50 +0100)]
vendor packagers rewrite

13 years ago#950: visibly mark author's annotations,
Radek Czajka [Tue, 22 Feb 2011 10:43:04 +0000 (11:43 +0100)]
#950: visibly mark author's annotations,
add pdf cover option,
add prestigio-pdf packager
epub: minor fix

13 years agobugfix for <extra> with tail
Radek Czajka [Mon, 21 Feb 2011 12:08:51 +0000 (13:08 +0100)]
bugfix for <extra> with tail

13 years agoAdd raw text option to text conversion (lesmianator will need it).
Radek Czajka [Mon, 14 Feb 2011 07:50:40 +0000 (08:50 +0100)]
Add raw text option to text conversion (lesmianator will need it).

13 years agopython 2.5 compatibility fix
Radek Czajka [Thu, 3 Feb 2011 14:47:14 +0000 (15:47 +0100)]
python 2.5 compatibility fix

13 years agoBooktoteka packager and some cover refactoring
Radek Czajka [Wed, 2 Feb 2011 12:11:51 +0000 (13:11 +0100)]
Booktoteka packager and some cover refactoring

13 years agowhitespace, line breaks etc.
Radek Czajka [Thu, 27 Jan 2011 10:27:04 +0000 (11:27 +0100)]
whitespace, line breaks etc.

13 years ago#1038: workaround for ADE problem with small-caps
Radek Czajka [Tue, 25 Jan 2011 15:37:05 +0000 (16:37 +0100)]
#1038: workaround for ADE problem with small-caps

13 years agofix for fragments extraction
Radek Czajka [Tue, 25 Jan 2011 15:27:59 +0000 (16:27 +0100)]
fix for fragments extraction

13 years agofix for empty dc tags
Radek Czajka [Mon, 24 Jan 2011 15:40:06 +0000 (16:40 +0100)]
fix for empty dc tags

13 years agofix for empty editors
Radek Czajka [Mon, 24 Jan 2011 15:25:31 +0000 (16:25 +0100)]
fix for empty editors

13 years agofixes #1060: sorted and unique editors' names
Radek Czajka [Mon, 24 Jan 2011 11:27:35 +0000 (12:27 +0100)]
fixes #1060: sorted and unique editors' names
tests fix

13 years ago#961: full info in all formats;
Radek Czajka [Wed, 19 Jan 2011 15:47:33 +0000 (16:47 +0100)]
#961: full info in all formats;
epub: less-advertising flag
some fixes