View Single Post
Old 06-18-2024, 10:19 PM   #1
gamegal131
Junior Member
gamegal131 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2022
Device: Kindle Paper White
When Converting TXT To Epub "Part" is not recognized

Hi,

I am very confused. I can't figure out why when converting txt to epub my table of contents does not recognize when I want Part first over Chapters.

I am trying for:
Part 1
Chapter 1
Chapter 2

Part 2
Chapter 1
Chapter 2

I use
//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prol ogue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']

the default, I have tried changing it and I just mess it up worse.

Any help would be appreciated.
gamegal131 is offline   Reply With Quote