![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 475040
Join Date: Jul 2012
Location: Silicon Valley (Sunnyvale, CA)
Device: Lenovo Tab M10
|
![]()
I would like to have my chapters have a number and a title (Chapter 14 Devon Walks Away) which shows up in the TOC (hypertext and HTML) AND I would like to have these on two separate lines:
Chapter 14 Devon Walks Away Can I do it? How? I am a complete newbie to HTML and REGEX. I don't even know how to look this up. Thanks! Lori |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,671
Karma: 58985420
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
First part<br />second Part |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 475040
Join Date: Jul 2012
Location: Silicon Valley (Sunnyvale, CA)
Device: Lenovo Tab M10
|
Thanks again!. It's a lot easier to ask the experts. One of these days I _may_ learn this stuff, but right now I just want to read.
Lori |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,541
Karma: 19001081
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
And if you want some different formatting, like "Chapter 14" in italics, you could have something like:
Code:
<h2><span class="name">Chapter</span> <span class="number">14</span> <span class="title">Devon Walks Away</span></h2> |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,671
Karma: 58985420
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 856
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
Lori
You could also use <SHIFT>+<ENTER> in Book View to add a Manual Line Break so avoiding typing any HTML code. |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 475040
Join Date: Jul 2012
Location: Silicon Valley (Sunnyvale, CA)
Device: Lenovo Tab M10
|
![]()
Using <br /> is working fine, especially since the search function always shows the code page. I didn't think about trying Shift-Enter, so I might do that sometime.
IF I ever decide to learn more about coding, I'll keep the other suggestion in mine. It looks very elegant . . . and way too sophisticated for me. (Of course I have lived in Silicon Valley since before it WAS Silicon Valley and have never learned, but never say never.) |
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Line won't break automatically in iBooks | eriso | ePub | 9 | 01-23-2013 10:02 AM |
Correcting for a missing line break | Tango Mike | Sigil | 31 | 07-28-2012 06:30 AM |
how to insert break-line | schuster | Recipes | 1 | 05-24-2011 04:19 PM |
Yet another PDF line break question | heddhunter | Calibre | 7 | 01-18-2011 03:41 PM |
PDF 2 LRF, line break issue | ^_Pepe_^ | Calibre | 1 | 12-03-2009 07:43 AM |