View Single Post
Old 01-25-2020, 06:47 AM   #3
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
strange. i have been using sigil for years, and stuff looks alphabetized ( except for the above). you are suggesting that happens in calibre, before I get to opening and editing in sigil?
my usual workflow ( initial epub-> epub convert ( to do various automated add/remove things) then a final tweak/edit in sigil.
one think i do regularly in sigi is remove unused CSS classes. I assumed that CSS stuff got tidied and sorted then?

i could ask again in calibre forum except that it against the rules to ask the same Q in 2 places.
i guess that the .pcalibre things are some subset of styles in that they apply tweaks to the main styles? because when calibre creates or renames styles they usually go .calibre1, .calibre2... and are filed under c.
e.g. there is often a "pcalibre" style that is only used for a dropcap. Its not obvious from the book code but a detailed inspect of .pcalibre class, once I find it , shows a :firstletter bit inside

so what happens is that I look in book view ( shock, horror, but old dogs can't learn new tricks), I see some hideous misplaced (post conversion) dropcap and go looking for the style that's putting it there..
in most books the offending style will still be called "dropcap",
but some books will have a structure like <p someclass pcalibre> first para of text </p>
where pcalibre is acting only on a single letter

the query got posted after staring at the styles page in sigil for ages and not finding pcalibre listed with the p... styles

I'd be happy for some empowered person to move the whole thread

Last edited by stumped; 01-25-2020 at 06:56 AM.
stumped is offline   Reply With Quote