![]() |
#1 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
|
![]()
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 Last edited by onlyra; 09-01-2014 at 04:45 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
|
Thank you for your quick answer.
The same thing happens with mobi or azw3 formats ? Last edited by onlyra; 09-02-2014 at 02:55 AM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
azw3 should be fine.
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
|
Quote:
![]() ![]() I have been using Calibre v2.0 for a week without problems ![]() sorry, my mistake, I have been using Calibre v2.0 ![]() Last edited by onlyra; 09-05-2014 at 06:11 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Quote:
|
||
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Jul 2013
Device: KT, KPW3
|
![]() Quote:
![]() Last edited by onlyra; 09-05-2014 at 06:25 PM. |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,505
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Unfortunately, the page needs to be updated to clarify that portable 2.1 and above will only run on Windows 7 and above.
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 344
Karma: 1222222
Join Date: Aug 2009
Location: Florida
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |