View Single Post
Old 10-28-2020, 04:48 PM   #143
dcsj
Junior Member
dcsj began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle Paperwhite
Quote:
Originally Posted by DiapDealer View Post
I use a horizontal line in the Word doc where chapter breaks should occur.

Then in the style map I use the following:
Code:
p.HorizontalLine => hr.sigil_split_marker
to map it to an hr tag with the css class "sigil_split_marker". That's what Sigil uses to mark places where the Split at Markers feature should do its work.
I noticed that in your sample file. I tried it, but I think I must not have been inserting the horizontal line in a way that the converter recognized. However, I was able to insert a piece of text that I could search and replace with the hr split marker tag, so I got it to work that way.

My next question is this. I had several custom styles built, but the converter wouldn't recognize them. Here is one error result:
Message(type='warning', message='Did not understand this style mapping, so ignored it: p.Blockquote2=> blockquote2:fresh')
Blockquote2 is a style I created in Word, then also defined a style in the stylesheet called blockquote2.

I can't remember what the genius reason was for this variation on the normal Blockquote, but there must have been one! Anyway, I mention it just to get a better handle on what I am doing right and wrong with the importer. Thanks for your help!
dcsj is offline   Reply With Quote