07-28-2008, 10:16 AM | #1 | ||
Liseuse Lover
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
HTML2LRF question (Chapter processing)
Hi,
I have an arbitrary HTML file. Chapters are marked as follows: <font size="+3">Chapter 1</font> I want to add the chapters to a TOC. However, from the Calibre manual: Quote:
I'm hoping --chapter-attr will allow me to build an expression to detect chapters in this format, however, looking at the manual: Quote:
Any suggestions? |
||
07-28-2008, 11:17 AM | #2 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Code:
--chapter-attr 'font,size,\+3' |
Advert | |
|
07-28-2008, 12:06 PM | #3 |
Liseuse Lover
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
Works like a charm, thanks!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 06:35 AM |
Next Chapter skips to End in last chapter? | JoGoCo | Kobo Reader | 5 | 07-13-2010 09:23 PM |
K2 v K1: Chapter-to-chapter missing from some books? | Starhawk | Amazon Kindle | 4 | 03-10-2009 06:27 PM |
Exclude <div>s from processing in HTML2LRF | MTBSJC | Calibre | 1 | 02-13-2009 03:26 AM |
Perl processing | alexxxm | Sony Reader | 3 | 11-26-2007 06:13 AM |