Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 06-30-2016, 05:21 AM   #1
navyo
Junior Member
navyo began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
Using Roman Numerals in Chapter Titles

Hi there, this is my first post, so excuse any newbie mistakes.

I have created in ePub using iBooks Author.

Four of the chapter titles are: Day I, Day II, Day III, Day IV. Except the CSS uses Title Case and the roman numerals come out I, Ii, Iii, Iv.

How can I use the Calibre Editor to change these particular titles so the roman numerals are all upper case? The other titles in the book need to remain Title Case.

And if these Chapter Titles are changed in this way, will that affect the TOC?

Thanks in advance.
navyo is offline   Reply With Quote
Old 06-30-2016, 05:29 AM   #2
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
So you only have these four chapter titles to change? Why don't you just open your book in the editor and change the four characters that need to be changed? Manually, using the keyboard. Delete the lowercase letters and replace them with uppercase letters. No special magic needed.
doubleshuffle is offline   Reply With Quote
Advert
Old 06-30-2016, 05:57 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Wrap the numbers in a span that has an explit style set to turn off the title casing, like this

Chapter <span style="text-transform: none">II</span>
kovidgoyal is offline   Reply With Quote
Old 06-30-2016, 06:10 AM   #4
navyo
Junior Member
navyo began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
Thanks doubleshuffle. I just tried that expecting the result, but it reverted back to title case when I viewed in Calibre viewer, iBooks and in Kindle in Mobi format.
navyo is offline   Reply With Quote
Old 06-30-2016, 06:13 AM   #5
doubleshuffle
Unicycle Daredevil
doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.doubleshuffle ought to be getting tired of karma fortunes by now.
 
doubleshuffle's Avatar
 
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
Oh, I had overlooked the part where you said that the CSS specifies title case for headings. Then you will have to do what Kovid says.

EDIT: Question to the experts: Is there a valid reason for defining a case for headings??

Last edited by doubleshuffle; 06-30-2016 at 06:16 AM.
doubleshuffle is offline   Reply With Quote
Advert
Old 06-30-2016, 06:24 AM   #6
navyo
Junior Member
navyo began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2016
Device: iPad
Thanks Kovid! That worked. Great program.
One more question: How do I get the thumbnail cover to appear in my Kindle App?
navyo is offline   Reply With Quote
Reply

Tags
chapter titles, css, epub, roman numerals


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
regex-function convert roman numerals weberr Editor 11 09-22-2021 05:15 PM
Chapter detection for roman numerals?? g25 Conversion 6 09-08-2015 10:28 AM
Roman Numerals for series and on book jacket Arbait Library Management 31 05-17-2015 01:16 AM
Convert Roman numerals to Arabic? Peter W Sigil 2 04-09-2012 11:55 AM
regex search for roman numerals Blurr Calibre 2 12-16-2009 05:55 PM


All times are GMT -4. The time now is 06:19 PM.


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