Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-29-2015, 02:17 PM   #1
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
Automatically remove justification when auto adding book?

When I import an EPUB and it is right-justified I can set the "Look and Feel" to Justify "Left Align" and manually convert the EPUB to EPUB and it is sucessfully un-justified.

But how do I do this automatically when Adding a Book or "Automatic Adding" it from a folder?

I have checked the "Automatically convert" option, but it is already EPUB so it doesn't get converted with my Look and Feel options.
kaito is offline   Reply With Quote
Old 05-29-2015, 04:41 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kaito View Post
When I import an EPUB and it is right-justified I can set the "Look and Feel" to Justify "Left Align" and manually convert the EPUB to EPUB and it is sucessfully un-justified.

But how do I do this automatically when Adding a Book or "Automatic Adding" it from a folder?

I have checked the "Automatically convert" option, but it is already EPUB so it doesn't get converted with my Look and Feel options.
Preferences: (conversion) Common Options
is the defaults that will be used for NEW conversions . Set Justification:Left there

Preferences:Adding Books has a tick box to force conversion (I assume ) that it will do a 'to same format' convert
theducks is offline   Reply With Quote
Advert
Old 05-29-2015, 05:06 PM   #3
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
I don't see any option to force conversion. (2.29)

My EPUBs are not being converted to "EPUBs without justification" unless I manually do it.
kaito is offline   Reply With Quote
Old 05-29-2015, 07:14 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kaito View Post
I don't see any option to force conversion. (2.29)

My EPUBs are not being converted to "EPUBs without justification" unless I manually do it.
Look on the Auto Add tab

No conversion is done unless:
1) You Manually do it
2) Use The Auto Add option (AND use the auto Add folder)
3) Part of sending News to some devices
theducks is offline   Reply With Quote
Old 05-29-2015, 08:43 PM   #5
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
I already have the "Automatically Convert" checkboxes checked.

But since the input file is EPUB and the Preferences-Behaviour->Preferred output format is EPUB, it doesn't convert and therefore doesn't get rid of the justification.

I have to convert manually and end up with an ORIGINAL_EPUB and EPUB (without justification!) but it just doesn't happen automatically when I click "Add Books" or put the EPUB into the "Automatic Adding Folder".

I need it to be automatic.
kaito is offline   Reply With Quote
Advert
Old 05-29-2015, 09:51 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Automatic conversion does not convert rom same format to itself. If you need to do that, you have to do it manually.
kovidgoyal is offline   Reply With Quote
Old 05-30-2015, 11:08 AM   #7
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
So is there any other simple way to automate the reformatting of EPUBs when importing into Calibre so when they are served on the Content server to my E-readers they can be viewed with proper formatting?
kaito is offline   Reply With Quote
Old 05-30-2015, 12:03 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kaito View Post
So is there any other simple way to automate the reformatting of EPUBs when importing into Calibre so when they are served on the Content server to my E-readers they can be viewed with proper formatting?
To mAto, To mato

/* a Proper (paragraph) format is: */
p{
margin: 0.5em 0 0 0;
text-indent: 1.2em;
text-align: justify;
}

so there
(YMMV)
theducks is offline   Reply With Quote
Old 05-31-2015, 02:59 AM   #9
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
well you could start buying your books from amazon in mobi/azw, and have calibre auto convert to epub (and tweak the justification in the process) whenever you add them.
As amazon is often the cheapest source, you may save a little money also
Seems a daft requirement to me though. All printed books are justified nowadays
cybmole is offline   Reply With Quote
Old 05-31-2015, 08:51 AM   #10
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,179
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by kaito View Post
So is there any other simple way to automate the reformatting of EPUBs when importing into Calibre so when they are served on the Content server to my E-readers they can be viewed with proper formatting?
Quote:
Originally Posted by theducks View Post
To mAto, To mato

/* a Proper (paragraph) format is: */
p{
margin: 0.5em 0 0 0;
text-indent: 1.2em;
text-align: justify;
}

so there
(YMMV)
For me it is easier to track the lines with justification.
This is my preferred paragraph format:
Spoiler:
Code:
p{
margin: 0 0 0 0;
text-indent: 2em;
text-align: justify;
}


As Ducks say YMMV.

Luck
bernie
gbm is offline   Reply With Quote
Old 05-31-2015, 12:47 PM   #11
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
Well, what if I wanted to change the margins on my EPUBs when adding them to Calibre. Could that be done automatically?

If it isn't 'daft' to do it manually, why can't calibre offer the option to do it automatically?
kaito is offline   Reply With Quote
Old 05-31-2015, 01:45 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kaito View Post
Well, what if I wanted to change the margins on my EPUBs when adding them to Calibre. Could that be done automatically?

If it isn't 'daft' to do it manually, why can't calibre offer the option to do it automatically?
NO changes of any kind can be done Automatically to same formats.
IMHO Automatic anything is playing Russian Roulette.
Calibre will not convert to my 'standard' (above). Indents and top/bottom margins are mutually exclusive.

30 seconds with the editor on the CSS and it is (usually) fixed my way.
(Note: I frequently see other code things that offend my sensibilities and just have to clean those up. OCD is me )
theducks is offline   Reply With Quote
Old 05-31-2015, 02:11 PM   #13
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
" add books" does what the name implies- it adds a book to a library

"convert book" is a different operation.

there IS probably a way to add and also to auto convert epub to epub via some clever script & use of command lines, ( i.e. in effect you write a macro to automate the sequence of commends) but it is not available to you as a simple "tick this box" option, as others have explained.

many folks, me included - use the controls on their reader device / reader app to override publisher's choice of margins and justification- is that not a practical solution for you ?.

what epub e-reader devices are you serving your books to , & have you checked their over-ride settings ?

Last edited by cybmole; 05-31-2015 at 02:16 PM.
cybmole is offline   Reply With Quote
Old 05-31-2015, 06:32 PM   #14
kaito
Connoisseur
kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.kaito understands the mechanisms of the catecholamine pathways.
 
Posts: 52
Karma: 76234
Join Date: May 2013
Device: k3w, gloHD
The Kobo Glo has the options to change margins and justification, but they don't work for all epubs (even with the libnickel patches) so I'd prefer to have it done automatically in calibre.

I don't think having the feature would hurt anyone (it doesn't have to be enabled by default), so I added it to the calibre feature request (bug) tracker.
kaito is offline   Reply With Quote
Old 06-01-2015, 04:02 AM   #15
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
How the Kobo ereaders handles the text alignment depends on where it is and whether you are reading epubs or kepubs. The kepub reader will override all text alignment. This means that if you force ragged-right, things that had center or right will be forced to the left.

The epub reader handles it differently. It will override the text alignment set in the body tag or class, but not in the paragraph, heading and other tags. This means that unless the "normal" paragraph has the text alignment set in the tag or class, the book will probably retain the correct text alignment for the parts where the alignment is important in the formatting.

The above is the reason I wouldn't trust this to automation. I usually remove any text alignment set to justify, and leave the rest alone. But, only after examining the changes carefully.

And as you mention the margins, these are handled differently. The margin settings don't change or depend on the settings inside the books. Effectively, they are changing the page width, so whatever is set on the device is added to whatever is in the book.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove text justification? VirgoGirl Calibre 13 03-15-2014 12:18 AM
Automatically remove tags when adding books garytshepherd Library Management 12 03-13-2012 11:16 AM
Automatically adding additional formats for a book? HarryT Calibre 4 08-26-2009 11:57 AM
Does the kindle do auto-justification? SirBC Amazon Kindle 40 05-23-2008 08:43 AM


All times are GMT -4. The time now is 05:43 PM.


MobileRead.com is a privately owned, operated and funded community.