Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-24-2015, 10:45 PM   #1
indieauthor83
Enthusiast
indieauthor83 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Location: UK
Device: kindle fire hd
how to set hyphens in calibre? (e.g 'auto')

Hi guys,

I can't seem to find how to add the hyphens attribute in Calibre.
Usually it's 'hyphens: auto' I believe, but when I try to edit my epub file in
Calibre, it doesn't recognise the instruction. I'm at a loss!

Does anyone know if Calibre supports 'hyphens' and if so what the code is that
I need to use? (Basically, my book is justified, I'm very happy with it, but every so often there are large gaping spaces, that I could be remedied if hyphens were employed!

Hope someone can help me!!!

Would be much appreciated!

Thanks

Zoe
indieauthor83 is offline   Reply With Quote
Old 02-24-2015, 10:50 PM   #2
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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you mean int he calibre viewer, you have to turn on hyphenation in the viewer settings (it is off by default as it reduces performance).
kovidgoyal is offline   Reply With Quote
Old 02-24-2015, 11:11 PM   #3
indieauthor83
Enthusiast
indieauthor83 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Feb 2015
Location: UK
Device: kindle fire hd
Hi Kovidgoyal,

Thanks for your reply.

No, I mean I have written an ebook, and I am trying to set the css code in Calibre so it will allow for hyphens to be used on ebook readers.

(usually you can add the code 'hyphens: auto' in css. But in the calibre, it doesn't recognise the css instruction.

Do you know how to fix this?

Thanks

Zoe
indieauthor83 is offline   Reply With Quote
Old 02-24-2015, 11:20 PM   #4
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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The conversion will pass hyphens:auto through to the output format. If you are converting to EPUB or AZW3, then it will be present in the output. SO I am not sure what you are asking.
kovidgoyal is offline   Reply With Quote
Old 02-25-2015, 02:38 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
When you say it isn't working, do you mean on a real test device or the calibre viewer? As Kovid said, hyphenation is overridden in the viewer, so it doesn't matter what CSS is present.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre remove soft hyphens? zuli Calibre 3 11-08-2017 09:20 PM
section menu/ main menu link auto added even if output-profile was set to kindle flyingfoxlee Recipes 1 05-20-2013 11:42 PM
Calibre reader - invisible hyphens with fully justified text GrannyGrump Calibre 6 09-12-2011 03:56 AM
Can books be set to auto-move to device like news? geniodiabolico Calibre 2 01-18-2010 12:07 AM
Calibre deletes soft Hyphens in Epub ? NASCARaddicted Calibre 4 09-20-2009 06:31 PM


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


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