View Single Post
Old 11-28-2011, 11:19 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by mvparker79 View Post
I think my request is fairly simple, but I'm oblivious to xpath so I don't know what to do.

I'm using Calibre 0.8.23 and I'm trying to create the table of contents. It wants the xPath expression each of 3 levels. I have no idea what to put in there. I do know that in the table of contents I want 2 levels. I have each section of the cookbook (meats, poultry, etc) labeled as chapters (Chapter 1: Meats) (Chapter 2: Poultry). Then the name of each recipe is at the top of the following pages in bold. I would like the table of contents to read:

Chapter 1: Meats
Hamburgers
Tacos

Chapter 2: Poultry
Fried Chicken
Chicken Marsala

Can anyone tell me how to do this?
This is the recipe forum. Unfortunately, the term "recipe" used here means computer code that tells calibre how to create an ebook from a website. I've written several recipes (calibre-type) for websites that have recipes (food-type). You're in the wrong forum for food recipes.

I can move your post, but it's not clear if you are creating a book from scratch, or converting an existing book of food recipes.

If you are creating a book, you probably don't want to be in the calibre forums at all. If you are simply converting an ebook, you want to be in the calibre conversion forum, and that's where I'm going to move this thread for you to get more help.
Starson17 is offline   Reply With Quote