View Single Post
Old 04-01-2010, 11:13 PM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by p3aul View Post
Yes that's exactly what I wanted. Why can't it work for me? Here is the setting I used, as cut and pasted into this post.

(1) This under "Detect Structure: Detect Chapters at(xpath expression)
//*[((name()='h1' or name()='h2' or name()='h3') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']
All I did was add "or name()='h3' to the default line.
He didn't say to add something to the default. He gave you a new string. That is why I included an image so you could see what I used.

Quote:
Originally Posted by p3aul View Post
(2) In "Table of Contents" I just added //h3
I didn't put anything in the "Table of Contents" area. I left it blank. Kovid said to do one thing, so that's what I did.

I thought I saw you say you didn't want pagebreaks so I did change that to none (see previous image).

Quote:
Originally Posted by p3aul View Post
(3) in Text Input I checked "Use Markdown"
I selected this too.

Quote:
Originally Posted by p3aul View Post
Isn't this the same as you and Kovid said was what to do?
No, but I hope you understand now.

I'm glad this solution does what you want.

Last edited by DoctorOhh; 04-01-2010 at 11:15 PM.
DoctorOhh is offline   Reply With Quote