Line spacing in TOC eBook

This forum is for all Flare issues related to styles, stylesheets and XML.

Line spacing in TOC eBook

Postby Isleofgough on Sun Apr 07, 2019 11:22 am

I know it must be simple, but I cannot find the setting in the CSS that controls line spacing or space above, space below in a generated TOC set for eBook target. All settings for TOC are set to zero space above and below, yet it generates like this:
TOCspacingFlare.jpg
You do not have the required permissions to view the files attached to this post.
Isleofgough
Propeller Head
 
Posts: 76
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA

Re: Line spacing in TOC eBook

Postby SKamprowski on Tue Apr 09, 2019 1:15 am

Hi,

be aware that this might depend on your epub Reader.
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
SKamprowski
Sr. Propeller Head
 
Posts: 262
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Line spacing in TOC eBook

Postby Isleofgough on Tue Apr 09, 2019 2:31 pm

You may be right about display being controlled by iBooks, Kindle, etc. From looking at it in Sigil, it looks like the TOC is literally a table. I just need to find out where that table style definition is located.
Isleofgough
Propeller Head
 
Posts: 76
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA

Re: Line spacing in TOC eBook

Postby Isleofgough on Wed Apr 10, 2019 9:00 am

I got a reply back from tech support that helps create a much better ebook TOC:

to adjust all the line spacing in your ePub output TOC you must find the "MadCap|tocProxy" class in the "styles.css" stylesheet and add the property "line-height:10px"
Isleofgough
Propeller Head
 
Posts: 76
Joined: Sat Dec 08, 2012 9:05 am
Location: Seattle WA


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 12 guests

cron