View Single Post
Old 02-12-2023, 12:53 PM   #5
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by Karellen View Post
Its probably easier to just remove the underline from the stylesheet.css

Check if there is any css code for a. It will most likely be using text-decoration: underline;. Just delete that line.

If you're not sure, post the entire css file so we can check.
@Karellen, thank you for your reply.

It appears the unwanted code is the result of the unpacked epub=>epub conversion. I located only one instance of
text-decoration: underline; which pointed to the TOC entries. Another does indeed point to the problem but it is already correct, text-decoration: none;.

After searching MR archives going back to 2013, an unrelated post led me to this, which worked:

a {
text-decoration: none
}

The original KF8 was a disaster, with an individual css for each chapter with numerous blank pages in between. Below are css files from the converted epub and KF8 if you are interested. I still do not understand why the existing code in .calibre42 (:none) was not honored. (.calibre29 is the TOC)

Converted epub: (I added the a entry)
Spoiler:
Code:
.calibre {
  display: block;
  font-size: 1em;
  orphans: 1;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
  widows: 1;
  margin: 0 5pt;
}

a { 
  text-decoration:none 
  }

.calibre1 {
  display: block;
}
.calibre2 {
  font-size:1.5em;
  display: block;
  text-align: center;
  margin: 3.5em 0% 0%;
}
.calibre3 {
  font-size: 1em;
}
.calibre4 {
  display: block;
  text-align: center;
  text-indent: 1.2em;
  margin: 0%;
}
.calibre5 {
  font-size: 0.90em;
  font-style: italic;
}
.calibre6 {
  display: block;
  text-align: center;
  margin: 0% 0% 0.93%;
}
.calibre7 {
  -aw-left-pos: 0;
  -aw-rel-hpos: column;
  -aw-rel-vpos: paragraph;
  -aw-top-pos: 0;
  -aw-wrap-type: inline;
  height: auto;
  width: 55.26%;
}
.calibre8 {
  display: block;
  margin: 0%;
}
.calibre9 {
  font-size: 2em;
}
.calibre10 {
  -aw-left-pos: 0;
  -aw-rel-hpos: column;
  -aw-rel-vpos: paragraph;
  -aw-top-pos: 0;
  -aw-wrap-type: inline;
  height: auto;
  width: 52.85%;
}
.calibre11 {
  -aw-left-pos: 0;
  -aw-rel-hpos: column;
  -aw-rel-vpos: paragraph;
  -aw-top-pos: 0;
  -aw-wrap-type: inline;
  height: auto;
  width: 52.63%;
}
.calibre12 {
  font-size: 1.125em;
}
.calibre13 {
  display: block;
  text-align: justify;
  margin: 0%;
}
.calibre14 {
  display: block;
  text-align: center;
  margin: 3em 0% 0%;
}
.calibre15 {
  display: block;
  text-align: center;
  margin: 0%;
}
.calibre16 {
  -aw-bookmark-end: OLE_LINK34;
}
.calibre17 {
  -aw-bookmark-end: OLE_LINK35;
}
.calibre18 {
  -aw-bookmark-end: OLE_LINK3;
}
.calibre19 {
  -aw-bookmark-end: OLE_LINK4;
}
.calibre20 {
  font-size: 1em;
  font-style: italic;
}
.calibre21 {
  display: block;
  text-align: center;
  text-indent: 3em;
  margin: 0%;
}
.calibre22 {
  display: block;
  margin: 10% 5% 1.85%;
}
.calibre23 {
  display: block;
  margin: 0% 5% 1.85%;
}
.calibre24 {
  display: block;
  margin: 0% 0% 1.85%;
}
.calibre25 {
  display: block;
  orphans: 1;
  text-align: center;
  widows: 1;
  margin: 15% 0%;
}
.calibre26 {
  font-size: 1.2em;
  text-transform: uppercase;
}
.calibre27 {
  display: block;
  margin: 5.33% 0% 0%;
}
.calibre28 {
  font-size: 1em;
  text-transform: none;
}
.calibre29 {
  color: #00f;
  font-size: 1em;
  text-decoration: underline;
  text-transform: none;
}
.calibre30 {
  display: block;
  margin: 3.33% 0% 0%;
}
.calibre31 {
  display: block;
  font-size: 1em;
  line-height: 200%;
  margin: 0%;
}
.calibre32 {
  display: block;
  font-size: 0.75em;
  line-height: 200%;
  margin: 0%;
}
.calibre33 {
  -aw-left-pos: 7.15pt;
  -aw-rel-hpos: column;
  -aw-rel-vpos: paragraph;
  -aw-top-pos: -128.25pt;
  -aw-wrap-type: inline;
  height: auto;
  width: 94.74%;
}
.calibre34 {
  display: block;
  font-size: 2em;
  line-height: 200%;
  text-align: center;
  margin: 0%;
}
.calibre35 {
  -aw-bookmark-end: OLE_LINK39;
}
.calibre36 {
  -aw-bookmark-end: OLE_LINK40;
}
.calibre37 {
  font-size: 1.83333em;
}
.calibre38 {
  font-size: 1.83333em;
  font-weight: normal;
}
.calibre39 {
  display: block;
  orphans: 0;
  text-align: center;
  widows: 0;
  margin: 0%;
}
.calibre40 {
  -aw-bookmark-end: _Toc118652794;
}
.calibre41 {
  font-size: 1em;
}
.calibre42 {
  text-decoration: none;
  display: block;
  text-align: justify;
  text-indent: 1.2em;
  margin: 0%;
}
.calibre43 {
  display: block;
  text-align: justify;
  margin: 2.22% 10.53%;
}
.calibre44 {
  font-size: 0.58333em;
  vertical-align: super;
}
.calibre45 {
  display: block;
  text-align: justify;
  margin: 2.22% 10.53% 0%;
}
.calibre46 {
  display: block;
  text-align: justify;
  margin: 0% 10.53% 2.22%;
}
.calibre47 {
  -aw-bookmark-end: _Hlk119511595;
}
.calibre48 {
  font-size: 0.75em;
  font-weight: bold;
}
.calibre49 {
  display: block;
  text-align: justify;
  margin: 0% 10.53%;
}
.calibre50 {
  display: block;
  orphans: 1;
  text-align: justify;
  widows: 1;
  margin: 0%;
}
.calibre51 {
  -aw-bookmark-end: _Toc118652795;
}
.calibre52 {
  -aw-bookmark-end: _Hlk119512471;
}
.calibre53 {
  font-size: 1em;
  letter-spacing: 0.25rem;
}
.calibre54 {
  -aw-bookmark-end: _Hlk118902863;
}
.calibre55 {
  font-size: 1.83333em;
  text-transform: uppercase;
}
.calibre56 {
  -aw-bookmark-end: _Toc118652796;
}
.calibre57 {
  display: block;
  margin: 0% 10.53%;
}
.calibre58 {
  font-size: 1em;
  font-style: normal;
}
.calibre59 {
  -aw-bookmark-end: _Hlk119585165;
}
.calibre60 {
  -aw-bookmark-end: _Hlk119578315;
}
.calibre61 {
  -aw-bookmark-end: _Hlk119585587;
}
.calibre62 {
  -aw-bookmark-end: _Hlk119578292;
}
.calibre63 {
  -aw-bookmark-end: _Hlk119688432;
}
.calibre64 {
  clear: both;
  display: block;
  page-break-before: auto;
}
.calibre65 {
  -aw-bookmark-end: _Toc118652797;
}
.calibre66 {
  -aw-bookmark-end: _Hlk119425138;
}
.calibre67 {
  -aw-bookmark-end: _Toc118652798;
}
.calibre68 {
  -aw-bookmark-end: _Hlk119437895;
}
.calibre69 {
  -aw-bookmark-end: _Hlk119759659;
}
.calibre70 {
  -aw-bookmark-end: _Hlk119767209;
}
.calibre71 {
  -aw-bookmark-end: _Toc118652799;
}
.calibre72 {
  display: block;
  font-size: 1em;
  line-height: 200%;
  text-align: center;
  text-indent: 3em;
  margin: 0%;
}
.calibre73 {
  -aw-bookmark-end: _Toc118652800;
}
.calibre74 {
  -aw-bookmark-end: _Hlk119941434;
}
.calibre75 {
  -aw-bookmark-end: _Toc118652801;
}
.calibre76 {
  -aw-bookmark-end: _Hlk120029643;
}
.calibre77 {
  -aw-bookmark-end: _Hlk120029679;
}
.calibre78 {
  display: block;
  text-align: justify;
  margin: 2.22% 10.53% 0% 0%;
}
.calibre79 {
  -aw-bookmark-end: _Toc118652802;
}
.calibre80 {
  -aw-bookmark-end: _Hlk120051827;
}
.calibre81 {
  display: none;
  text-indent: 0;
  width: 36pt;
}
.calibre82 {
  -aw-bookmark-end: _Toc118652803;
}
.calibre83 {
  -aw-bookmark-end: _Hlk117344536;
}
.calibre84 {
  background-color: #ff0;
  font-size: 1em;
}
.calibre85 {
  -aw-bookmark-end: _Hlk120124713;
}
.calibre86 {
  -aw-bookmark-end: _Toc118652804;
}
.calibre87 {
  -aw-bookmark-end: _Toc118652805;
}
.calibre88 {
  -aw-bookmark-end: _Hlk120359404;
}
.calibre89 {
  -aw-bookmark-end: _Toc118652806;
}
.calibre90 {
  -aw-bookmark-end: _Toc118652807;
}
.calibre91 {
  -aw-bookmark-end: _Hlk120458190;
}
.calibre92 {
  -aw-bookmark-end: _Toc118652808;
}
.calibre93 {
  display: block;
  font-size: 1em;
  line-height: 200%;
  text-align: center;
  margin: 0%;
}
.calibre94 {
  display: block;
  text-align: justify;
  text-indent: -1.5em;
  margin: 0% 0% 0% 9.47%;
}
.calibre95 {
  font-size: 0.58333em;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: normal;
}
.calibre96 {
  -aw-bookmark-end: _Toc118652809;
}
.calibre97 {
  -aw-footnote-numberstyle: 2;
  -aw-footnote-startnumber: 1;
  -aw-footnote-type: 1;
  color: gray;
  display: block;
  height: 1px;
  text-align: left;
  width: 33%;
  margin: 0.5em auto;
  border: currentColor inset 1px;
}
.calibre98 {
  -aw-footnote-isauto: 1;
  display: block;
}


Original KF8:
Spoiler:
Code:
			@page Section1 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section1 { page:Section1 }
			@page Section2 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section2 { page:Section2 }
			@page Section3 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section3 { page:Section3 }
			@page Section4 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section4 { page:Section4 }
			@page Section5 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section5 { page:Section5 }
			@page Section6 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section6 { page:Section6 }
			@page Section7 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section7 { page:Section7 }
			@page Section8 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section8 { page:Section8 }
			@page Section9 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section9 { page:Section9 }
			@page Section10 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section10 { page:Section10 }
			@page Section11 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section11 { page:Section11 }
			@page Section12 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section12 { page:Section12 }
			@page Section13 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section13 { page:Section13 }
			@page Section14 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section14 { page:Section14 }
			@page Section15 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section15 { page:Section15 }
			@page Section16 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section16 { page:Section16 }
			@page Section17 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section17 { page:Section17 }
			@page Section18 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section18 { page:Section18 }
			@page Section19 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section19 { page:Section19 }
			@page Section20 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section20 { page:Section20 }
			@page Section21 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section21 { page:Section21 }
			@page Section22 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section22 { page:Section22 }
			@page Section23 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section23 { page:Section23 }
			@page Section24 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section24 { page:Section24 }
			@page Section25 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section25 { page:Section25 }
			@page Section26 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section26 { page:Section26 }
			@page Section27 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section27 { page:Section27 }
			@page Section28 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section28 { page:Section28 }
			@page Section29 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section29 { page:Section29 }
			@page Section30 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section30 { page:Section30 }
			@page Section31 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section31 { page:Section31 }
			@page Section32 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section32 { page:Section32 }
			@page Section33 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section33 { page:Section33 }
			@page Section34 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section34 { page:Section34 }
			@page Section35 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section35 { page:Section35 }
			@page Section36 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section36 { page:Section36 }
			@page Section37 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section37 { page:Section37 }
			@page Section38 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section38 { page:Section38 }
			@page Section39 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section39 { page:Section39 }
			@page Section40 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section40 { page:Section40 }
			@page Section41 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section41 { page:Section41 }
			@page Section42 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section42 { page:Section42 }
			@page Section43 { size:432pt 648pt; margin:54pt 36pt 54pt 54pt }
			div.Section43 { page:Section43 }


Thank you.
Skydog is offline   Reply With Quote