View Single Post
Old 10-30-2023, 03:36 PM   #7
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
It Never did this automatically.
Once you have a CSS, you must use select the files that you want to link to a EXISTING stylesheet: right click on one of the selected: Link stylesheetS
I don't agree with that.
When creating a new xhtml file within the epub, the header and the stylesheet link are always created with the page. Never have I had to Link Stylesheets from the context menu for a newly created page.

Quote:
Originally Posted by jiembe View Post
Calibre 5.44

Suddenly this morning the editor stop adding css files in the header when creating a new file.
And in <title><title> the apostrophe is change to &apos;
Worth checking the following. In the Editor, go to Edit>Preferences>Editor Settings. On that page...
1. "Replace HTML entities as they are typed" is enabled
2. Click on "Change templates" and ensure the head tags are like this...
<head>
<title>{TITLE}</title>
</head>
Karellen is offline   Reply With Quote