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 10-19-2026, 03:30 AM   #1
VictorStone
Junior Member
VictorStone began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2026
Device: none
problem with en dash (Dialogue) when converting from docx to epub2

I have noticed a problem when converting docx (woord) into epub2.
The issue is regsrding the dialogue. At first glance there is not a problem, BUT when you make the window smaller manually the text line dialogue does not follow the same rules as the other text. The line starts where em dash begins, wich is wrong, it should go to the absolute left where the toher tetx is. This means that readers can be confused to think that the dilaouge is a new sentence, a new line.
I´m inserting images to clerafy.
Please help anyone.
Attached Thumbnails
Click image for larger version

Name:	e-book-em-dash-problem-1ny.jpg
Views:	37
Size:	365.9 KB
ID:	226782   Click image for larger version

Name:	e-book-em-dash-problem-2ny.jpg
Views:	36
Size:	226.6 KB
ID:	226783  
VictorStone is offline   Reply With Quote
Old 10-19-2026, 03:56 AM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 55,353
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I would suspect this is an issue in the style used in the docx and not in the calibre conversion. Instead of setting a text indent for the paragraph starting with en dash, the indent is created by setting a left margin which would apply to all lines in the paragraph if it extends over multiple lines.
DNSB is offline   Reply With Quote
Old 10-19-2026, 04:20 AM   #3
VictorStone
Junior Member
VictorStone began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2026
Device: none
Hi,
Ok, i see. Can you explain how i fix this in word? Beacuse some text does not apply to this error as you can see on the pictures, its only dialogue thet does not reach over to the new line?

Much appricated.
VictorStone is offline   Reply With Quote
Old 10-19-2026, 04:50 AM   #4
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 550
Karma: 2268308
Join Date: Nov 2015
Device: none
It depends. Try to turn off the Autoformat / Lists option first.
Sarmat89 is offline   Reply With Quote
Old 10-19-2026, 06:20 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,421
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by VictorStone View Post
Hi,
Ok, i see. Can you explain how i fix this in word? Beacuse some text does not apply to this error as you can see on the pictures, its only dialogue thet does not reach over to the new line?

Much appricated.
Use a class that has no indent.

CSS
Code:
.noindent {
  text-indent: 0;
}

Last edited by JSWolf; 10-19-2026 at 06:28 AM.
JSWolf is offline   Reply With Quote
Old 10-19-2026, 03:38 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 55,353
Karma: 182532776
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Use a class that has no indent.

CSS
Code:
.noindent {
  text-indent: 0;
}
I suspect the OP would want a solution he could apply in Word. So he needs a non-indenting style in Word. I suspect Google/Bing/DuckDuckGo/ or whatever they prefer would be the best source of help.
DNSB is offline   Reply With Quote
Old 10-19-2026, 03:55 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,421
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Read this for Word.

https://superuser.com/questions/7891...irst-paragraph
JSWolf is offline   Reply With Quote
Old 10-19-2026, 05:45 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,886
Karma: 34252744
Join Date: Mar 2012
Location: Sydney Australia
Device: none
This is a language specific typographical style issue (a-la CMOS, APA, MLA etc) - the establishment mandated rules are in (page 68) ==>> les règles de typographie à l'usage de l'imprimerie nationale
les-unpertinents


My schoolboy French reading of that suggest that what the OP is seeing is correct.

BR

Last edited by BetterRed; 10-19-2026 at 05:49 PM.
BetterRed is offline   Reply With Quote
Old 10-19-2026, 06:51 PM   #9
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 550
Karma: 2268308
Join Date: Nov 2015
Device: none
It doesn't say that you set the dialogs as bulleted lists in French.
Sarmat89 is offline   Reply With Quote
Old 10-21-2026, 03:36 AM   #10
VictorStone
Junior Member
VictorStone began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2026
Device: none
Hello,
Thank you all for the help. It was a style setting issue as JSWolf said.
But the question is why isn´t all ov the text affected, only the en dash with dialouge? Its the same settings.
I master indesign and photoshop pretty well but f... me word is tricky, in my opinion.

Regards
Attached Thumbnails
Click image for larger version

Name:	Namnlöst-1.jpg
Views:	21
Size:	226.2 KB
ID:	226808   Click image for larger version

Name:	Namnlöst-1gfgfg.jpg
Views:	18
Size:	204.8 KB
ID:	226809  
VictorStone is offline   Reply With Quote
Old 10-23-2026, 06:47 PM   #11
Jaws
JCL Punch-Card Collector
Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.Jaws ought to be getting tired of karma fortunes by now.
 
Posts: 127
Karma: 606562
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
One other thing to check when converting Word documents: Make sure that all of the code pages and character sets match. If the document was created on a computer set to Western European, it may create some Interesting Results when later processed on a computer set up for Canadian French; I've not tried that one, but I've seen lots of formatting hiccups going back and forth between US and UK English.

But don't feel too bad. It's not Francophobia. It's non-American-Business-English-phobia in Redmond. Just try getting a paper with numbered equations/chemical reactions to format correctly in Word — let alone transcoded to a non-Word-native format. Or proper paragraph/outline numbering for legal and government documents, even in the US. Worse, the implementation of XML that's in the .docx format is just far enough off XML/SGML specifications that things get Very Interesting Indeed with documents that include both right-to-left and left-to-right textual content that is styled rather than in separate sections.

Word throws up lots of barriers to documents created outside the mindset of a pretty new marketing employee with a bachelor's degree in business administration (or less!) — especially when there's a mandatory formatting issue that's outside the marketing department's interest.

So even before reading the rest of this thread, I would have pointed at Word style-definition issues as the most-likely source of the problem.

Quote:
Originally Posted by VictorStone View Post
Hello,
Thank you all for the help. It was a style setting issue as JSWolf said.
But the question is why isn´t all ov the text affected, only the en dash with dialouge? Its the same settings.
I master indesign and photoshop pretty well but f... me word is tricky, in my opinion.

Regards
Jaws is offline   Reply With Quote
Old 10-23-2026, 07:57 PM   #12
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 550
Karma: 2268308
Join Date: Nov 2015
Device: none
Quote:
Originally Posted by Jaws View Post
Worse, the implementation of XML that's in the .docx format is just far enough off XML/SGML specifications that things get Very Interesting
You are delusional, my friend.
Sarmat89 is offline   Reply With Quote
Old Yesterday, 08:59 AM   #13
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,385
Karma: 1589505
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by VictorStone View Post
Hello,
Thank you all for the help. It was a style setting issue as JSWolf said.
But the question is why isn´t all ov the text affected, only the en dash with dialouge? Its the same settings.
I master indesign and photoshop pretty well but f... me word is tricky, in my opinion.

Regards
Your en dashes were probably converted to list items. This tends to happen with OCRed documents. A long time ago I wrote a Word macro to fix this. You can try to see if it helps you. Here it is:
Code:
Sub ReplaceBullets()
Dim oPara As Paragraph
Dim r As Range
Dim sParaStyle As String
For Each oPara In ActiveDocument.Paragraphs()
Set r = oPara.Range
If r.ListFormat.ListType = wdListBullet Then
sParaStyle = oPara.FirstLineIndent
r.ListFormat.RemoveNumbers NumberType:=wdNumberParagraph
r.InsertBefore Chr(151) & " "
oPara.FirstLineIndent = sParaStyle
End If
If r.ListFormat.ListType = wdListOutlineNumbering Then
sParaStyle = oPara.FirstLineIndent
r.ListFormat.RemoveNumbers NumberType:=wdNumberParagraph
r.InsertBefore Chr(151) & " "
oPara.FirstLineIndent = sParaStyle
End If
Set r = Nothing
Next
End Sub
thiago.eec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem converting DOCX to EPUB WJSwanepoel Conversion 6 01-10-2025 12:59 PM
Converting LO-Writer to Epub2 in Calibre Quoth Conversion 15 02-28-2024 06:14 AM
Colour problem when converting Docx to epub jmwallet Conversion 1 09-19-2022 12:12 PM
[DOCX ->EPUB] em-dash converts to triple minus BetterRed Conversion 2 08-12-2018 07:37 AM
Problem with em dash, en dash and apostrophes jerrywat Conversion 4 10-25-2012 09:43 AM


All times are GMT -4. The time now is 02:42 PM.


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