View Single Post
Old 04-28-2015, 08:43 AM   #3
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Notjohn View Post
Seems to me it would be faster to glance up at Line 434 and find the opening tag than to fire up Calibre!.
Yes. IF I knew to look on line 434. Calibre tells me that. Sigil doesn't.

I simplified the example. Plenty of times when I'm cleaning up some awful converted file I've waste minutes searching up and down the file through a forest of redundant nested codes looking for one orphaned tag.

I'm sure Sigil knows where it is, I want it to tell me where the start tag is and not just that the end tag isn't in the file.


Quote:
Originally Posted by Notjohn View Post
I'm interested in the italics following the paragraph class. Does Sigil create a new class for such combinations, in your experience? It seems normal coding to me, but in my experience it gets overridden.
(revised)

Sigil editor doesn't change CSS by itself.
If you have HTMLTidy active, it probably would. That's why people who edit code themselves never use it.
(Edit/preferences/Clean Source -- Pretty print just makes cosmetic changes (white space) and is quite safe. The full on HTMLTidy rewrites your code.)

One of the first things I do when I get a file is convert any CSS italic, bold spans to <i> and <b> using Diap's Editing Toolbag https://www.mobileread.com/forums/sho...d.php?t=251365 (again in Calibre, sorry).

Last edited by AlanHK; 04-28-2015 at 09:27 AM.
AlanHK is offline   Reply With Quote