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, 12: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, 12: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: 8,670
Karma: 38766103
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 12:54 PM.
DiapDealer is online now   Reply With Quote
 
Enthusiast
Old 04-09-2012, 11:55 AM   #3
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 542
Karma: 64420
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 11:06 AM
can calibre creat a TOC by reading numerals as chapter marks p3aul Calibre 7 10-04-2010 04:18 AM
Times new roman cyrillic ConorHughes ePub 4 09-27-2010 08:48 AM
regex search for roman numerals Blurr Calibre 2 12-16-2009 05:55 PM
Non-roman fonts ebookworm Sony Reader 6 10-06-2007 12:12 AM


All times are GMT -4. The time now is 05:03 PM.


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