Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2012, 02:35 AM   #31
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by mmat1 View Post
Give it a try
Sorry, still haven't tried. Will do so tonight. Promise.
Toxaris is offline   Reply With Quote
Old 12-07-2012, 07:48 AM   #32
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
Quote:
Originally Posted by Toxaris View Post
I could, but I won't. I import the whole book into Sigil and I find it easier to work with as a whole. Splitting in chapters is one of my last steps actually.
no problem... It's the same.

And what about your last improvements?
Start is offline   Reply With Quote
 
Enthusiast
Old 12-07-2012, 08:52 AM   #33
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
They are mainly small ones. I actually have to see which version is here to be certain. I made some changes so it should also work on a Mac (not tested!) and with other regional settings. I know the last one sounds strange, but believe me in the fact that it matters.
Toxaris is offline   Reply With Quote
Old 12-07-2012, 12:44 PM   #34
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
New version on in the first post. Some minor changes and fixes. Centered text will be converted correctly.

@mmat1, your issue has been resolved. Thank you!
Toxaris is offline   Reply With Quote
Old 12-13-2012, 08:49 AM   #35
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
Thank you very much! Just downloaded your last version.

Only one question. Are you interested in cleaning more your text before becoming a good HTML file? I'm thinking of "a double space" problem and similar one. What do you think about? May I write here some suggestions, if you are interested?
Start is offline   Reply With Quote
Old 12-13-2012, 09:22 AM   #36
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Suggestions are always welcome. You can also mention certain HTML entities you want to be transformed to their entity name. Sometimes that works better.
I am not aware of a double space problem. Double spaces are ignored by HTML and will be cleaned automatically upon importing into Sigil. Unless you mean something else of course.
Toxaris is offline   Reply With Quote
Old 12-13-2012, 04:23 PM   #37
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
Thank you, I have sundry difficulties in english so I can use "strange" words. If so, please forgive me. My "two spaces problem" is surely a known case but as I'm describing it, maybe, seems an unknown one.

I'll try to tell you more.

When I'm preparing a book of mine, well, I'd like to save it in two formats. One in pdf, and the other in epub. 2 files from our docx file.

So I'd like to have a good cleaning text even in my Word file. In the mean time, if I transform in HTML a good text, it's possible to do lesser work than before...

The 2 spaces is only a no-required space before or after a "punctuation". The first example is when you have to close a sentence and you have a space before a point and a second space after that point. The first space is to be deleted.

I write here some examples about the space to be deleted:

Space before a point .
Space before a comma ,
Space before a semicolon ;
Space before the colon :
Space before the ellipsis (not always superfluous, mind you) ...
Space before the parenthesis (also applies to the square or curly) )
Space after the opening parenthesis (also applies to the square or curly) (
Space before a question mark ?
Space before an exclamation mark !
Space before the percent sign %
Space before guillemet closed '
Space after the quotes low open «

But I've seen another problem that it is present in a docx file. An example is when you write something in italics and your italics isn't finished at the end of a word but after a space or other puntuactions. So you can see in html, as follows:

<i>dfsfsf </i>dsdsad
<i>dfsfsf;</i> dsdsad
(<i>dfsfsf)</i> dsdsad

and so on. Not good, I think. There are all mistakes. The first with a space in italics, the second with puncuation in italics not required. An so on.

I'd like to know your opinion. I'd have other ideas but I'd like to know before your thoughts about what already said. I hope interesting.

Last edited by Start; 12-13-2012 at 04:29 PM. Reason: for a better english... maybe
Start is offline   Reply With Quote
Old 12-14-2012, 03:32 PM   #38
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Ok, I can see that you have issues with your punctuation. Resolving that is not always easy btw, since for some cases it is not a case of one s&r string fits all. I actually don't have these issues, since the HTML Export macro is actually my last step in Word. Before this I run several other macros. One prefix macro to solve a lot of standard issues with ABBYY exports. It fixes linebreaks and so on. Then I run a large S&R macro to fix a lot of formatting and OCR issues which can be changed rather dynamically. Then a macro to fix broken dialogues and at last one to check all accented words (typical OCR errors).
So, for me most of the errors you describe are solved. I haven't shared these macro's, since I am only co-author of these or just plain advisor.

Now, your issue with italics are a little different. Your first issue is solved by importing the HTML into Sigil. The second and third one are quite complex, there can be cases when this is correct. Also I feel that this actually should not be in this macro. This macro is to create clean HTML, not to solve formatting issues.

That being said, a macro could be written to solve these kind of issues. Whether I would have the time, that is another.
Toxaris is offline   Reply With Quote
Old 12-16-2012, 05:14 AM   #39
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
Another problem that I have is about the book mistakes: mistakes by the editors of the book. One is when they forget to close the « or " and so I have to check Always a book for correcting this problem, if exists because I can do this work and I can find out that all is right... :-O Also this can happen.

And yes there are different problems explained in my posts, it isn't only about the resulting html file. Thank you for you reply, very appreciated!
Start is offline   Reply With Quote
Old 12-16-2012, 07:34 AM   #40
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
That is a classic example of a missing dialogue quote. I have a macro for that, but I haven't made it available. It catches al instances, but in some books it doesn't work because of the style. For example for an extended dialogue on a new line starts with an opening quote without closing it on the line above. The macro does help, but cannot auto correct that.

This particular macro made me see just how much physical books mess up the quotes.
Toxaris is offline   Reply With Quote
Old 12-16-2012, 03:50 PM   #41
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
The real problem is that a Macro needs a Visual Basic knowledge...
Start is offline   Reply With Quote
Old 12-16-2012, 05:07 PM   #42
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
That is not a problem, if you have that knowledge... Basically a macro automates a lot of steps, but some are much more sophisticated than others. The dialogue macro needs an overhaul in my mind and perhaps I will publish it when finished.
Toxaris is offline   Reply With Quote
Old 12-17-2012, 05:30 PM   #43
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
When ready I'll be here
Start is offline   Reply With Quote
Old 12-19-2012, 09:09 AM   #44
Start
Enthusiast
Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.Start can program the VCR without an owner's manual.
 
Start's Avatar
 
Posts: 33
Karma: 197564
Join Date: Dec 2012
Location: Solar System, planet Earth
Device: Kobo Aura HD
Help! I don't know why but using your Macro I've find out a problem: all « or » become simple "



I can't have got a conversion like this one as in my old books the «» are for the direct saying and all "" are when you're thinking.

How can you avoid this automatic conversion in your macro? Is it possible to choose what you'd like to see or not?

If you need I can attach here (if I have this permission in this forum a single page doc for example).

Last edited by Start; 12-19-2012 at 09:49 AM. Reason: for better english
Start is offline   Reply With Quote
Old 12-19-2012, 12:23 PM   #45
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,956
Karma: 3363559
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Can you sent me an example file? It should not touch those characters at all.
Toxaris is offline   Reply With Quote
Reply

Tags
ebook tools

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Macro: Footnotes to inline text ? Hadrien Workshop 17 10-08-2011 01:28 PM
Word 2007 macro scoplar Workshop 1 05-21-2011 05:00 AM
Doc to REB Macro for Word kbirdz Fictionwise eBookwise 0 10-27-2010 10:30 PM
Word Formatting Macro (Stingo's Macro) Stingo Sony Reader 75 08-24-2010 05:18 AM
Docvert 2.0 converts MS Word files to clean HTML Alexander Turcic Lounge 0 03-16-2006 04:50 AM


All times are GMT -4. The time now is 10:21 AM.


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