Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2022, 07:53 PM   #1
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 221034
Join Date: May 2021
Device: None
Calibre 6.1 Styles not Applying

Just recently downloaded Cablire 6.1 and started adding new files to a project. However, it's not respecting styles and applying them to new files. See attached screenshot.

Please help.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	styles.png
Views:	176
Size:	61.4 KB
ID:	195284  
Foozle is offline   Reply With Quote
Old 07-24-2022, 09:58 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
That means that the editor cannot find the stylesheet. It probably means that the new files are not in the same directory as the old files. Check the location and fix it. Or fix the path to the stylesheet.
davidfor is offline   Reply With Quote
Old 07-24-2022, 10:36 PM   #3
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 221034
Join Date: May 2021
Device: None
Quote:
Originally Posted by davidfor View Post
That means that the editor cannot find the stylesheet. It probably means that the new files are not in the same directory as the old files. Check the location and fix it. Or fix the path to the stylesheet.
Everything is exactly the same as before. I was on 5.x when I made the book. Then I downloaded 6.1. I just opened the book that I had everything already coded and just adding files to.

As you can see in the screenshot, the previous (Ch 59) style sheet link is BLUE which means it's there, in the proper location. When I added the new file (Ch 60) after downloading 6.1 is when it became broken.

So I'm guessing the code somewhere in 6.1 is broken, preventing it from accessing the style sheet. I'm just not sure how or where. I'm hoping Kovid can provide a solution if no one else can.

EDIT: D'oh! I feel like such a fool now! *kicks self* *facepalm* I did have it in the wrong location... My apologies.

Last edited by Foozle; 07-24-2022 at 10:47 PM. Reason: Found the error!
Foozle is offline   Reply With Quote
Old 07-24-2022, 10:48 PM   #4
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
Use the stylesheet command in the context menu of the file browser to attach the stylesheet.
Sarmat89 is online now   Reply With Quote
Old 07-24-2022, 10:57 PM   #5
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 221034
Join Date: May 2021
Device: None
It was already there. I just realized, after looking at it again, david was right. I just had the file in the wrong location. I looked at it before and thought it was right, but I wasn't looking at the right file. So it's fixed now. I was just being out of it there for a minute.
Foozle is offline   Reply With Quote
Reply

Tags
bug report


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 3 not applying GTK theme (Linux Mint) armaggedon51 Calibre 6 06-17-2017 10:53 AM
Styles in Sigil but none in calibre? neonbible Sigil 9 10-22-2014 02:01 PM
Calibre is renaming my styles AThirstyMind Conversion 5 03-01-2014 08:40 AM
Calibre and Sigil styles LGN Sigil 5 01-29-2011 02:17 AM
Applying Calibre recipes to a folder of pre-existing HTML files MattK Calibre 3 09-24-2008 01:15 PM


All times are GMT -4. The time now is 01:54 AM.


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