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 09-01-2014, 04:41 PM   #1
onlyra
Member
onlyra began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
Question Non-Breaking hyphens missing after conversion

Hy, is there a way to preserve the Non-Breaking hyphens when converting from docx to epub or mobi?
From what a have seen if I convert a docx, that contains Non-Breaking hyphens (the hyphen from "e-book" word), they are lost after conversion ( I get "ebook" word).
In my language we use a lot of these hyphens with words that should not be broken on two lines (as it happens when I just use hyphen-minus on the keyboard instead Non-Breaking hyphen).
I am using Calibre 2.0 Portable with a fresh install.

The conversion log is:
Converteşte cartea 1 din 1 (Hyphen example)
Resolved conversion options
calibre version: 2.0.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_no_cover': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x03794DD0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x037A8130>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\calibre_ dymeyn\\t_kkkh.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: DOCX Input running
on C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\calibre_dymeyn\ bhwci4.docx
Converting Word markup to HTML
Converting styles to CSS
Cleaning up redundant markup generated by Word
Parsing all content...
Parsing docx.css ...
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Flattening CSS and remapping font sizes...
Source base font size is 10.00000pt
Removing fake margins...
Found 1 items of level: p_1
Ignoring level p_1
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in index.html...
No large trees found
Generating default cover
This EPUB file has no Table of Contents. Creating a default TOC
EPUB output written to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\calibre_dymeyn\ 908u78.epub
Attached Files
File Type: epub Hyphen example - Me.epub (126.4 KB, 122 views)
File Type: zip Hyphen example - Me.docx.zip (10.4 KB, 161 views)

Last edited by onlyra; 09-01-2014 at 04:45 PM.
onlyra is offline   Reply With Quote
Old 09-02-2014, 12:56 AM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
While there is indeed a bug where non breaking hyphens are being ignored, which will be fixed, note that converting to epub will convert the non-breaking hyphens into ordinary hyphens since Adobe Digital Editions cannot display non breaking hyphens on many existing epub reading devices.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-02-2014, 02:32 AM   #3
onlyra
Member
onlyra began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
Thank you for your quick answer.
Quote:
Originally Posted by kovidgoyal View Post
note that converting to epub will convert the non-breaking hyphens into ordinary hyphens since Adobe Digital Editions cannot display non breaking hyphens on many existing epub reading devices.
The same thing happens with mobi or azw3 formats ?

Last edited by onlyra; 09-02-2014 at 02:55 AM.
onlyra is offline   Reply With Quote
Old 09-02-2014, 03:08 AM   #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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
azw3 should be fine.
kovidgoyal is online now   Reply With Quote
Old 09-05-2014, 05:41 PM   #5
onlyra
Member
onlyra began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
Quote:
Calibre Release: 2.2 [05 Sep, 2014]
Bug Fixes
...
DOCX Input: Fix non-breaking hyphens being ignored
Thanks , but I was happy only for a few moments. I have WinXP so no update.
I have been using Calibre v2.0 for a week without problems . Are you sure that only a WinXP warning in isn't enough?

sorry, my mistake, I have been using Calibre v2.0

Last edited by onlyra; 09-05-2014 at 06:11 PM.
onlyra is offline   Reply With Quote
Advert
Old 09-05-2014, 05:48 PM   #6
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,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Yes, it needs to be fully blocked.

Quote:
Originally Posted by eschwartz View Post
See the ongoing discussion here: https://www.mobileread.com/forums/sho...d.php?t=245069

[...]

If you want to run unstable software, you are more than welcomed to run from source, which makes disabling the XP block trivial.

See:
https://www.mobileread.com/forums/sho...1&postcount=56
https://www.mobileread.com/forums/sho...5&postcount=61

I assume anyone who would know enough to want to try this, would be capable of figuring it out.

No one is interested in making a one-click installer for calibre2.x on WinXP.
Quote:
Originally Posted by kovidgoyal View Post
Approx 6% of visitors to the calibre-ebook.com use XP and 4% use versions of OS X older than 10.7 (which is the minimum that calibre 2.0 requires).

Let me re-iterate. calibre 1.48 works just fine on all these older systems and is a perfectly mature and functional piece of software. Use it as long as you feel the need to not upgrade. After all if you are not upgrading your OS you should not mind not upgrading your applications either.

Personally, I would be delighted to continue supporting older systems, and indeed, nothing in calibre's own code prevents it from working on these systems. But the decision is not in my hands, support for them was dropped because of Qt 5.

As for those of you complaining about the fact that calibre 2 runs OK on your XP systems. That is great for you, but I cannot, in good conscience, release software that I know to crash randomly on large numbers of XP systems. Such crashes can in the worst case lead to loss of your data. And if the release exists, it will be used regardless of how many warnings I put up.

If you are willing to accept that risk, and run on XP anyway, you can run from source, that is the extent of the support I am willing to provide for running on XP. Otherwise, just be happy with the nice, free, fully functional calibre 1.48 that will always remain available to you.
eschwartz is offline   Reply With Quote
Old 09-05-2014, 06:18 PM   #7
goldilocks
Addict
goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.
 
Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
On the Calibre download page it says:

"The calibre portable build can be run on any windows computer running at least Windows XP SP3. It is self contained, your calibre libraries and settings are all kept together in one place."

So do you have Windows XP SP3?
goldilocks is offline   Reply With Quote
Old 09-05-2014, 06:21 PM   #8
onlyra
Member
onlyra began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
yes WinXP SP3
Quote:
Yes, it needs to be fully blocked.
...
Ok, I understand your point.

Last edited by onlyra; 09-05-2014 at 06:25 PM.
onlyra is offline   Reply With Quote
Old 09-05-2014, 06:23 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by goldilocks View Post
On the Calibre download page it says:

"The calibre portable build can be run on any windows computer running at least Windows XP SP3. It is self contained, your calibre libraries and settings are all kept together in one place."

So do you have Windows XP SP3?
Unfortunately, the page needs to be updated to clarify that portable 2.1 and above will only run on Windows 7 and above.
PeterT is offline   Reply With Quote
Old 09-05-2014, 06:36 PM   #10
goldilocks
Addict
goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.goldilocks ought to be getting tired of karma fortunes by now.
 
Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
Quote:
Originally Posted by PeterT View Post
Unfortunately, the page needs to be updated to clarify that portable 2.1 and above will only run on Windows 7 and above.
Sorry, I thought that was new wording!
goldilocks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover in mobi conversion is missing psman1975 Conversion 5 09-25-2012 03:33 PM
MISSING HEADINGS AFTER CONVERSION zenny Conversion 1 07-15-2012 07:56 PM
Missing text after conversion b00ky Calibre 3 02-29-2012 09:18 AM
Image missing after conversion Mamaijee Conversion 0 05-26-2011 12:06 PM
Bad character breaking conversion? wygit Calibre 1 10-23-2009 07:32 AM


All times are GMT -4. The time now is 04:35 AM.


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