Quote:
Originally Posted by BeccaPrice
copy/paste and edit and it works wonderfully. Thanks!
Now, is there a way to get the ncx to do that, or do I just live with a flat ToC for the ncx file?
|
Becca:
You can do this for the NCX via the use of headers, but not through named paragraph classes. Think of it this way: style names are just that--only names. A collection of letters or numbers or symbols that means something to you, but without your direct intervention by providing explicit CSS instructions to the ePUB reader, meaningless to the book.
A header class, however--not a style name for a header, but an actual h1 or h2 declaration--tells the document that this is
structural. Had Scrivenver used H1 and H2 classes for your desired in/outdents in the first place, this would be fairly auto-magically done for you. If you are remotely regex-y, you can likely replace all the chapter heads (do NOT FORGET to change the closing p tags to closing header tags!) to h2's for you.
Does that help?
Hitch