Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2013, 02:31 PM   #1
majidkadi
Junior Member
majidkadi began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2013
Device: AT&T Pantec Element tablet
Formatting arabic text

Hello!

I'm new with Sigil and I have lot of trouble formatting Arabic text, for example RTL direction not perfect, the dot at the end of the paragraph doesn't work (it is at the beginning of the last line instead).

Can' some one help me?

Thank you so much.

Majid
majidkadi is offline   Reply With Quote
Old 06-23-2013, 04:11 PM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
You most likely forgot to apply the proper RTL attributes. Have a look at the sample epub file attached to this older post by me. (I used Sigil to create the ePub file.)
Doitsu is offline   Reply With Quote
Advert
Old 06-23-2013, 08:55 PM   #3
majidkadi
Junior Member
majidkadi began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2013
Device: AT&T Pantec Element tablet
Thanks ones more, but I did do that but I think I didn't write the code properly.
I've used a Stylesheet like that (and I've attached it) :
p {
font-family:"trado";
text-align: right;
font-size: 1.2em;
dir: rtl;
margin-bottom: 0.5em;
}
And the code in html file :
<body>
<p>أذكر فيه أسانيد الكتاب وغيرها وقد تكرر ذكرها في الكتاب لئلا يطول. </p>
</body>

The Book view shows the dot on the right side.
I'm I missing something?
majidkadi is offline   Reply With Quote
Old 06-24-2013, 01:40 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by majidkadi View Post
The Book view shows the dot on the right side.
I'm I missing something?
You can't use dir in styles, use direction: rtl; (or <body dir="rtl">) instead.
Doitsu is offline   Reply With Quote
Old 06-24-2013, 12:01 PM   #5
majidkadi
Junior Member
majidkadi began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2013
Device: AT&T Pantec Element tablet
Quote:
Originally Posted by Doitsu View Post
You can't use dir in styles, use direction: rtl; (or <body dir="rtl">) instead.
Thank you so much
majidkadi is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arabic/Persian text on Kindle 3 wlaf Kindle Developer's Corner 26 04-18-2017 02:53 PM
Calibre is not viewing Arabic text ahmed_rdi Calibre 3 10-19-2011 04:42 AM
Text formatting jerrywojo Ectaco jetBook 4 01-19-2010 03:37 PM
Sony PRS 700 - problems with arabic text firdavs_abc Sony Reader 1 09-26-2009 07:37 AM
Text tool for formatting Gutenberg text files bob_ninja Workshop 5 11-13-2007 12:28 PM


All times are GMT -4. The time now is 11:35 PM.


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