View Single Post
Old 09-10-2014, 10:36 AM   #135
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Toxaris View Post
Well, duh. But that cannot be automated. So, it seems it is not possible to check that type of style in an automated way.
Not everything can be automated. I for one would rather it wasn't, over automation is either hard to maintain or it does not deal adequately with the exceptions - some of which we haven't even thought of yet. Manual intervention to deal with exceptions introduces real intelligence.

Quote:
Originally Posted by Toxaris View Post
There was a small period I think the 70s or early 80s where this style was also used here, but not that much.
I'm confused, is the style as per the Editors Blog post I linked to yesterday, used in The Netherlands never, sometimes or always. You seem to have said all three in different places. Not that that matters.

As someone posted elsewhere pick up any quality book published in the English Speaking world and you will see the style I prefer, as per the Editors Blog, which is as per Cambridge and Chicago, maybe not the OUP, by definition they're all card carrying members of the Contrarian Society.

Quote:
Originally Posted by Toxaris View Post
I get the following HTML after the conversion:
Code:
<html><head>
<meta charset="utf-8">
</head>
<body>
<p><span class="scaps">THIS IS A TEST OF VERDANA IN SMALL CAPS</span></p>
<p><span class="scaps">&NBSP;</span></p>
<p><span class="scaps">&NBSP;</span></p>
<p><span class="scaps">THIS IS A TEST OF TIMES NEW ROMAN IN SMALL CAPS</span></p>
This is a Test of Small Caps - where did this come from, its not in the DOCX
</body>
</html>
Besides the &NBSP; (which is blatantly wrong of course and will be fixed), it is as expected. It is identified by spans with the smallcaps style set in the settings for HTML Export. Empty paragraphs are by default converted to <p>&nbsp;</p>. I opted to use this instead of <p></p>, since empty tags are sometimes ignored.
Mate, to be honest I don't care what the HTML looks like, its a means to an end. I only care about what the EPUB looks like in a viewer or on my Android Tablet and maybe in an Editor like Sigil or calibre's. As I already said, I am quite happy to forego the creation of EPUBs from my consideration because I already have an acceptable working solution for converting a DOCX to EPUB.

Quote:
Originally Posted by Toxaris View Post
What are the suggestions??? I don't see it, but that is probably me. I do see that not all the settings are entered consistently. For example, you have set to open the ePUB with the selected program, but no program is selected...
I forgot to save the edited screen shot here 'tis

BR
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	392
Size:	44.9 KB
ID:	128137  
BetterRed is offline   Reply With Quote