Quote:
Originally Posted by p3aul
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
(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
(3) in Text Input I checked "Use Markdown"
|
I selected this too.
Quote:
Originally Posted by p3aul
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.