Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-07-2012, 01:27 PM   #1
Peter W
Junior Member
Peter W began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2012
Location: UK
Device: Sony PRS-T1
Convert Roman numerals to Arabic?

Just wondered if there was a way to automatically convert Roman numerals (commonly found in chapter titles) to Arabic (1,2,3,4,5...) ones?

I know the Roman numerals are traditional and everything, but I find them a chore to convert in my head whenever I am using a book.

I know there are various options for one-off translations, but I am hoping there is a way to substitute every such instance in an EPUB by running one process.

Thanks,
Peter W is offline   Reply With Quote
Old 04-07-2012, 01:52 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,540
Karma: 44002482
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Not with Sigil and/or regex... that I know of. I suspect this would be a "roll your own" type situation, most likely.

Last edited by DiapDealer; 04-07-2012 at 01:54 PM.
DiapDealer is online now   Reply With Quote
 
Advertisement
Old 04-09-2012, 12:55 PM   #3
st_albert
Fanatic
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 552
Karma: 94420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by DiapDealer View Post
Not with Sigil and/or regex... that I know of. I suspect this would be a "roll your own" type situation, most likely.
Indeed. Perl, for example, has a module to do this easily.

http://answers.oreilly.com/topic/414...erals-in-perl/
st_albert is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-Roman Unicode Characters teh603 Writers' Corner 7 03-26-2012 12:06 PM
can calibre creat a TOC by reading numerals as chapter marks p3aul Calibre 7 10-04-2010 05:18 AM
Times new roman cyrillic ConorHughes ePub 4 09-27-2010 09:48 AM
regex search for roman numerals Blurr Calibre 2 12-16-2009 06:55 PM
Non-roman fonts ebookworm Sony Reader 6 10-06-2007 01:12 AM


All times are GMT -4. The time now is 11:08 AM.


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