Highlighted

epub reflowable paragraph last line has punctuation revesred

Explorer ,
Jun 11, 2020

Copy link to clipboard

Copied

I created a reflowable epub - epub 3 - from ID2020- windows 10

all seems to  work except that the las t line of each paragh has teh  closing punctuation followed by the text - so in other words - teh  punctuation comes before teh text on teh last line of a paragraph. most of my paragraphs are a simple body text style - justified - last line flush left.Capture.JPG

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Could be a character formatting issue with property character direction.

 

Select the dot at the end of a paragraph.

Do you see an override of the applied paragraph style?

Should be visible as + at the name of the paragraph style in the Paragraph Styles Panel.

 

If not, how is the paragraph style defined?

Can you show the overview of the style?

 

Regards,
Uwe Laubender

( ACP )

TOPICS
EPUB

Views

132

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

epub reflowable paragraph last line has punctuation revesred

Explorer ,
Jun 11, 2020

Copy link to clipboard

Copied

I created a reflowable epub - epub 3 - from ID2020- windows 10

all seems to  work except that the las t line of each paragh has teh  closing punctuation followed by the text - so in other words - teh  punctuation comes before teh text on teh last line of a paragraph. most of my paragraphs are a simple body text style - justified - last line flush left.Capture.JPG

Adobe Community Professional
Correct answer by Laubender | Adobe Community Professional

Could be a character formatting issue with property character direction.

 

Select the dot at the end of a paragraph.

Do you see an override of the applied paragraph style?

Should be visible as + at the name of the paragraph style in the Paragraph Styles Panel.

 

If not, how is the paragraph style defined?

Can you show the overview of the style?

 

Regards,
Uwe Laubender

( ACP )

TOPICS
EPUB

Views

133

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 11, 2020 0
Explorer ,
Jun 11, 2020

Copy link to clipboard

Copied

I have discovered teh culprit - in teh  css the following is added

<div id="_idContainer095" class="_idGenObjectStyleOverride-1" dir="ltr">
<p class="chapter-title ParaOverride-1" dir="ltr">

when I change dir="ltr" to dir="rtl" it  fixes the problem

But where is this coming from? - I have checked that  it is using adobe paragraph composer [not world-ready - which reverses.]

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2020 0
Adobe Community Professional ,
Jun 12, 2020

Copy link to clipboard

Copied

Could be a character formatting issue with property character direction.

 

Select the dot at the end of a paragraph.

Do you see an override of the applied paragraph style?

Should be visible as + at the name of the paragraph style in the Paragraph Styles Panel.

 

If not, how is the paragraph style defined?

Can you show the overview of the style?

 

Regards,
Uwe Laubender

( ACP )

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 12, 2020 0
Explorer ,
Jun 19, 2020

Copy link to clipboard

Copied

Thak you for pointing me on the path to findign the problem. The culprit is Dan Rodney's widofix javascript which  fixes  "widows" - actually runts at the  paragraph's end. [see capture2.jpg] I used this  for the print edition and ran his widowfixremover script afterwards prior to  preparign the epub. I thougth that the script was totally removed but evidently  it has residual remains . 

I know now  never to use that script again in any publication intended for  epub/kindle.

to recap the problem:

  1. Text appears and prints normally after running widow fix [see capture4,jpg]
  2. Even after running the removewidowfix script, the  text direction is still rtl rather than ltr [see capture.jpg] 
  3. this attribute does not show up in the export tagging dialogue [see capture 3,jpg]
  4. When I export to epub, a css is applied that reverses the text direction [see capture6.jpg and capture5,jpg]

I’m thinking that the remove does not totally undo the damage done  for text direction.

last line  has reversed punctuation due to  css stylelast line has reversed punctuation due to css style

 

css has rtl text rather than ltrcss has rtl text rather than ltr

 

text appears normaltext appears normal

 

teh widowfix scriptteh widowfix script

 

text direction is rtl  rather than ltrtext direction is rtl rather than ltr

 

the  text direction css does not show here in export taggingthe text direction css does not show here in export tagging

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 19, 2020 0