Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-29-2012, 05:32 PM   #1
bibahbuzemann
Addict
bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.
 
Posts: 217
Karma: 28060
Join Date: Jul 2011
Location: FRG
Device: PRS-T1
Calibre added CSS

I prefer ReallyNo.2 with the second size setting and left justified as opposed to whatever the T1 uses as "original". So I added this to the common options:
Code:
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: normal;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Regular.otf);
}
@font-face {
  font-family: serif;
  font-weight: normal;
  font-style: italic;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Italic.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: normal;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-Bold.otf);
}
@font-face {
  font-family: serif;
  font-weight: bold;
  font-style: italic;
  src: url(res:///ebook/fonts/ReallyNo2LTW1G-BoldItalic.otf);
}

body { 
margin-left: 0em;
margin-right: 0em;
font-size: medium;
font-family: serif;
text-align: left;
}
First I put back ALL the defaults in the common options and then used it on a book "The Inquisitor's Apprentice" which has alot of embedded fonts, like "kind's handwriting", "grownup's handwriting", "signs" and so forth.

It almost worked perfectly! The fonts and formating were all retained(except body) and no more false or nonexisting italics.

But now the chapter titles are irritatingly highlighted! I wonder what I did wrong?
bibahbuzemann is offline   Reply With Quote
Old 01-29-2012, 06:26 PM   #2
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,877
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Quote:
Originally Posted by bibahbuzemann View Post
But now the chapter titles are irritatingly highlighted! I wonder what I did wrong?
Could it be that your chapter titles are hyperlinks, which always seem to be highlighted on the T1?
jackie_w is offline   Reply With Quote
 
Advertisement
Old 01-29-2012, 07:31 PM   #3
bibahbuzemann
Addict
bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.bibahbuzemann solves Fermatís last theorem while doing the crossword.
 
Posts: 217
Karma: 28060
Join Date: Jul 2011
Location: FRG
Device: PRS-T1
Quote:
Originally Posted by jackie_w View Post
Could it be that your chapter titles are hyperlinks, which always seem to be highlighted on the T1?
Darnit! It appears you're right! Now that you've opened my blind eyes, I have found other books in my collection with that issue. With most of my books the TOC is highlighted but not the chapter titles.

I wonder if there is a way(using the common options of Calibre) to make the chapter-hyperlinks "one way". I don't need to tap a chapter title in the middle of a book to get back to the TOC and some ebooks have really fancy chapter titles that just look better unhighlighted.
bibahbuzemann is offline   Reply With Quote
Old 01-29-2012, 07:53 PM   #4
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,877
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Selective/partial removal of html anchor tags sounds a tall order for an automated process. There's always Calibre's Tweak epub option or Sigil if you want to remove them manually. A bit tedious, though.

Last edited by jackie_w; 01-29-2012 at 07:55 PM.
jackie_w is offline   Reply With Quote
Old 01-29-2012, 10:03 PM   #5
soseono
Connoisseur
soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.soseono can successfully navigate the Paris bus system.
 
soseono's Avatar
 
Posts: 62
Karma: 36180
Join Date: Dec 2011
Location: US East Coast
Device: Kobo Aura HD, Kindle 4, Sony PRS-T1 (formerly PRS-500 & 505), iPad Air
You can easily un-highlight with css, without removing the actual a tags. Try this:

a:link { text-decoration:none; background-color:transparent; }
a:visited { text-decoration:none; background-color:transparent; }
a:hover { text-decoration:none; background-color:transparent; }
a:active { text-decoration:none; background-color:transparent; }

ps. Also, adding "!important" to the above might help overriding whatever other css settings.
http://www.w3.org/TR/CSS2/cascade.html#important-rules

Last edited by soseono; 01-29-2012 at 10:08 PM.
soseono is offline   Reply With Quote
Old 08-10-2014, 05:48 PM   #6
ousia
Enthusiast
ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.
 
Posts: 28
Karma: 40680
Join Date: Aug 2012
Device: Sony PRS-T1
Quote:
Originally Posted by soseono View Post
You can easily un-highlight with css, without removing the actual a tags. Try this:

a:link { text-decoration:none; background-color:transparent; }
a:visited { text-decoration:none; background-color:transparent; }
a:hover { text-decoration:none; background-color:transparent; }
a:active { text-decoration:none; background-color:transparent; }

ps. Also, adding "!important" to the above might help overriding whatever other css settings.
http://www.w3.org/TR/CSS2/cascade.html#important-rules
soseono,

many thanks for your reply.

I know your reply is more than 30 months old, but I would like to ask you: did your recommendation work on your device?

Sorry, but I’m afraid I cannot get it working on my Sony PRS-T1.

Many thanks again.
ousia is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
any way to prevent calibre from making a copy of the book when added to its library? GoldThreader Calibre 28 04-04-2012 06:41 AM
calibre y css titanlov Calibre 1 12-27-2011 12:00 AM
Book in Calibre Series is not being added to collection in Sony PRS 300 Sean0 Devices 6 08-14-2011 01:57 PM
Cover pic added in Calibre don't show up on device martienne Devices 5 07-09-2011 01:10 PM


All times are GMT -4. The time now is 12:40 PM.


MobileRead.com is a privately owned, operated and funded community.